Title: Jetpack Plugin Causing Fatal Error
Last modified: March 3, 2021

---

# Jetpack Plugin Causing Fatal Error

 *  Resolved [sobeautystuff](https://wordpress.org/support/users/sobeautystuff/)
 * (@sobeautystuff)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/jetpack-plugin-causing-fatal-error/)
 * Good morning,
    I received an email saying “Since WordPress 5.2 there is a built-
   in feature that detects when a plugin or theme causes a fatal error on your site,
   and notifies you with this automated email.
 * In this case, WordPress caught an error with one of your plugins, Jetpack by 
   WordPress.com.”
 * When I try and login to WordPress (or visit my site) I get this error message:“
   Fatal error: Namespace declaration statement has to be the very first statement
   or after any declare call in the script in /home4/sobeaut3/public_html/wp-content/
   plugins/jetpack/src/class-tracking.php on line 2”
 * There is a link in the email to access via ‘recovery mode’ but this doesn’t work(
   it does say this link will expire in 1 day, but it’s only been 17 hours since
   receiving the email)
 * Any ideas on how else I can access my dashboard to fix this? Any ideas how to
   fix this?
 * WordPress version 5.6.2
    Current theme: Massive Dynamic (version 6.1) Current
   plugin: Jetpack by WordPress.com (version 9.4) PHP version 7.3.27
 * Thank you,
 * Sarah
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjetpack-plugin-causing-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Vlad](https://wordpress.org/support/users/vladytimy/)
 * (@vladytimy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/jetpack-plugin-causing-fatal-error/#post-14127191)
 * Hi, [@sobeautystuff](https://wordpress.org/support/users/sobeautystuff/)
 * Try manually deactivating your plugin (no Dashboard access required) using one
   of the two methods listed below (also described [here](https://wordpress.org/support/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)).
 * 1. Deactivate your plugin via [FTP](https://wordpress.org/support/article/ftp-clients/)
   or the file manager provided in your host’s control panel.
    - Navigate to the `wp-contents/plugins` folder
    - Rename the folder `jetpack` in it to `jetpack.hold`
    - Go to Dashboard > Plugins and you’ll see the “missing” plugin (jetpack ) has
      been disabled.
 * 2. Use [phpMyAdmin](https://wordpress.org/support/article/phpmyadmin/) to deactivate
   all plugins.
    - In the table _wp\_options_, under the _option\_name_ column find the `active_plugins`
      field. (The table prefix of _wp\__ may be different if you changed it when
      installing)
    - On this row, change the `option_value` field to: `a:0:{}`. **Save the changes
      and this will deactivate all plugins.**
    - Then from Dashboard > Plugins you need to reactivate all plugins, except the
      one causing you troubles – jetpack
 * After you regain access to your Dashboard,
    I recommend asking at [https://wordpress.org/support/plugin/jetpack](https://wordpress.org/support/plugin/jetpack)
   so the plugin’s developers and support community can help you with this.
 * Hope this helps,
    Kind regards!
 *  Thread Starter [sobeautystuff](https://wordpress.org/support/users/sobeautystuff/)
 * (@sobeautystuff)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/jetpack-plugin-causing-fatal-error/#post-14127576)
 * Excellent, this has worked and I’m back in. Thank you so much for your help! 
   🙂

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

The topic ‘Jetpack Plugin Causing Fatal Error’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sobeautystuff](https://wordpress.org/support/users/sobeautystuff/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/jetpack-plugin-causing-fatal-error/#post-14127576)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
