• Resolved scottwvw

    (@scottwvw)


    Hi

    I’m getting the below Fatal Error when submitting my name and email using this plugin. The user is actually being subscribed to the email list, but being redirected to a page with this messaging:

    Fatal error: Uncaught Error: Call to a member function get_status() on null in /home/sitename/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php:734 Stack trace: #0 /home/sitename/public_html/wp-content/plugins/contact-form-7/includes/controller.php(14): WPCF7_ContactForm->submit() #1 /home/sitename/public_html/wp-includes/class-wp-hook.php(284): wpcf7_control_init() #2 /home/sitename/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /home/sitename/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #4 /home/sitename/public_html/wp-includes/class-wp.php(373): do_action_ref_array('parse_request', Array) #5 /home/sitename/public_html/wp-includes/class-wp.php(713): WP->parse_request('') #6 /home/sitename/public_html/wp-includes/functions.php(960): WP->main('') #7 /home/sitename/public_html/wp-blog-header.php(16): wp() #8 /home/sitename/public_html/index.php(17): require('/home/sitename/p...') #9 {main} thrown in?/home/sitename/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php?on line?734

    Any clues greatly appreciated!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter scottwvw

    (@scottwvw)

    To add some more info, I have checked my PHP version and am using 7.0.33.

    Thread Starter scottwvw

    (@scottwvw)

    The issue turned out to be an additional plugin on the site to change the url from the default, all working now

    I’ve received the same error, and I was able to come up with a bizarre workaround for it, but I don’t believe that I’ve necessarily solved the problem. I found that changing the URL on the pages that I saw the error on bypassed the error and sent the email. e.g if https://www.xyz.com/4097-2/ generated an error (4097-2 is a specific URL that failed on the site I used to generate a failure), I’d change the URL to https://www.xyz.com/completely-new-page/ and all was well. We do have a caching plugin as well (WP Super Cache) but I disabled it, so I know that’s not the issue either.

    Wondering what the underlying cause may be.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.