• Resolved pgilpat

    (@pgilpat)


    I’m getting Problem in Sending Mail error when the form is submitted. I know the SMTP is working. It is throwing this error:

    An error of type E_ERROR was caused in line 704 of the file D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-content\themes\neuromonics\functions.php. Error message: Uncaught Error: Call to undefined function questionnaire_results1() in D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-content\themes\neuromonics\functions.php:704
    Stack trace:
    #0 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\class-wp-hook.php(292): questionnaire_results()
    #1 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\plugin.php(484): WP_Hook->do_action()
    #3 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-admin\admin.php(259): do_action()
    #4 {main}
      thrown

    WordPress version 5.7.6
    Current theme: (version )
    Current plugin: (version )
    PHP version 7.4.13

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @pgilpat

    Please, check the error message:

    An error of type E_ERROR was caused in line 704 of the file D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-content\themes\neuromonics\functions.php. Error message: Uncaught Error: Call to undefined function questionnaire_results1() in D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-content\themes\neuromonics\functions.php:704
    Stack trace:
    #0 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\class-wp-hook.php(292): questionnaire_results()
    #1 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters()
    #2 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-includes\plugin.php(484): WP_Hook->do_action()
    #3 D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-admin\admin.php(259): do_action()
    #4 {main}
      thrown

    The error is thrown by the theme active on your website not our plugin:

    An error of type E_ERROR was caused in line 704 of the file D:\Webdocs\Neuromadmin\neuromonics.com\wwwroot\wp-content\themes\neuromonics\functions.php.

    It calls a function function questionnaire_results1() that is not part of our plugin.

    So, the theme is capturing the email and handling it by itself. The issue is not happening in the plugin. Our plugin simply calls the WordPress function wp_mail (https://developer.www.ads-software.com/reference/functions/wp_mail/)

    Please, not we are not allowed to support any customers in these forums.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem in Sending Mail error’ is closed to new replies.