500 – Allowed Memory Size of Bytes Exhausted
-
The latest plugin release, Version 1.9.16.3, is causing conflicts with other plugins and needs to be fixed.
The memory usage error is caused by the recurring call to the function in the loop. This is mainly caused byadd_filter( 'site_url', array( $this, 'site_url' ), 10, 4 );
Once the filter has been executed, please remove filter to avoid an 500 error “memory size has been exhausted” for logged out users.This plugin is incompatible with the BuddyBoss platform due to the issue I mentioned.
Thanks
-
What plugins/themes do you have?
Twenty Twenty-Four
Try last version ?
Else plugins active ?
- BuddyBoss Platform 2.6.30
- LiteSpeed Cache 6.0.0.1
- WPS Hide Login 1.9.16.3
I’ve just tried with the latest version you released, 1.9.16.5, and I’m still getting a memory error.
I see you added some logic for BuddyBoss Theme. However, the issue is with BuddyBoss Platform Plugin.
Probably a correct approach is to removeadd_filter( 'site_url', array( $this, 'site_url' ), 10, 4 );filter before calling$this->filter_wp_login_php( $url, $scheme );once thefilter_wp_login_phpis executed you can add it back again.
My understanding is that if the hook is not removed, it will keep calling until the memory is used up.
ThanksI’m getting the memory exhaust issue too when I have the plugin (v. 1.9.16.5) active and try to push updates of my production site to my staging site on Runcloud (server is on AWS). This is the error I’m getting:
https://app.screencast.com/p9rY80JazRH7ZWhen I deactivate it, I can sync the two with no issues.
I can also confirm there’s a conflict with Buddyboss (v. 2.6.30) because if I deactivate BB with WPS Hide Login active, the error doesn’t happen.There has been a critical error on this website.
I too have a Buddyboss / Buddyboss Platform problem
I am currently running WPS Hide Login on version 1.9.16.3
I created a staging site updated WordPress to 6.5.5 and updated WPS Hide Login to 1.19.16.5 and immediately got There has been a critical error on this website message.
I am with Kinsta hosting and this is a copy of the message from their Tech and the error they can see from their end. I have redacted my website to website ….Hope it assists you.
……………………………………….
So I am seeing this:
[24-Jun-2024 22:36:43 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/website._440/public/wp-content/themes/buddyboss-theme/inc/plugins/elementor/widgets/courses/bb-lms-courses.php on line 248
[24-Jun-2024 22:37:18 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /www/website._440/public/wp-includes/functions.php on line 650
[24-Jun-2024 22:37:18 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /www/website_440/public/wp-includes/class-wp-block-parser.php on line 330
[24-Jun-2024 22:50:23 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /www/website_440/public/wp-includes/theme.php on line 133
These are the errors that are repeated when I try to load the page:
[24-Jun-2024 23:03:24 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /www/website_440/public/wp-includes/class-wp-block-parser.php on line 330
[24-Jun-2024 23:03:24 UTC] PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /www/ website_440/public/wp-includes/functions.php on line 6078
[24-Jun-2024 23:03:24 UTC] PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /www/website_440/public/wp-includes/functions.php on line 6078
[24-Jun-2024 23:03:24 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /www/webite_440/public/wp-includes/functions.php on line 650
Yes you are 100% right it is working now when deactivated.
6:10 am
I would report it to WP Hide Login devs and share those error logs above with them
-
This reply was modified 2 years ago by
johnnyj56. Reason: included last to lines from kinsta tech support
Try this ? 1.9.16.6
It’s working now!
Thanks 👏Great
Working for me too! Thank you for your prompt work, Nicolas!
Uh oh, there’s another issue now. I have my website under maintenance mode from the tools on Elementor. There was never a problem logging in through my custom log in page but now when trying to log in, I get redirected to the wp-login.php page which shows me the maintenance mode message. In other words, I am getting locked outside my website. The same thing happens when I use the maintenance mode from the BuddyBoss theme options. This was never the case before. When I try to reset the password I also get the maintenance mode message.
Is there a possibility to rollback to a previous version before these issues temporarily till this gets fixed?Do you have a maintenance plugin?
If not, check at the root of your FTP, that you do not have the .maintenance file, otherwise delete it
@nicolaskulka
I’m doing the testing at a staging site, so I’m not really locked out of my website. I keep pushing my healthy live to staging to experiment, so I don’t need to remove that file.
However, if the issue is not addressed, people might get locked out if they use the coming soon/maintanance mode and their cookies expire which would log admins out of their website with no way to get back in unless going into FTP.
The topic ‘500 – Allowed Memory Size of Bytes Exhausted’ is closed to new replies.