• Resolved dpkonofa

    (@dpkonofa)


    Jetpack is causing our site to throw a 502 Bad Gateway error. The site loads fine unless we try to go to the admin or re-enable Jetpack (I was able to get in through WP’s new recovery mode feature which disabled Jetpack for me). Here’s teh error it throws:

    An error of type E_ERROR was caused in line 20 of the file /home/customer/www/domain.com/public_html/wp-content/plugins/jetpack/require-lib.php. Error message: Allowed memory size of 805306368 bytes exhausted (tried to allocate 70862819588 bytes)

    Why would Jetpack be trying to allocate 70GB of memory?

    Edit – Troubleshooting a little further yields the following:

    1) Reverting the PHP version of the server allows me to load the site again and the admin. Putting it back to 7.4 or above crashes the site and emails me the error above.

    2) Jetpack says “Your site is connected to WordPress.com” under the “Site Connection” heading but I get a notification at the top of the page that says “Jetpack is powering your site, but to access all of its features you’ll need to connect your account to WordPress.com.”

    3) Disabling Jetpack allows me to use the site without issue, regardless of what PHP version I set the site’s server to.

    Seems like there’s some kind of issue with Jetpack and PHP 7.4. I’m using Jetpack 10.1 and WordPress 5.8.

    Edit 2 – Some more messing about:

    1) Enabling Jetpack and turning the PHP version to 8.0 or higher seems to work. The issues seems to lie exclusively with running versions of PHP 7 higher than 7.3.

    • This topic was modified 2 years, 7 months ago by dpkonofa. Reason: Additional troubleshooting
    • This topic was modified 2 years, 7 months ago by dpkonofa.
Viewing 6 replies - 16 through 21 (of 21 total)
  • Thanks @jeherve .. OK it looks like for me the Passwords Evolved plugin is part of the problem. I have replied on a support ticket here but there hasn’t been a response as of yet.

    Thread Starter dpkonofa

    (@dpkonofa)

    @jeherve – I think it must have been a bad install. I set up a staging site off the live site and downgraded Jetpack to 10.0 and the staging site loaded fine regardless of what PHP version I changed it to use. I then upgraded to 10.1 manually (rather than waiting for the auto-update), and it still works. I then repeated this process on the live site and both 10.0 and 10.1 seem to work without issue and, again, regardless of PHP version selected.

    So… for anyone else wondering about it here… the ol’ “turn if off and turn it back on” did the trick.

    • This reply was modified 2 years, 7 months ago by dpkonofa.

    I am having the same issue but the scary thing is my jetpack won’t show any menus.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @bgrated Could you please start your own thread, as per the Forum Welcome, and tell us more about your site and the issues you’re experiencing there?
    https://wordpress.org/support/plugin/jetpack#new-post

    Thank you!

    I got the same issue after updating to Wp 5.8.1

    disabled the JP plugin by writing -old infront of the jetbpack directory through file manager.

    The site was accessible again.

    Tried installing the plugin from scratch, installing and activating the plugin doesnt do anything – however if you connect it with wordpress it crashes the whole site and get the same error.

    I would think Jetpack has a known issue that got detected by the new wordpress feature resulting in this mess.

    Leaving jetpack uninstalled for now.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    @manimasood Could you please start your own thread, as per the Forum Welcome? Your problem seems a bit different from what’s discussed above, so it would be interesting to investigate further.
    https://wordpress.org/support/plugin/jetpack#new-post

    There, it would help if you could let us know if you get any specific errors logged on your site when enabling WordPress Debug mode on your site, and then trying to install a fresh version of the plugin.

    Thank you!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Jetpack causing site to crash’ is closed to new replies.