• Resolved hareon

    (@hareon)


    I have automatic updates enabled for the Jetpack plugin, however, today when I woke up, I came across the wordpress white screen message accusing Fatal Error.

    [01-Nov-2022 17:27:00 UTC] PHP Fatal error: Uncaught Error: Failed opening required ‘/home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php’ (include_path=’.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php:2

    The file /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php does not exist on my site.

    Um erro do tipo E_ERROR foi causado na linha 2 do arquivo /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php. Mensagem de erro: Uncaught Error: Failed opening required '/home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php:2 Stack trace: #0 /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php(176): include() #1 /home/bzoshyqv/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/bzoshyqv/public_html/wp-content/plugins/jetpack/modules/waf.php(30): Automattic\Jetpack\Waf\Waf_Runner::initialize() #3 /home/bzoshyqv/public_html/wp-content/plugins/jetpack/class.jetpack.php(1862): include_once('/home/bzoshyqv/...') #4 /home/bzoshyqv/public_html/wp-includes/class-wp-hook.php(307): Jetpack::load_modules() #5 /home/bzoshyqv/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /home/bzoshyqv/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #7 /home/bzoshyqv/public_html/wp-settings.php(461): do_action() #8 /home/bzoshyqv/public_html/wp-config.php(109): require_once('/home/bzoshyqv/...') #9 /home/bzoshyqv/public_html/wp-load.php(50): require_once('/home/bzoshyqv/...') #10 /home/bzoshyqv/public_html/wp-login.php(12): require('/home/bzoshyqv/...') #11 {main} thrown

    I was able to access my site only through the maintenance mode with the email that WordPress sends.

    Ao procurar ajuda com esse problema, você pode ser solicitado a fornecer algumas das seguintes informações:
    WordPress versão 6.0.3
    Tema atual: Essentials (versão 3.0.4)
    Plugin atual: Jetpack (versão 11.5)
    PHP versão 8.0.24
    
    Detalhes do erro
    ================
    Um erro do tipo E_ERROR foi causado na linha 2 do arquivo /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php. Mensagem de erro: Uncaught Error: Failed opening required '/home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/../rules/allow-ip.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/rules/rules.php:2
    Stack trace:
    #0 /home/bzoshyqv/public_html/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php(176): include()
    #1 /home/bzoshyqv/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/bzoshyqv/public_html/wp-content/plugins/jetpack/modules/waf.php(30): Automattic\Jetpack\Waf\Waf_Runner::initialize()
    #3 /home/bzoshyqv/public_html/wp-content/plugins/jetpack/class.jetpack.php(1862): include_once('/home/bzoshyqv/...')
    #4 /home/bzoshyqv/public_html/wp-includes/class-wp-hook.php(307): Jetpack::load_modules()
    #5 /home/bzoshyqv/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #6 /home/bzoshyqv/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #7 /home/bzoshyqv/public_html/wp-settings.php(461): do_action()
    #8 /home/bzoshyqv/public_html/wp-config.php(109): require_once('/home/bzoshyqv/...')
    #9 /home/bzoshyqv/public_html/wp-load.php(50): require_once('/home/bzoshyqv/...')
    #10 /home/bzoshyqv/public_html/wp-admin/admin.php(34): require_once('/home/bzoshyqv/...')
    #11 {main}
      thrown
    I resumed access to my site after deactivating the plugin.
    
    Please fix this issue.
    
    Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Same here!
    I had to contact hosting support to disable the plugin and they sent me a similar error.

    It’s a temporary solution but you can delete the “rules” directory in jetpack/jetpack_vendor/automattic/jetpack-waf/ which should fix the issue. The folder doesn’t exist in any other version and the file inside the rules directory is calling for files that don’t exist

    Hi @hareon,

    Sorry for the inconvenience there. We are aware of the issue and working on a point release (11.5.1) to fix it. It should be out in the next 24 hours.

    In the meantime, removing and re-installing Jetpack 11.5 or deactivating and reactivating the WAF module via WP CLI, as @r33c3 hints at, will fix the issue. There’s more information about this here as @lukefiretoss has shared.

    Regards.

    Hello,
    yesterday I had that fatal error. I removed jetpack with filezila and reinstalled it. It worked until the WordPress update this morning. It crashed with that update and I had to remove jetpack again with filezila and reinstalled It.
    Question : i’m at home with the computer so i can use filezila. What can I do if i have only the Android phone ? No more access to Website or admin so i need an access to the jetpack folder of the Website to delete It.

    • This reply was modified 1 year, 9 months ago by sylvsteph.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Jetpack is causing fatal error after automatic update’ is closed to new replies.