Title: Critical error &#8211; blocking login
Last modified: March 7, 2022

---

# Critical error – blocking login

 *  Resolved [youstonsrl](https://wordpress.org/support/users/youstonsrl/)
 * (@youstonsrl)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/critical-error-blocking-login/)
 * Hello,
    this weekend I received an admin email from my WordPress installation
   which was telling me that there’s an error with _CF7 Smart Grid Design Extension_
   plugin (version 4.12.12). The error is:
 *     ```
       E_ERROR in line 866 of file /wp-content/plugins/cf7-grid-layout/admin/class-cf7-grid-layout-admin.php. Error Message: Uncaught Error: Class 'WPCF7_ContactForm' not found in /wp-content/plugins/cf7-grid-layout/admin/class-cf7-grid-layout-admin.php:866
       Stack trace:
       #0 /wp-includes/class-wp-hook.php(309): Cf7_Grid_Layout_Admin->delete_post(1023)
       #1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
       #2 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)
       #3 /wp-includes/post.php(3409): do_action('before_delete_p...', 1023, Object(WP_Post))
       #4 /wp-content/plugins/contact-form-7-paypal-add-on-pro/includes/admin/files.php(24): wp_delete_post(1023, true)
       #5 /wp-content/plugins/contact-form-7-paypal-add-on-pro/paypal.php(141): include_once('/home/trsdyouq/...')
       #6 /public_html/wp-settings.php(418): include_once('/home/trsdyouq/...')
       #7 /public_html/wp-config.php(91): require_once('/home/trsdyouq/...')
       ```
   
 * It was impossible to login in backend: in the /wp-admin page there was a critical
   error and the login form didn’t appear. I had to force via FTP the deactivation
   of _CF7 Smart Grid Design Extension_ plugin. After that I was able again to login.
   I reactivate the plugin and everything seemed to work.
 * But I would like to understand with you what caused the error (because maybe 
   it could happen again).
 * Wait for your kind response
    Best Regards

Viewing 1 replies (of 1 total)

 *  Plugin Author [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * (@aurovrata)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-blocking-login/#post-15475372)
 * >Error: Class ‘WPCF7_ContactForm’ not found
 * this error happens when the CF7 plugin is no longer installed or deactivated.
   The Smart Grid depends is an extension for the Contact Form 7 plugin and therefore
   requires it to be installed to run properly.
 * Can you check to see if the cf7 plugin got deleted/deactivated, or its path changed?

Viewing 1 replies (of 1 total)

The topic ‘Critical error – blocking login’ is closed to new replies.

 * ![](https://ps.w.org/cf7-grid-layout/assets/icon-256x256.png?rev=1834229)
 * [Smart Grid-Layout Design for Contact Form 7](https://wordpress.org/plugins/cf7-grid-layout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-grid-layout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-grid-layout/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-grid-layout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-grid-layout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-grid-layout/reviews/)

## Tags

 * [contact-form](https://wordpress.org/support/topic-tag/contact-form/)
 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [login problems](https://wordpress.org/support/topic-tag/login-problems/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aurovrata Venet](https://wordpress.org/support/users/aurovrata/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/critical-error-blocking-login/#post-15475372)
 * Status: resolved