My website is offline and I can’t get it back. I get this error in the log files. I’m running PHP 7. How to solve
site/wp-includes/wp-db.php on line 1924\nPHP message: WordPress database error Commands out of sync; you can’t run this command now bij query SELECT option_value FROM wp_options WHERE option_name = ‘ee_pers_admin_notices’ LIMIT 1 gemaakt door shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, EventEspresso\\core\\services\\notifications\\PersistentAdminNoticeManager->registerAndSaveNotices, EventEspresso\\core\\services\\notifications\\PersistentAdminNoticeManager->getPersistentAdminNoticeCollection, EventEspresso\\core\\services\\notifications\\PersistentAdminNoticeManager->retrieveStoredNotices, get_option\n’
[Wed Jan 31 14:16:57.674959 2018] [error] [pid 3484] mod_proxy_fcgi.c(848): [client 162.158.234.21:30619] AH01071: Got error ‘PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /data/sites/web/www/site/wp-includes/taxonomy.php on line 211\n’
We had an execution time of 300, so this was not the fix. The fix is that your database tables/queries are to slow if the site has a lot of visitors. We fixed it by doing this:
alter table wp_esp_line_item add index(LIN_parent);
You could have avoided having to add the indexes yourself if you had updated to the current version of Event Espresso. You’ll note that in the last update that and other indexes were added to the esp_line_item table:
The support post ‘Website offline because of PHP fatal error EE’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.