• The contact form hangs after hitting send. The message is delivered, but the user experience is broken. Here’s the response I get:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘sf_send_mail_from_site_name’ not found or invalid function name in /home/colby1/public_html/dev/public/wp/wp-includes/plugin.php on line 214

    {
         "mailSent":true,
         "into":"#wpcf7-f83-p376-o1",
         "captcha":null,
         "message":"Your message was sent successfully. Thanks."
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try deactivating all plugins, switching to the default theme, and reinstalling the latest Contact Form 7. The ‘sf_send_mail_from_site_name’ isn’t Contact Form 7’s function.

    Thread Starter Kevin Batdorf

    (@kbat82)

    Thanks! It definitely was another plugin. There was just a typo in the function name which is why WP said it didnt exist.

    If this resolves your question, it helps others contributing here, if you can flag your post as [resolved]

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid Callback’ is closed to new replies.