• Resolved robsekr

    (@robsekr)


    Hi,

    Since updating to PHP8 i am not able to connect to my SendLayer server through wp mail smtp.

    i got the following error:

    ?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 /www/indusigns_888/public/wp-includes/class-wp-hook.php:308

    Stack trace:

    #0 /www/indusigns_888/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)

    #1 /www/indusigns_888/public/wp-includes/plugin.php(565): WP_Hook->do_action(Array)

    #2 /www/indusigns_888/public/wp-includes/pluggable.php(536): do_action_ref_array(‘phpmailer_init’, Array)

    #3 /www/indusigns_888/public/wp-content/plugins/wp-mail-smtp/src/Admin/Pages/TestTab.php(345): wp_mail(Array, ‘WP Mail SMTP: H…’, ‘\t\t<!doctype htm…’, Array)

    #4 /www/indusigns_888/public/wp-content/plugins/wp-mail-smtp/src/Admin/ParentPageAbstract.php(265): WPMailSMTP\Admin\Pages\TestTab->process_post(Array)

    #5 /www/indusigns_888/public/wp-includes/class-wp-hook.php(308): WPMailSMTP\Admin\ParentPageAbstract->process_actions(”)

    #6 /www/indusigns_888/pu”

Viewing 1 replies (of 1 total)
  • Plugin Author Gregor Capuder

    (@capuderg)

    Hi @robsekr,

    this looks like a 3rd party plugin conflict or maybe your web hosting is hooking into phpmailer_init WP core filter and causing this issue.

    We are not using a mailsettings function in our plugin.

    I would recommend search your site php files and see if you can find the reference where this mailsettings function is hooked (expected).

    When you find the code, you’ll find what is causing this issue.

    Please let us know how it goes.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error call_user_func_array():’ is closed to new replies.