• Resolved ktaylor310

    (@ktaylor310)


    Hi, this morning we updated the Post SMTP plugin to the newest version and suddenly we get critical error messages every time we access any of the plugin settings. Also received an email regarding the error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 183 of the file /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php. Error message: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php:183
    Stack trace:
    #0 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php(183): array_map()
    #1 [internal function]: PostmanLogFields->from_header_sanitize()
    #2 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php(99): call_user_func()
    #3 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php(74): PostmanLogFields->sanitize()
    #4 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(184): PostmanLogFields->update()
    #5 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(127): PostmanEmailLogService->writeToEmailLog()
    #6 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(87): PostmanEmailLogService->writeFailureLog()
    #7 /var/www/fcawrestling.org/htdocs/wp-includes/class-wp-hook.php(308): PostmanEmailLogService->write_failed_log()
    #8 /var/www/fcawrestling.org/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #9 /var/www/fcawrestling.org/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #10 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(276): do_action()
    #11 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanWpMail.php(60): PostmanWpMail->sendMessage()
    #12 /var/www/fcawrestling.org/htdocs/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php(121): PostmanWpMail->send()
    #13 /var/www/fcawrestling.org/htdocs/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/ConnectionReports.php(415): wp_mail()
    #14 /var/www/fcawrestling.org/htdocs/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/ConnectionReports.php(435): Cleantalk\ApbctWP\ConnectionReports->sendEmail()
    #15 /var/www/fcawrestling.org/htdocs/wp-content/plugins/cleantalk-spam-protect/cleantalk.php(2569): Cleantalk\ApbctWP\ConnectionReports->sendUnsentReports()
    #16 [internal function]: ct_cron_send_connection_report_email()
    #17 /var/www/fcawrestling.org/htdocs/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Common/Cron.php(265): call_user_func_array()
    #18 /var/www/fcawrestling.org/htdocs/wp-content/plugins/cleantalk-spam-protect/cleantalk.php(208): Cleantalk\Common\Cron->runTasks()
    #19 /var/www/fcawrestling.org/htdocs/wp-includes/class-wp-hook.php(308): {closure}()
    #20 /var/www/fcawrestling.org/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #21 /var/www/fcawrestling.org/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #22 /var/www/fcawrestling.org/htdocs/wp-settings.php(617): do_action()
    #23 /var/www/fcawrestling.org/wp-config.php(136): require_once('...')
    #24 /var/www/fcawrestling.org/htdocs/wp-load.php(55): require_once('...')
    #25 /var/www/fcawrestling.org/htdocs/wp-login.php(12): require('...')
    #26 {main}
      thrown

    Cleantalk is attempting to send connection reports (although we did not enable that option), but they are not being sent because The from address does not match a verified Sender Identity. Not sure if that is what is triggering the critical error.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support eugenecleantalk

    (@eugenecleantalk)

    Hello @ktaylor310.

    Please clarify, do the error messages appear when accessing the settings of the Cleantalk plugin or another one?

    Do the errors continue to appear if you deactivate our plugin?

    Thread Starter ktaylor310

    (@ktaylor310)

    For instance, today I pulled up the Post SMTP email log and started scrolling through the pages (which are mostly failed attempts at sending the Cleantalk communication report). After clicking to move to page 3 of the results, the browser switches to “a critical error has occurred” screen. When I deactivate the Cleantalk plugin, I can scroll through the log without any problems. Yesterday was the first day I actually received an error email from WP, and that is the partial message I received above. The only plugins mentioned are Post SMTP and Cleantalk.

    I do not have “send connection reports” enabled, but they are apparently still attempting to be sent.

    Plugin Support eugenecleantalk

    (@eugenecleantalk)

    We need additional details about your website.

    Please contact us via our private Ticket System: https://cleantalk.org/my/support/open.

    And please add there a link to this topic, so we can identify you quickly.

    Plugin Support eugenecleantalk

    (@eugenecleantalk)

    As we found out in the ticket, the issue was resolved by updating the Post SMTP plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘An error of type E_Error’ is closed to new replies.