Errors on php8.0
-
Hi there,
I get errors sending mails when using the “Other smtp” option on php8.0. When i switch back to php7.4 it works fine.
2022/10/06 15:14:09 [error] 22923#22923: *8050507 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "mailsettings" not found or invalid function name in /home/user/domains/domainname.com/platform/public/wp-includes/class-wp-hook.php:307 Stack trace: #0 /home/user/domains/domainname.com/platform/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #1 /home/user/domains/domainname.com/platform/public/wp-includes/plugin.php(524): WP_Hook->do_action(Array) #2 /home/user/domains/domainname.com/platform/public/wp-includes/pluggable.php(542): do_action_ref_array('phpmailer_init', Array) #3 /home/user/domains/domainname.com/platform/public/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php(314): wp_mail(Array, 'WP Mail SMTP: H...', '\t\t<!doctype htm...', Array) #4 /home/user/domains/domainname.com/platform/public/wp-content/plugins/wp-mail-smtp/src/Admin/ParentPageAbstract.php(265): WPMailSMTP\Admin\Pages\TestTab" while reading response header from upstream, client: 83.219.76.26, server: www.domainname.com, request: "POST /wp-admin/admin.php?page=wp-mail-smtp-tools&tab=test HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm-user.sock:", host: "www.domainname.com", referrer: "https://www.domainname.com/wp-admin/admin.php?page=wp-mail-smtp-tools&tab=test"
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Errors on php8.0’ is closed to new replies.