• Resolved photocoen

    (@photocoen)


    Heya all,

    I am trying to update MailPoet to the latest version for a couple of weeks now. And all I get is a critical error. The error stays the same, even when I recently updated WP to the most actual version.

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    What can I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author MailPoet

    (@mailpoet)

    Hi @photocoen that can be a lack of server memory. Please edit your wp-config.php file (on the root folder of your WordPress install) and the two lines below:

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    Then let us know if that helped.

    Thread Starter photocoen

    (@photocoen)

    I can update any other plugin or theme, just not the MailPoet. Very frustrating.

    I checked in my Site Health, and the current memory is set to:

    PHP memory limit
    1024M

    This should be enough? Shouldn’t it?

    @photocoen that’s enough, but that has to be specified on your wp-config.php file as instructed above, otherwise WordPress won’t be able to use the extra memory you have available.

    Thread Starter photocoen

    (@photocoen)

    This is what I have now in the wp-config.php

    define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );
    define( ‘AUTOSAVE_INTERVAL’, 480 );

    should I add the following line to it?

    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    Thread Starter photocoen

    (@photocoen)

    I added the line and now my wp-config.php file says:

    define( 'WP_MEMORY_LIMIT', '1024M' );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
    define( 'AUTOSAVE_INTERVAL', 480 );
    define( 'WP_POST_REVISIONS', 3);

    But I still get the same error, when I try to update the MailPoet plugin. And I don’t receive an email on my admin email!

    When I send a test email from the Site Health tools to my admin email, I do get an email.

    All other plugins update perfectly fine.

    Now I’m getting at annoyed…

    Any thoughts?

    Thread Starter photocoen

    (@photocoen)

    And why does this thread reads as resolved? It hasn’t been resolved at all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Critical error while updating to latest version’ is closed to new replies.