Title: Critical Error-plugins are deactivated
Last modified: March 17, 2022

---

# Critical Error-plugins are deactivated

 *  Resolved [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/)
 * I’m using WordPress for the first time. A few days ago I installed the latest
   version, picked a theme and started customizing it. I am using Projectfx and 
   pagelayer.
 * All was going well until yesterday when I got the critical error message, no 
   email. I cannot log into my dashboard–I get the same critical error. I checked
   the core integrity and then tried to reinstall–it didn’t work. I tried to follow
   the instructions on wpbeginner and did get to my plugins folder and renamed it
   plugins.deactivated as suggested. Still nothing.
 * I have screenshots of all of this, but don’t know how to link them. I did copy
   the written bit, which was:
    `Fatal error: Uncaught Error: Call to undefined 
   function mysql_connect() in /home/cassandr/public_html/wp-includes/wp-db.php:
   1788 Stack trace: #0 /home/cassandr/public_html/wp-includes/wp-db.php(724): wpdb-
   >db_connect() #1 /home/cassandr/public_html/wp-includes/load.php(561): wpdb->
   __construct() #2 /home/cassandr/public_html/wp-settings.php(124): require_wp_db()#
   3 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/
   php/WP_CLI/Runner.php(1291): require('/home/cassandr/...') #4 /usr/local/cpanel/
   3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.
   php(1212): WP_CLI\Runner->load_wordpress() #5 /usr/local/cpanel/3rdparty/wp-toolkit/
   plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(
   23): WP_CLI\Runner->start() #6 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/
   wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(77): WP_CLI\Bootstrap\LaunchRunner-
   >process() #7 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/
   wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #8 /usr/local/cpanel/3rdparty/
   wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('/
   usr/local/cpan...') #9 /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/
   wpt-wp-cli.php(31): require_once('/usr/local/cpan...') #10 Command line code(
   1): require('/usr/local/cpan...') #11 {main} thrown in /home/cassandr/public_html/
   wp-includes/wp-db.php on line 1788 Error: There has been a critical error on 
   this website.Learn more about troubleshooting WordPress. There has been a critical
   error on this website.`
 * Thanks for any help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-plugins-are-deactivated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Vijay Hardaha](https://wordpress.org/support/users/vijayhardaha/)
 * (@vijayhardaha)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470026)
 * Please contact your hosting support and ask them to enable `mysqli` also make
   sure you’re using at least php version 7.4 or 8.x
    -  This reply was modified 4 years, 6 months ago by [Vijay Hardaha](https://wordpress.org/support/users/vijayhardaha/).
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470305)
 * Will do, although I updated to php 8 when I started the WordPress installation.
   Thanks!
 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470559)
 * The stack trace goes through WP-CLI and cPanel, so this is not an issue with 
   the web-based WordPress install. Are you trying to install WordPress from the
   command line using hosting-supplied tools? If so, you should report the issue
   to your hosting company.
 * Also give some thought to installing WordPress using the latest release downloaded
   from: [https://wordpress.org/download/releases/](https://wordpress.org/download/releases/)
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470674)
 * Tech support updated mysqli and now I can log into my dashboard again. However,
   when I go to customize the site, I see the placeholders for a theme that’s not
   even listed and when I activate a new theme, the old remains. Anybody understand
   what’s going on?
 * This is a theme I had tried, btw, but it’s no longer listed in my WP themes.
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470684)
 * I forgot to say: I went back renamed the plugins files “plugins”, removing the“
   deactivate” part. Don’t know if that worked.
 *  [Vijay Hardaha](https://wordpress.org/support/users/vijayhardaha/)
 * (@vijayhardaha)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470694)
 * Will you be able to share screenshot of the problem to understand the it properly?
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470708)
 * It seems to be a problem with popularfx, so maybe I should go to that forum. 
   I don’t know how to upload a screenshot here. Happy to if you could explain how.
 *  [Vijay Hardaha](https://wordpress.org/support/users/vijayhardaha/)
 * (@vijayhardaha)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470723)
 * You can upload a screenshot of any public image sharing website like [https://snipboard.io/](https://snipboard.io/)
   and then copy the uploaded image link and add the link here.
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470737)
 * Thank you! I’ll keep that in mind for future reference. I think I’ve managed 
   to get things up and running again. At least, I hope so. Thanks for all your 
   help.
 *  Thread Starter [eissac](https://wordpress.org/support/users/eissac/)
 * (@eissac)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470738)
 * I’m going to mark this resolved.

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

 The topic ‘Critical Error-plugins are deactivated’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [eissac](https://wordpress.org/support/users/eissac/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/critical-error-plugins-are-deactivated/#post-15470738)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
