• Resolved levib

    (@levib)


    Hi, after updating to the newest version, this error is happening:

    2025/02/10 11:55:00 [error] 384127#384127: *4208336 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /projects//public_html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php:169

    Stack trace:

    #0 /projects//public_html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(169): explode()

    #1 /projects//public_html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(113): PostmanEmailLogService->writeToEmailLog()

    #2 /projects//public_html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogService.php(85): PostmanEmailLogService->writeSuccessLog()

    #3 /projects//public_html/wp-includes/class-wp-hook.php(324): PostmanEmailLogService->write_success_log()

    #4 /projects//public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    #5 /projects//public_html/wp-includes/plugin.php(517):” while reading response header from upstream, client: ##.##.##.##, server: avista-oil.nl, request: “POST /ophaalmoment-plannen/ HTTP/2.0”, upstream: “fastcgi://unix:/dev/shm/php-fpm-.sock:”, host: “avista-oil.nl”, referrer: “https://avista-oil.nl/ophaalmoment-plannen/”

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Howdy_McGee

    (@howdy_mcgee)

    This is a real error across the board.

    In the PostmanEmailLogService.php file it’s calling implode() and explode() on an array:

    ( is_array( $log->originalTo ) ? implode( ',', array_map( 'sanitize_email', explode( ',', $log->originalTo ) : ''

    You can’t explode() an array, which it checks to ensure the value is an array before even starting, so it’s going to fail every time.

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hello @levib

    We hope this message finds you well.

    Thank you for reaching out to our Support team. We are genuinely saddened and concerned to hear about the issue you’re facing.

    Please rest assured that our technical team is actively working toward resolving this matter. I will keep you updated here and inform you as soon as I receive any response from their end.

    We truly appreciate your patience and understanding in this regard.

    Warm regards,
    Support Team – WP Experts

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hello @levib ,

    Thank you so much for your patience and understanding while we worked on resolving the issue. I’m pleased to inform you that our technical team has successfully implemented a fix.

    The solution has been officially released in version 3.1.1. Kindly update the plugin to the latest version to benefit from this fix.

    Thank you once again for your cooperation.

    Warm regards,
    Support Team – WP Experts

    Howdy_McGee

    (@howdy_mcgee)

    @aqibkhan9 Thanks for the quick fix – this looks like it works and is back to normal!

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    @howdy_mcgee

    I am glad things are back to normal. If Post SMTP has been useful for you, I would request you to leave your kind reviews it will help others explore the potential of our plugin.

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

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