• Hi,

    Fatal error after upgrading to latest version. Website went down and had to disable and roll back to the older version of the MailPoet Plugin to get the website back up.

    Received the below error via wordpress built-in emergency email:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.3.1
    Active theme: Markite (version 1.0.5)
    Current plugin: MailPoet (version 4.29.0)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 65 of the file /home/buyemsts/public_html/wp-content/plugins/mailpoet/lib/Config/Activator.php. Error message: Uncaught MailPoet\InvalidStateException: MailPoet version update is in progress, please refresh the page in a minute. in /home/buyemsts/public_html/wp-content/plugins/mailpoet/lib/Config/Activator.php:65
    Stack trace:
    #0 /home/buyemsts/public_html/wp-content/plugins/mailpoet/lib/Config/Initializer.php(416): MailPoet\Config\Activator->activate()
    #1 /home/buyemsts/public_html/wp-includes/class-wp-hook.php(310): MailPoet\Config\Initializer->maybeRunActivator(”)
    #2 /home/buyemsts/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #3 /home/buyemsts/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/buyemsts/public_html/wp-settings.php(632): do_action(‘init’)
    #5 /home/buyemsts/public_html/wp-config.php(93): require_once(‘/home/buyemsts/…’)
    #6 /home/buyemsts/public_html/wp-load.php(50): require_once(‘/home/buyemsts/…’)
    #7 /home/buyemsts/public_html/wp-admin/admin.php(34): require_once(‘/home/buyemsts/…’)
    #8 /home/buyemsts/public_html/wp-admin/edit.php(10)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello there @mshoaibhussain ,

    Thank you for reaching out to us.

    These types of?“Class ***** not found”?errors are most often caused by either missing or corrupted files, which can happen if there’s some type of glitch while updating WordPress plugins/themes and something doesn’t go as expected.

    As a first step here, I’d recommend re-installing the plugin and then checking to see if the issue is resolved. You can remove the plugin and re-install it from your admin dashboard’s Plugins page, or alternatively we have a guide for re-installing via FTP here:

    Re-installing / Updating the Plugin via FTP

    Please let me know how that goes, or if you have any questions! If you are still having issues afterward, please let us know

    I hope this helps.

    @geraltrivia The OP’s debug output does not contain a “Class not found” message. We are getting the same error after the latest update (4.30.0):

    PHP Fatal error: Uncaught MailPoet\InvalidStateException: MailPoet version update is in progress, please refresh the page in a minute. in /wp-content/plugins/mailpoet/lib/Config/Activator.php:65 

    Please review this in more detail and provide an update on a solution.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @mshoaibhussain and @gpnagy ,

    I see the main part of the error is:
    “MailPoet version update is in progress, please refresh the page in a minute”
    ?
    Searching the plugin code for that message, I see it appears here:
    https://github.com/mailpoet/mailpoet/blob/31924cf35c80fad274f4bd6807441238bc963f9b/mailpoet/lib/Config/Activator.php#L62
    ?
    Apparently, it will be displayed if there is a Transient value mailpoet_activator_activate set in the database. ?It’s possible there was an issue deleting that transient during/after the update, causing the message to remain indefinitely.
    ?
    Please try installing this Transients Manager plugin here:
    https://www.ads-software.com/plugins/transients-manager/
    ?
    Then under Tools > Transients, try searching for that specific key, and delete it if you find it.
    ?
    Then check again to see if the error message is still displayed. ?Also, after deleting the key, you could try reinstalling the plugin again one more time, just in case something was corrupted previously during the update.
    ?
    Please let me know how that goes, or if you have any questions!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error Latest Version’ is closed to new replies.