• Resolved bramokki

    (@bramokki)


    Hey,

    Lately i am getting alot of fatal errors with fluentsmtp sending e-mails

    : CRITICAL Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in httpdocs/wp-includes/PHPMailer/PHPMailer.php:1845
    Stack trace:

    • This topic was modified 1 year, 7 months ago by bramokki.
    • This topic was modified 1 year, 7 months ago by bramokki.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shahjahan Jewel

    (@techjewel)

    Would you please provide the stack trace so We can take a look?

    Thanks

    Thread Starter bramokki

    (@bramokki)

    2022-09-07T07:25:38+00:00 CRITICAL Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/PHPMailer/PHPMailer.php:1845
    Stack trace:
    #0 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/PHPMailer/PHPMailer.php(1845): preg_match()
    #1 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/PHPMailer/PHPMailer.php(1857): PHPMailer\PHPMailer\PHPMailer::isPermittedPath()
    #2 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/PHPMailer/PHPMailer.php(3174): PHPMailer\PHPMailer\PHPMailer::fileIsAccessible()
    #3 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/app/Functions/helpers.php(540): PHPMailer\PHPMailer\PHPMailer->addAttachment()
    #4 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/fluent-smtp.php(40): fluentMailSend()
    #5 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/app/Models/Logger.php(344): wp_mail()
    #6 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/app/Http/Controllers/LoggerController.php(66): FluentMail\App\Models\Logger->resendEmailFromLog()
    #7 [internal function]: FluentMail\App\Http\Controllers\LoggerController->retry()
    #8 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/includes/Core/Container.php(507): call_user_func_array()
    #9 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/includes/Core/Container.php(633): FluentMail\Includes\Core\Container->call()
    #10 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/includes/Core/Container.php(502): FluentMail\Includes\Core\Container->callClass()
    #11 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(73): FluentMail\Includes\Core\Container->call()
    #12 /var/www/vhosts/testyourparfum.com/httpdocs/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(31): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
    #13 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/class-wp-hook.php(307): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
    #14 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #15 /var/www/vhosts/testyourparfum.com/httpdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #16 /var/www/vhosts/testyourparfum.com/httpdocs/wp-admin/admin-ajax.php(187): do_action()

    Thread Starter bramokki

    (@bramokki)

    Is this the stack u meant?

    Plugin Author Shahjahan Jewel

    (@techjewel)

    Yes, I am debugging it. I will get back to you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal errors’ is closed to new replies.