Critical error with hummingbird
-
Hi,
I’ve installed Hummingbird free recently on 2 websites. I started a free trial today and tried hummingbird pro on one of those website to see if the Pro version improved things, second website wasn’t changed.
After seeing the Pro version didn’t make that much of a difference, I reverted the website to the free version (other website still isn’t touched) and cancelled the trial. But now I have an issue with the website I haven’t touched : Hummingbird is crashing the site (displaying a critical error on the frontend), I can’t deactivate or access the plugin settings (same critical error is shown), I deleted it from FTP and all goes back to normal.
I tried reinstalling it from wordpress, it’s displaying the same error. Tried reinstalling it from The Hub, same problem. Tried disconnecting the website and reconnecting it to the hub (reverting everything back), doesn’t work either.
How can I fix this ? I had good result with Hummingbird free and do not wish to reinstall the previous solution, but if there is no way to fix it I won’t have a choice ??
Best
The page I need help with: [log in to see the link]
-
Hi @mickvulpes
Sorry for the inconvenience.
We’d recommend to enable the WordPress debugging to gather more information about this error. Please add these lines in your wp-config.php file:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
The code should e added before this other line:
/* That's all, stop editing! Happy blogging. */
This block of code will create a debug file in this location: /wp-content/debug.log. Try submitting the form again and check if any new entries are added in the logs and share them in this thread so we can provide additional assistance.
Find more info in the WordPress documentation:
Hope this information helps.
Kind regards
Luis
Hi
Thanks for the prompt reply !
I added the code right now and did a test, here are the debug.log contents created by Hummingbird (I re-installed it for the occasion) :
[02-Aug-2023 06:36:03 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:03 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:36:03 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:36:03 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:36:03 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:36:05 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:12 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:36:12 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:36:12 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:36:12 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:36:14 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:36:14 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:36:33 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:36:33 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:36:33 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:36:33 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:36:35 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:35 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:36:35 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:36:44 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:44 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:36:44 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:36:44 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:36:44 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:36:46 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:51 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:36:51 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:36:51 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:36:51 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:36:51 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:36:52 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:37:20 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:37:20 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:37:20 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:37:20 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:37:22 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:37:22 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:37:22 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:37:25 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:37:25 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:37:25 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:37:25 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:37:27 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:37:28 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:37:28 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:37:30 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:37:30 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:37:30 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:37:30 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:37:31 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:37:31 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:37:36 UTC] PHP Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 133
[02-Aug-2023 06:37:36 UTC] PHP Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 98
[02-Aug-2023 06:37:36 UTC] PHP Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 79
[02-Aug-2023 06:37:36 UTC] PHP Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/capability-manager-enhanced/vendor/pimple/pimple/src/Pimple/Container.php on line 143
[02-Aug-2023 06:37:38 UTC] PHP Deprecated: Optional parameter $ad_count declared before required parameter $group is implicitly treated as a required parameter in /homepages/28/d835523963/htdocs/ACS/wp-content/plugins/advanced-ads-slider/public/public.php on line 93
[02-Aug-2023 06:37:38 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 7053
[02-Aug-2023 06:37:38 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/28/d835523963/htdocs/ACS/wp-includes/functions.php on line 2165
[02-Aug-2023 06:37:39 UTC] PHP Fatal error: Out of memory (allocated 635437056) (tried to allocate 421888 bytes) in /homepages/28/d835523963/htdocs/ACS/wp-includes/class-wpdb.php on line 2397The server is set with PHP 8.1. I don’t know how to fix this to be honest, there are lots of errors…
Best
Mickael
Hi @mickvulpes
Thanks for sharing the log!
There’s a long list of deprecation notices but those can be ignored for now, as they are not causing any issues (they are just notices – mainly for code developers to inform that some changes to the code are suggested in foreseeable future).
The last line, however, is the one that confirms the issue and happens when site goes down:
[02-Aug-2023 06:37:39 UTC] PHP Fatal error: Out of memory (allocated 635437056) (tried to allocate 421888 bytes) in /homepages/28/d835523963/htdocs/ACS/wp-includes/class-wpdb.php on line 2397
It doesn’t point to anything specific so still doesn’t exactly explain the issue but at least what it does tell is that at some point site tries to use more RAM memory that it has available on the server. And that it happens at the moment when some DB query is performed.
Even though it points to one of core files, it doesn’t actually mean that this file is causing it but it does suggest, so to say, data issues.
This may be either due to some other plugin interfering or there happened some kind of “mess” of the data in DB. There is a slight chance also that it really is a simple resource issue where due to site complexity server is not able to fully handle it – but I doubt that.
—-
That being said, I understand that if you manually remove Hummingbird, the issue is gone and site is not affected – site works fine, right?
Would you be able to access the DB (e.g. using phpMyAdmin) and check something? Specifically, try running this SQL command there (in phpMyAdmin there’s an option to do that, you simply need to paste the query and hit “go”):
SELECT COUNT(ID) FROM wp_posts WHERE post_type = 'wphb_minify_group'
Note: You need to make sure what’s the actual table name – if it’s “wp_posts” or there’s some other prefix instead of “wp_” and update it in above command accordingly.
The query does not modify DB in any way (but just to stay on the safe side, I would recommend taking backup anyway first), it only is there to find and count certain type of records. So if you are able to run it, let us know what result (number) it returns, please.
Kind regards,
AdamHi
Yes when removing Hummingbird everything is fine !
Here is the result on phpMyAdmin :
COUNT(ID) 659
Best
Hi @mickvulpes,
Thanks for sharing the info, could you please try this snippet and then check whether you are able to replicate the same issue with Hummingbird enabled?
<?php add_action( 'plugins_loaded', function() { if ( ! defined( 'WPHB_VERSION' ) ) { return; // Hummingbird is not installed/enabled. } add_action( 'pre_get_posts', function( $query ) { if ( ! empty( $query->query['post_type'] ) && 'wphb_minify_group' === $query->query['post_type'] ) { if ( -1 === $query->query['posts_per_page'] ) { $query->query['posts_per_page'] = 10; $query->query_vars['posts_per_page'] = 10; } } }); });
You can apply the above code as a mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-pluginsIf you still have issues even after that then please do let us know the server configuration, by going to the “Tools > Site Health” page, switching to the “Info” tab and clicking on the “Copy site info to clipboard” button there. Then post it in your response here (make sure to mark it as “code” for better readability).
Please do let us know how that goes.
Kind Regards,
Nithin
Hi,
Sorry for the late reply.
I did what you asked with the mu-plugin and it seems to fix the problem : is there any steps I need to take after this or is it done and fixed ?
Best
Mickael
Hi @mickvulpes,
I hope you are doing well today!
The issue has been fixed since you can not replicate it anymore and there are no more steps that you need to take.
We are also marking this topic as resolved accordingly.
Please let us know in case the issue persists again and provide us the Site Health details this time as suggested.Kind regards,
Zafer
- The topic ‘Critical error with hummingbird’ is closed to new replies.