I found a problem was in functions.php on line 5797, after adding this code that problem with gzip was solved (but read below):
`remove_action( ‘shutdown’, ‘wp_ob_end_flush_all’, 1 );
add_action( ‘shutdown’, function() {
while ( @ob_end_flush() );
} );`
— But the other problem were continued, I have a script that runs to import products into woo wp db it has many products inside, and everything works normally, but after cache enabler implemented and this code added I suddenly got in few hours database crashed and I repaired the db, deactivated the plugin and removed this code.
Please can you tell me what is the reason why this problems appears and these messages for broken tables, is it because of cache things of plugins, or because of this piece of code that resolves gzip problem.
This was the error that I got with database problems after that:
mysql errors:
52 clients are using or haven’t closed the table properly
Table ‘—wpx5_options’ is marked as crashed and should be repaired
“Found 1149921 keys of 114948”
php errors:
WARNING: [pool www] child 2329803 exited on signal 15 (SIGTERM) after 800.049455 seconds from start
[14-Dec-2022 09:23:48] NOTICE: [pool www] child 2331491 started
ETC…