• Resolved jrunkel

    (@jrunkel)


    In our error logs we received this error:

    [01-Jul-2026 08:07:23 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_result() on null in /server/htdocs/domain.de/wp-content/plugins/contact-form-7/includes/contact-form.php:1083
    Stack trace: #0 /server/htdocs/domain.de/wp-content/plugins/contact-form-7/includes/controller.php(25): WPCF7_ContactForm->submit()
    #1 /server/htdocs/domain.de/wp-includes/class-wp-hook.php(339): wpcf7_control_init()
    #2 /server/htdocs/domain.de/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #3 /server/htdocs/domain.de/wp-includes/plugin.php(570): WP_Hook->do_action()
    #4 /server/htdocs/domain.de/wp-includes/class-wp.php(418): do_action_ref_array()
    #5 /server/htdocs/domain.de/wp-includes/class-wp.php(821): WP->parse_request()
    #6 /server/htdocs/domain.de/wp-includes/functions.php(1343): WP->main()
    #7 /server/htdocs/domain.de/wp-blog-header.php(16): wp()
    #8 /server/htdocs/domain.de/index.php(17): require('/homepages/7/d9...')
    #9 {main}
    thrown in /server/htdocs/domain.de/wp-content/plugins/contact-form-7/includes/contact-form.php on line 1083

    It happens when a contact form is submitted.

    We have WP, themes and plugins updated to the latest versions. After some try-and-error we found out, that this only happens in combination with the plugin “Custom Permalinks” on pages that have a custom permalink. Obviously CF7 fails to determine the submission object here. I believe this is the same error as described here:

    https://wordpress.org/support/topic/call-to-a-member-function-get_result-on-null-in-includes-contact-form-php108/

    (That topic is already closed, otherwise I would have written there.)

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

You must be logged in to reply to this topic.