Fatal error inside plugin
-
We have discovered a fatal error inside your plugin: Kritieke Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in wp-content/plugins/mage-eventpress/inc/MPWEM_Event_List.php:59
We now have simple fix this with this code inside the MPWEM_Event_list.php on rule 60. Can you add this to the next release please.
$event_list_setting_sec=MPWEM_Global_Function::data_sanitize( get_option( ‘event_list_setting_sec’ ) );
// Force array (PHP8-safe) if ( ! is_array( $event_list_setting_sec ) ) { $event_list_setting_sec = []; }
You must be logged in to reply to this topic.