• Resolved Ales

    (@alesmal)


    Howdy guys, cannot see Postman logs, do you support PHP 8?

    WordPress version 5.7
    Current plugin: Post SMTP (version 2.0.22)
    PHP version 8.0.3
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 63 of the file /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php. Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php:63
    Stack trace:
    #0 /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php(63): implode()
    #1 /var/www/html/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php(39): PostmanLogFields->maybe_json()
    #2 /var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogView.php(371): PostmanLogFields->get()
    #3 /var/www/html/wp-content/plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogController.php(416): PostmanEmailLogView->prepare_items()
    #4 /var/www/html/wp-includes/class-wp-hook.php(292): PostmanEmailLogController->postman_render_email_page()
    #5 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #6 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #7 /var/www/html/wp-admin/admin.php(259): do_action()
    #8 {main}

    Ales

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @alesmal,

    Unfortunately Post SMTP does not currently – officially – support PHP 8. Some people have managed to run it successfully, but it has not been fully tested – so I would not recommend it in a production environment.

    Hope this helps.

    Kind Regards,
    Tim

    Thread Starter Ales

    (@alesmal)

    Hi Tim, ok thanks.

    Btw it seems to be working just fine, only logs generate error.

    Cheers, Ales

    Hi Ales,

    Thanks for the reply. Yes, I have also managed to get it working okay on PHP 8 too, but as the developer has not yet been able to verify it is fully compatible it’s not ‘officially’ supported as yet. ??

    Kind Regards,
    Tim

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