Hi,
1) Contact your web hosting provider and ask them to increase the php memory limit in php.ini file.
2) If this do not fix your issue. Turn on WP_DEBUG, simply add the following line of code to your wp-config.php file:
define( 'WP_DEBUG', true );
WP_DEBUG provides a handy way to troubleshoot problems when something goes wrong with your Website.
Hope that helps.
Thanks,
@Accumwebhosting
Thank you very much for the quick response. Much appreciated.
I have requested by hosting provider to increase the pho memory. Let’s see how it goes. Also, I activate the Debug to True in the wp-config.
Edit: After loading the webiste, so many warnings are displayed.
Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in
Allowed memory size of 41943040 bytes exhausted (tried to allocate 64 bytes)
I recently got that same kind of error in my local Xampp while working on a Child Theme, and I ultimately got a “Timeout” error in its place after increasing the limit to 128 and then 256 and then even going to ‘-1’ for no limit at all. My actual problem was in my coding, and you might have something similar going on.
@leejosepho
Thank you for the reply. I am a beginner and using a Theme made by tyler.com author. I have no idea on the coding or styles. However, thank you for the response π
After…trying to load the Easy Google Fonts…my website shows up with the error.
Disabling the plugin makes it work…
Your problem is likely the plugin and/or some related code, not a memory limit.
@leejosepho
yes, it seems like it.
I installed another font manager: https://wordpress.org/plugins/font/
This works for now..
Thank you for the suggestion.
How come no other users get the error while using the Easy Fonts plugin/
How come no other users get the error while using the Easy Fonts plugin/
The variables there might be endless since there are so many possibly-different combinations of configurations, theme-and-plugin interactions from one site at one server to the next. I sometimes even see differences from one site to the next even with all of my sites with a common configuration and so on at one server.
Short answer: I do not know!
`How come no other users get the error while using the Easy Fonts plugin/
The variables there might be endless since there are so many possibly-different combinations of configurations, theme-and-plugin interactions from one site at one server to the next. I sometimes even see differences from one site to the next even with all of my sites with a common configuration and so on at one server.
Short answer: I do not know!`
Thank you very much for the explanation π Much appreciated
Dear All and Accuwebhosting,
Thank you for the assistance. My webhost increased the memory limit and it works fine now π
Thanks.