• Resolved mrx99

    (@mrx99)


    Hi,

    does anybody has the same error message in the log file?

    PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'Postman' does not have a method 'post_smtp_wpml_admin_notice' in /[...]/wp-includes/class-wp-hook.php on line 298',
    

    Br
    Mr.X

    • This topic was modified 3 years, 7 months ago by mrx99.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @mrx99,

    Not seen this one before. Can you paste a copy of your Post SMTP diagnostics log in your next reply, please?

    What problem does this cause?

    Kind Regards,
    Tim

    • This reply was modified 3 years, 7 months ago by Tim. Reason: Fix typo

    Hi

    do you have WPML less than version 3.9?

    Thread Starter mrx99

    (@mrx99)

    Hi Tim,
    thanks for your reply.

    Error message is shown as soon as I click on the Post SMTP menu icon from wordpress.

    [Sun Apr 18 14:22:01.916575 2021] [proxy_fcgi:error] [pid 20277] [client 77.7.YYY.XXX:37650] AH01071: Got error 'PHP message: PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Postman' does not have a method 'post_smtp_wpml_admin_notice' in [...]/wp-includes/class-wp-hook.php on line 298'

    Br

    Thread Starter mrx99

    (@mrx99)

    Hi yehudah,

    yes, I am running Version 3.7.1 of WPML and no may to change it.

    BR

    Hi,

    Due to a bug in WPML in versions less than 3.9, Post SMTP will not work for you.

    Thread Starter mrx99

    (@mrx99)

    Hi yehudah,

    well, looks like it’s working and sending out my emails for me.
    What kind of issue is it? Where is the bug?

    Br

    Post SMTP is taking over the main mail function: wp_mail.
    due to the bug, I mention WPML is making a conflict and “disturbed” Post SMTP from doing a complete taking over.

    The bug is old and was fixed in version 3.9 so I don’t remember when and how it’s happened – just follow the plugin mail log to be sure.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback’ is closed to new replies.