Console error when resending failed emails
-
Hi,
When trying to resend failed emails, the screen freezes and I have to refresh to get the log back, but emails are not sent. The console error is:
Uncaught TypeError: Cannot read properties of undefined (reading ‘data’)
at Object. (fluent-mail-admin-app.js?ver=2.2.80:1:129039)
at c (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill,moxiejs,plupload&ver=6.6.2:2:25304)
at Object.fireWith as rejectWith
at t (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill,moxiejs,plupload&ver=6.6.2:2:27442)We are using PHP 8.1
I have turned debug on and this is what is in the debug file:
[08-Oct-2024 00:39:49 UTC] PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /home/transformedpty/public_html/wp-includes/PHPMailer/PHPMailer.php:1880 Stack trace:
#0 /home/transformedpty/public_html/wp-includes/PHPMailer/PHPMailer.php(1880): preg_match(‘#^[a-z][a-z\\d+….’, Array)
#1 /home/transformedpty/public_html/wp-includes/PHPMailer/PHPMailer.php(1892): PHPMailer\PHPMailer\PHPMailer::isPermittedPath(Array) #2 /home/transformedpty/public_html/wp-includes/PHPMailer/PHPMailer.php(3271): PHPMailer\PHPMailer\PHPMailer::fileIsAccessible(Array)
#3 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/app/Functions/helpers.php(543): PHPMailer\PHPMailer\PHPMailer->addAttachment(Array)
#4 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/fluent-smtp.php(42): fluentMailSend(Array, ‘Residential Eff…’, ‘<!doctype html>…’, Array, Array)
#5 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/app/Models/Logger.php(346): wp_mail(Array, ‘Residential Eff…’, ‘<!doctype html>…’, Array, Array)
#6 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/app/Http/Controllers/LoggerController.php(66): FluentMail\App\Models\Logger->resendEmailFromLog(‘315’, ‘retry’)
#7 [internal function]: FluentMail\App\Http\Controllers\LoggerController->retry(Object(FluentMail\Includes\Request\Request), Object(FluentMail\App\Models\Logger))
#8 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/includes/Core/Container.php(507): call_user_func_array(Array, Array)
#9 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/includes/Core/Container.php(633): FluentMail\Includes\Core\Container->call(Array, Array)
#10 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/includes/Core/Container.php(502): FluentMail\Includes\Core\Container->callClass(‘FluentMail\\App\\…’, Array, NULL)
#11 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(73): FluentMail\Includes\Core\Container->call(‘FluentMail\\App\\…’) #12 /home/transformedpty/public_html/wp-content/plugins/fluent-smtp/includes/Core/CoreTrait.php(31): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}()
#13 /home/transformedpty/public_html/wp-includes/class-wp-hook.php(324): FluentMail\Includes\Core\Application->FluentMail\Includes\Core\{closure}(”)
#14 /home/transformedpty/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#15 /home/transformedpty/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/transformedpty/public_html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_fluentm…’) #17 {main} thrown in /home/transformedpty/public_html/wp-includes/PHPMailer/PHPMailer.php on line 1880
[08-Oct-2024 00:42:13 UTC] {}
[08-Oct-2024 00:42:31 UTC] {}
- You must be logged in to reply to this topic.