• Resolved waseebk

    (@waseebk)


    Hello,

    I updated Mailpoet from Version 3.60.11 to Version 3.61.11 and our site crashed with a fatal error:

    Fatal error: Uncaught TypeError: Argument 2 passed to MailPoet\WP\Functions::addFilter() must be callable, array given, called in /home/customer/ourdomain/public_html/wp-content/plugins/mailpoet/lib/Config/Initializer.php on line 182 and defined in /home/customer/www/ourdomain/public_html/wp-content/plugins/mailpoet/lib/WP/Functions.php:79 Stack trace: #0 /home/customer/www/ourdomain/public_html/wp-content/plugins/mailpoet/lib/Config/Initializer.php(182): MailPoet\WP\Functions->addFilter('wpmu_drop_table...', Array) #1 /home/customer/www/ourdomain/public_html/wp-content/plugins/mailpoet/mailpoet_initializer.php(81): MailPoet\Config\Initializer->init() #2 /home/customer/www/ourdomain/public_html/wp-content/plugins/mailpoet/mailpoet.php(114): require_once('/home/customer/...') #3 /home/customer/www/ourdomain/public_html/wp-settings.php(391): include_once('/home/customer/...') #4 /home/customer/www/ourdomain/public_html/wp-config.php(91): requir in /home/customer/www/ourdomain/public_html/wp-content/plugins/mailpoet/lib/WP/Functions.php on line 79

    Both the front and backend of the site was showing this error and I couldn’t log in to the backend either. I have now restored it from a backup but can please let me know how to fix the error?

    Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)
  • macdoo

    (@macdoo)

    Hi,
    I have the same problem. It is very urgent since i plan to switch to a paid account and use the plugin.
    thx

    Ghyslain

    (@ghyslain)

    same issue here

    Plugin Author MailPoet

    (@mailpoet)

    Hi there,

    Thank you for reporting the issue!

    Could you please specify what PHP version and WordPress version do you use?

    @waseebk are you sure about the plugin version before updating? We added the hook recently in 3.60.3. It is helpful to know whether the issue was caused by the hook or by some other changes.`

    macdoo

    (@macdoo)

    PHP 7.4
    WordPress 5.7.2

    Thread Starter waseebk

    (@waseebk)

    Hi @mailpoet thanks for the reply.

    We are using PHP version 7.3.2 and WordPress 5.7.2

    Regarding the plugin version, we encountered the issue while updating from Version 3.60.11 to 3.60.12.

    Any help is greatly appreciated.

    Thanks

    Plugin Author MailPoet

    (@mailpoet)

    Thanks for reaching back @macdoo!

    The configuration (7.4/WP 5.7.2) is quite common. We were not able to replicate the issue.

    Please contact us via https://www.mailpoet.com/support/premium/ and include a link to this thread.

    We’ll be able to provide you with more information there.
    Cheers!

    Thread Starter waseebk

    (@waseebk)

    Hi @mailpoet ,

    Any updates on this?

    Thanks in advance

    Thread Starter waseebk

    (@waseebk)

    Sorry for my mistake about the version we updated to in my original post: we updated from version 3.60.11 to 3.60.12 NOT 3.61.11 sorry for the confusion

    Plugin Author MailPoet

    (@mailpoet)

    Thanks for the version info @waseebk!

    Could you please contact us via https://www.mailpoet.com/support/premium/ and include a link to this thread.

    We’ll be able to provide you with more information there.
    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Fatal Error While Updating Mailpoet’ is closed to new replies.