• Hello –
    In prior versions of the plugin, if CF7 was deactivated or not installed, there used to be a error message displayed at the top of the WP Admin stating so. Now, it appears that the Plugin errors out completely and keeps the WP Admin from loading.

    The error is:
    "PHP message: PHP Fatal error: Uncaught Error: Class 'WPCF7_ContactForm' not found in /path/to/wordpress/wp-content/plugins/wpcf7-redirect/classes/class-wpcf7r-form.php:41

    The Stack Trace is:

    #0 /path/to/wordpress/wp-content/plugins/wpcf7-redirect/classes/class-wpcf7r-utils.php(322): WPCF7R_Form->__construct(173)
    #1 /path/to/wordpress/wp-content/plugins/wpcf7-redirect/wpcf7-redirect.php(57): WPCF7r_Utils::auto_migrate('migrate_from_cf...')
    #2 /path/to/wordpress/wp-includes/class-wp-hook.php(292): wpcf7r_activation_process('')
    #3 /path/to/wordpress/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #4 /path/to/wordpress/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /path/to/wordpress/wp-admin/admin.php(175): do_action('admin_init')
    #6 /path/to/wordpress/wp-admin/index.php(10): require_once('/path/to/wordpre...')
    #7 {main}
    thrown in /path/to/wordpress/wp-content/plugins/wpcf7-redirect" while reading response header from upstream, client: 47.144.38.242, server: example.com, request: "GET /wp-admin/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm-examplecom.sock:", host: "example.com", referrer: "https://example.com/wp-login.php"

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Which version of redirection for contact form 7 are you using ?

    Thread Starter Aaron Landerkin

    (@alanderkin)

    Hello –
    It happened when we upgraded to 2.3.5.
    And, in case you need it, we have Contact Form 7 Version 5.4.2; which was not updated since it was deactivated.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when CF7 is deactivated’ is closed to new replies.