• Resolved meshaun

    (@meshaun)


    Hi guys, first time post here πŸ™‚
    I just started using wordpress and following some of the tutorials on the youtube and learning step by step.
    After installing some of the plugins, especially trying to load the Easy Google Fonts : https://wordpress.org/plugins/easy-google-fonts/, my website shows up with the error.
    Disabling the plugin makes it work but the font thing is a must to edit the site to get the best looking appearance.

    I saw various posts making changes to the wp-includes folder and I also tried them. But increasing the Mem size to 512M even didn’t help me.
    I have to deliver a website in another 48 hours but I am way stuck with this. Much appreciated on soon responses.

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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,

    Thread Starter meshaun

    (@meshaun)

    @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.

    Thread Starter meshaun

    (@meshaun)

    @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.

    Thread Starter meshaun

    (@meshaun)

    @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!

    Thread Starter meshaun

    (@meshaun)

    `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

    Thread Starter meshaun

    (@meshaun)

    Dear All and Accuwebhosting,
    Thank you for the assistance. My webhost increased the memory limit and it works fine now πŸ™‚

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Allowed memory size of 41943040 bytes exhausted (tried to allocate 64 bytes)’ is closed to new replies.