SITE CRASHED on update_option.
-
When performing a basic WP core action ( update_option() ) one of the option_keys began with em_.
There is apparently something in the latest version of EM free that interferers:
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /Users/Patrick/Sites/Development/wp-content/plugins/events-manager/classes/em-options.php:22 Stack trace: #0 /Users/Patrick/Sites/Development/wp-content/plugins/events-manager/admin/em-options.php(328): EM_Options::get('updates') #1 /Users/Patrick/Sites/Development/wp-includes/class-wp-hook.php(288): em_options_save('') #2 /Users/Patrick/Sites/Development/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #3 /Users/Patrick/Sites/Development/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /Users/Patrick/Sites/Development/wp-admin/admin.php(170): do_action('admin_init') #5 /Users/Patrick/Sites/Development/wp-admin/edit.php(10): require_once('/Users/Patrick/...') #6 {main} thrown in /Users/Patrick/Sites/Development/wp-content/plugins/events-manager/classes/em-options.php on line 22
It crashes the whole website as this is a fatal error! Only when I comment out line 339 of em-options.php the site runs again. But as soon as I uncomment it, it crashed again.
Even restarting the server itself does not solve this!
- The topic ‘SITE CRASHED on update_option.’ is closed to new replies.