PHP Error Log filled due problem with max_allowed_packet
-
Below an example of an ‘endless’ PHP Error Log File (Size 2TB!!!). It is partially german, but I think it is clear that update in table option creates an endless and rapidly growing (over 50MB/Min.!!!) PHP Error Log due to “Got a packet bigger than ‘max_allowed_packet’ bytes” problem.
Any idea how to stop it beyond disabling or limiting PHP Error Log?
Version info:
WordPress Version: 4.9.8.
PHP Version: 7.2
MySQL Version: 5.5
Remove Google Fonts References Version: 2.6PHP Error Log Example:
WordPress-Datenbank-Fehler Got a packet bigger than ‘max_allowed_packet’ bytes für Abfrage UPDATE
options
SEToption_value
= ‘a:1:{s:8:\”cssfiles\”;a:205593:{s:32:\”049132cbcacf2d29f59d249d54db9907\”;s:0:\”\”;s:32:\”1753fc3953581ec4b18451c9db3295d1\”;s:0:\”\”;s:32:\”fa9622fceafe1ae91337cba630a1baa5\”;s:0:\”\”;s:32:\”162d99ee16d436403d06f9646e3e2298\”;s:0:\”\”;s:32:\”594e28b9808515abc357cdd767c1ab62\”;s:0:\”\”;s:32:\”3aece2109887a206e870c04e723bed85\”;s:0:\”\”;s:32:\”3da63798cb30f5aa6b780951e1481938\”;s:0:\”\”;s:32:\”004346d7a869403787ae004f4fd0cedf\”;s:0:\”\”;s:32:\”e187884a7444cbad528bef53ec840be6\”;s:0:\”\”;s:32:
.
.
.
WHEREoption_name
= ‘remove_google_fonts_configs’ von shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, remove_google_fonts_obend, remove_google_fonts_filter, preg_replace_callback, remove_google_fonts_css_file_handler, update_option, QM_DB->query
PHP Warning: Error while sending QUERY packet. PID=25757 in /homepages/10/d33843394/htdocs/www/wp-includes/wp-db.php on line 1924
.
.
.
- The topic ‘PHP Error Log filled due problem with max_allowed_packet’ is closed to new replies.