VIDEO: SOLVED: Easy Fix For Jetpack Errors In WordPress Like “failed to open stream” & “No such file”

After a WordPress upgrade you may find errors relating to Jetpack. The typical solution is to use an FTP program like FileZilla and rename the Jetpack folder.

However, you may then be unable to log into the wp-admin page. You might see errors like:

Warning: fopen(/home/content/22/7568022/html/YOUR SITE/wp-content/plugins/jetpack/jetpack.php): failed to open stream: No such file or directory in /home/content/22/7568022/html/YOUR SITE/wp-includes/functions.php on line 5974

The solution is to:

  1. Use an FTP program like FileZilla to rename any existing Jetpack folders
  2. Manually create a new folder named jetpack on your site (in the wp-content/plugins folder)
  3. Download a fresh copy of Jetpack from the developer HERE
  4. Unzip Jetpack
  5. Copy jetpack.php into the wp-content/plugins/jetpack folder
  6. Log into your sites wp-admin page
  7. Deactivate and delete any copies of Jetpack from the Plugins section
  8. Reinstall and reconfigure Jetpack

 

Fix Pluggable and Jetpack errors like:

Warning: fopen(/home/content/22/7568022/html/commodore/wp-content/plugins/jetpack/jetpack.php): failed to open stream: No such file or directory in /home/content/22/7568022/html/commodore/wp-includes/functions.php on line 5974

Warning: fread() expects parameter 1 to be resource, boolean given in /home/content/22/7568022/html/commodore/wp-includes/functions.php on line 5977

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/content/22/7568022/html/commodore/wp-includes/functions.php on line 5980

Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/7568022/html/commodore/wp-includes/functions.php:5974) in /home/content/22/7568022/html/commodore/wp-includes/functions.php on line 6221

Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/7568022/html/commodore/wp-includes/functions.php:5974) in /home/content/22/7568022/html/commodore/wp-admin/includes/misc.php on line 1282

Warning: Cannot modify header information – headers already sent by (output started at /home/content/22/7568022/html/commodore/wp-includes/functions.php:5974) in /home/content/22/7568022/html/commodore/wp-admin/admin-header.php on line 9

Questions or Comments?