• Resolved cnesbit

    (@cnesbit)


    within the past week something has changed (on my site fbtsundayschool.org, or in the plugin) which causes a Critical Error on the /wp-admin/post-new.php page.

    The error is:
    [09-Aug-2021 18:13:32 UTC] PHP Fatal error: Out of memory (allocated 55050240) (tried to allocate 86016 bytes) in /var/home/fbtsunda/public_html/wp-content/plugins/mailpoet/vendor/composer/ClassLoader.php on line 2

    The site is running in CPanel on PHP8 with the latest version of WordPress and the latest version of the plugin.

    If I disable MailPoet, the error goes away and the /wp-admin/post-new.php page loads. But then my users won’t get a notification email (courtesy of MailPoet) when the newsletter is published.

    Please advise.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • This could be a problem with the allocated memory for your wordpress website.

    Thread Starter cnesbit

    (@cnesbit)

    I’m sure it’s related to that, judging from the error message. but this has never been a problem until now; and I’ve got the PHP memory limit set to 512mb (the max my webhost allows).

    Plugin Support Gui A. a11n

    (@guicmazeredo)

    Hi @cnesbit !

    To rule out any issues with your installation, could you please follow the instructions to re-install the plugin via FTP and let me know if it works? Don’t worry, you won’t lose any data from the plugin.

    Thread Starter cnesbit

    (@cnesbit)

    hi @guicmazeredo!

    So I installed this plugin https://wordpress.org/plugins/wp-memory/ and after some trial and error I was able to get the memory limits set to:

    “WordPress Memory Limit (*): 128MB | Your usage now: 37MB | Total Php Server Memory (**): 256MB”

    originally, my WordPress Memory Limit was stuck at 40MB – which as you can see from my usage is borderline.

    I’m not sure what is causing the sudden uptick in memory usage, but since I now consistently have 70% available memory I am under no immediate pressure to fix this problem.

    I will take your recommendation under advisement and reinstall the plugin when time allows, and see if that reduces the memory usage.

    Thanks!

    Plugin Support Gui A. a11n

    (@guicmazeredo)

    hi @cnesbit !

    Thanks for the update. And let us know how things will look once you have the chance to reinstall the MailPoet plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical Error on Add New Post page’ is closed to new replies.