[ad_1]
I’ve updated jetpack to 11.5, and my website crashed as well.
Log:
/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php
row 2 E_COMPILE_ERROR
require(): Failed opening required wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php' (include_path='.:/opt/alt/php74/usr/share/pear')I’m on PHP version 7.4.
Thanks
same. tried to ping them on twitter but no response. can’t open a support ticket because i’m on the free plugin. but the free plugin is what crashed my website, so what do i do? I have the plugin paused currently
Error:
This plugin failed to load properly and is paused during recovery mode.
An error of type E_ERROR was caused in line 2 of the file /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php. Error message: Uncaught Error: Failed opening required '/home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php:2 Stack trace: #0 /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php(176): include() #1 /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php(48): Automattic\Jetpack\Waf\Waf_Runner::run() #2 /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/modules/waf.php(30): Automattic\Jetpack\Waf\Waf_Runner::initialize() #3 /home/u316027904/domains/tghuguenin.com/public_html/wp-content/plugins/jetpack/class.jetpack.php(1862): include_once('/home/u31602790...') #4 /home/u316027904/domains/tghuguenin.com/public_html/wp-includes/class-wp-hook.php(307): Jetpack::load_modules() #5 /home/u316027904/domains/tghuguenin.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /home/u316027904/domains/tghuguenin.com/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #7 /home/u316027904/domains/tghuguenin.com/public_html/wp-settings.php(461): do_action() #8 /home/u316027904/domains/tghuguenin.com/public_html/wp-config.php(100): require_once('/home/u31602790...') #9 /home/u316027904/domains/tghuguenin.com/public_html/wp-load.php(50): require_once('/home/u31602790...') #10 /home/u316027904/domains/tghuguenin.com/public_html/wp-login.php(12): require('/home/u31602790...') #11 {main} thrown- This reply was modified 3 hours, 56 minutes ago by tghuguenin.
I’m trying to downgrade the plugin to the previous working version.
I’ll ping you guys from here if downgrading fixes the issue
Hi guys,
I fixed it by using jetpack beta.
https://jetpack.com/download-jetpack-beta/
- download beta version from the site above.
- and upload this zip file as a new plugin. active it -> click plugin settings
- Jetpack Release version 11.5 -> Click manage
- Activate Bleeding Edge version
this version fixed the issue
at the suggestion of their twitter person, i deleted the plugin then reinstalled it. looks to be working again.
Thanks everyone for the reports. We’re investigating.
If it is any helps, I got a partial stack track:
2022/11/01 18:47:21 [error] 15460#15460: *154648 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'Automattic\Jetpack\Device_Detection' not found in /var/www/example.com/htdocs/wp-content/plugins/jetpack/functions.is-mobile.php:49
Stack trace:
#0 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/plugins/jetpack.php(76): jetpack_is_mobile()
#1 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(517): wp_super_cache_jetpack_cookie_check()
#2 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(550): do_cacheaction()
#3 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(32): wp_cache_check_mobile()
#4 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(85): get_wp_cache_key()
#5 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(127): wp_super_cache_init()
#6 /var/www/example.com/htdocs/wp-content/plugins/wp-super-cache/wp-cache-phase1.php(158): wp_cach`
For me turning off wp-supercache as a temporary measure fixed it.
The class does exist in the code, and pages are being served fine in my browser. But i suspect it is something to do with device detection to support supercache. Because that runs very early in the process, the class hasn’t been loaded.
Same exact problem … they’ll fix it with a little security update …
Disable with recovery mode (via email), load version 11.4 reactivate JetPack and wait for 11.5.1
Thanks @mikelittle, it looks like that issue is different than this issue. There is an existing report for the same error here: https://github.com/Automattic/jetpack/issues/27213
For the issues with Jetpack WAF, our team has identified a fix. For now, it seems reinstalling Jetpack seems to fix the issue. Additionally, de-activating and re-activating the waf module may fix it (wp jetpack module deactivate waf and wp jetpack module activate waf).
Please continue let us to know of any new instances of the problem so we know how widespread the issue is.
- This reply was modified 2 hours, 38 minutes ago by sdixon194.
Reinstalling version 11.5? As I wrote I’m back at 11.4 now
Same here…
Luckly I reach the recovery mode after several times tries cause everything is error error error! so deactivated!
”
This plugin failed to load properly and is paused during recovery mode.
An error of type E_ERROR was caused in line 2 of the file……”
- This reply was modified 1 hour, 7 minutes ago by ramikamil.
Same here too.
I had to contact hosting support to disable the plugin and they sent me this error log:
[01-Nov-2022 18:57:39 UTC] PHP Fatal error: require(): Failed opening required ‘/home/evangel1/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/evangel1/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php on line 2- This reply was modified 1 hour, 57 minutes ago by leonelrabelo.
