Disable Plugins and Change Themes from phpMyAdmin

Deactivating plugins and changing themes is typically done easily from your WP Admin area. If you are receiving errors that prevent accessing the admin dashboard, however, you will need to make these changes from the database instead.


Disable Plugins from phpMyAdmin

  1. Log in to the User Portal
  2. Select the environment name
  3. Click phpMyAdmin at the top
  4. Select the database name (typically wp_environmentname)
  5. Select the wp_options table
    • Take into account if you have a custom database prefix, where wp_ may be replaced with something else.
  6. Locate the row called active_plugins
  1. Delete everything in the option_value column on this row
  2. Press Enter or Return on your keyboard to save

NOTE: The information in this row will be regenerated automatically by WordPress as you reactivate plugins from the WP Admin.


Change Theme from phpMyAdmin

  1. Log in to the User Portal
  2. Select the environment name
  3. Click phpMyAdmin
  4. Select the database name (typically wp_environmentname)
  5. Select the wp_options table
    • Take into account if you have a custom database prefix
  6. Locate the rows called template and stylesheet
  1. Modify the option_value for both of these rows to a new theme name
    • EX: twentynineteen
  2. Press Enter or Return on your keyboard to save

NOTE: You will need to ensure you’re activating a theme that is installed on the site. You can check which themes are installed by viewing the wp-content/themes directory with SFTP.


NEXT STEP: Troubleshoot errors with the WP Engine error logs