Hello @roshanzaid
Is this happening before actually enabling any of Hummingbird modules like Caches or Asset Optimization? Please advise!
when it comes to Hummingbird it says the site is having a critical error
Enabling WP_DEBUG can help you indicate what might goes wrong there.
How to:
Access your server via (S)FTP, edit wp-config.php file, find a line like define('WP_DEBUG', false); and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That’s all, stop editing! Happy blogging. */ comment)
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
@ini_set( 'log_errors', 1 );
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
Then go ahead and try to replicate the error, meaning that you should activate Hummingbird again and replicate the critical error message.
By doing so, a /wp-content/debug.log file should be created with more information. If that’s not clear to you, simply download it, use a service like Dropbox and post the shareable link here with us.
Thank you,
Dimitris
Hi,
This time I wanted to debug and test and the result was
Fatal error: Out of memory (allocated 1656750080) (tried to allocate 1069056 bytes) in /home/cpnaelUsername/site.com/wp-includes/wp-db.php on line 2022
Tried to access the debugged file. it was 2.48 GB and doesn’t open at all.
Regards,
Zaid
-
This reply was modified 5 years, 2 months ago by
Roshan Zaid.
Hi @roshanzaid,
Probably the debug.log file has old data in it.
Can you please rename the current debug.log file and try to replicate the error again. This will make sure a new debug.log file is created and it should be small size. Please send us the new file as mentioned in the previous response so that we can check this issue further.
Looking forward to hearing back from you.
Kind Regards,
Nebu John
okay here’s the thing. I renamed the debug.log file and it all seemed to work. and the latest debug.log error is
[28-Mar-2021 06:49:10 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/bleh/site.com/wp-includes/functions.php on line 4757
but the site is working fine with hummingbird activated. what might be the issue?
-
This reply was modified 5 years, 2 months ago by
Roshan Zaid.
Hi @roshanzaid,
Thanks for sharing the log entry. Where there any other recent entries on the log file as well? If you could upload this file to a drive and share the link with us, so that we can check this.
Please also confirm as when you said “the site is working fine with hummingbird activated”, does this mean you are no longer seeing a critical issue, or what is the specific issue you are seeing?
In regard to the entry notice from log you shared, try the following:
1. Resetting Hummingbird settings
2. Reinstalling Hummingbird
3. ob_end_flush() may be caused by an enabled php zlib compression setting. Please check with your hosting provider to check how this can be turned off
Best,
Jonathan S
Hi @roshanzaid
I hope you are doing well and safe!
We haven’t heard from you in a while, I’ll mark this thread as resolved.
Feel free to let us know if you have any additional question or problem.
Best Regards
Patrick Freitas