PHP Fatal error: Uncaught TypeError: preg_match()
-
Hello,
I am getting this error when I try to resend a failed email:[01-Sep-2024 09:11:13 UTC] PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home/taliorgi/public_html/websites/tali.org.il/wp-includes/PHPMailer/PHPMailer.php:1880
Stack trace:
#0 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/PHPMailer/PHPMailer.php(1880): preg_match()
#1 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/PHPMailer/PHPMailer.php(1892): PHPMailer\PHPMailer\PHPMailer::isPermittedPath()
#2 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/PHPMailer/PHPMailer.php(3271): PHPMailer\PHPMailer\PHPMailer::fileIsAccessible()
#3 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/app/Functions/helpers.php(543): PHPMailer\PHPMailer\PHPMailer->addAttachment()
#4 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/fluent-smtp.php(42): fluentMailSend()
#5 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/app/Models/Logger.php(346): wp_mail()
#6 /home/taliorgi/public_html/websites/tali.org.il/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 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/includes/Core/Container.php(507): call_user_func_array()
#9 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/includes/Core/Container.php(633): FluentMail\Includes\Core\Container->call()
#10 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/includes/Core/Container.php(502): FluentMail\Includes\Core\Container->callClass()
#11 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(73): FluentMail\Includes\Core\Container->call()
#12 /home/taliorgi/public_html/websites/tali.org.il/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(31): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
#13 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/class-wp-hook.php(324): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
#14 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#15 /home/taliorgi/public_html/websites/tali.org.il/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /home/taliorgi/public_html/websites/tali.org.il/wp-admin/admin-ajax.php(192): do_action()
#17 {main}
thrown in /home/taliorgi/public_html/websites/tali.org.il/wp-includes/PHPMailer/PHPMailer.php on line 1880I am changed to default theme and there are no other plugins that uses SMTP. What should I do?
PHP 8.1, Updated wordpress and plugins. Sending a test email works.Thanks!
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.