All of a sudden without any update to the plugin, we started seeing very large log files mainly caused by many of the following entries. The entries are almost 4000 characters in length, I can’t post the whole entry, here is the beginning and end of an example entry with <snip> where the remainder of the repeated info:
[09-Oct-2017 02:38:46 UTC] WordPress database error Got a packet bigger than ‘max_allowed_packet’ bytes for query UPDATE wp_options SET option_value = ‘a:9:{i:21;a:13254:{i:0;s:12:\”SC_EVENTS-21\”;<snip>i:12;s:14:\”SC_TXN_PAGE-47\”;i:13;s:14:\”SC_TXN_PAGE-47\”;}}’ WHERE option_name = ‘ee_post_cache’ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/bsd-theme/page-eventlist.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, EventEspresso\core\services\shortcodes\EspressoShortcode->processShortcodeCallback, EventEspresso\core\services\shortcodes\EspressoShortcode->shortcodeContent, EventEspresso\core\services\cache\PostRelatedCacheManager->clearPostRelatedCacheOnUpdate, update_option
This is causing our PHP error logs to fill to large size, can you give an idea on how to stop these entries?
The developers of Event Espresso found the same errors yesterday and they’ve fixed the issue. The fix isn’t in the current release, but you can clone or download this branch to get the fix:
4.9.48.p is released and includes a fix to remove duplicate keys from that option.
Viewing 5 reply threads
The support post ‘Large error log entries’ 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.