• Resolved unstablenet

    (@unstablenet)


    I am getting this after enabled plugin after long time and many updates on a blog of a multisite network:

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

    Sites that plugin was enabled at these range is working fine.
    Version: 2.2.1 – Network Deactivated

    Apache Error Log:
    AH01071: Got error 'rror: Uncaught Error: Call to a member function is_mailer_complete() on null in / xxxx/wp-content/plugins/wp-mail-smtp/src/Admin/Review.php:108\nStack trace:\n#0 / xxxx/wp-content/plugins/wp-mail-smtp/src/Admin/Review.php(78): WPMailSMTP\\Admin\\Review->review()\n#1 / xxxx/wp-includes/class-wp-hook.php(287): WPMailSMTP\\Admin\\Review->review_request('')\n#2 / xxxx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\n#3 / xxxx/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#4 / xxxx/wp-admin/admin-header.php(281): do_action('admin_notices')\n

    • This topic was modified 4 years, 4 months ago by unstablenet.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @unstablenet,

    thank you for reporting this issue.

    Another user also reported this issue, we’ve already fixed it in the code-base and it will be available in the next plugin update.

    If you are comfortable with editing PHP code, please edit the wp-content/plugins/wp-mail-smtp/src/Admin/Review.php file and change the code on line 92 from:

    if ( $mailer === 'mail' ) {

    to

    if ( empty( $mailer ) || $mailer === 'mail' ) {

    So it will look like this: https://a.supportally.com/KOkIxJ

    Let me know if that will resolve your issue.

    Take care!

    Thread Starter unstablenet

    (@unstablenet)

    Thanks a lot Gregor,
    I already remove option values from database and bypassed the error.
    We will wait for your update.
    Keep up the good work

    I just spent over an hour trying to fix this issue. Thanks for the fix but you should release a patch as soon as possible.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Jason,

    I’m sorry you experienced this error. This issue will be fixed in the next plugin update.

    Take care!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when enabling plugin after long time’ is closed to new replies.