Archived topic
502 bad gateway error trying to edit homepage
3 replies · Started by Rocco on April 16, 2021
Hello, I run into a situation where I cannot edit my homepage because I get a 502 bad gateway error. I contacted my server support and they said that it has to do with the generator block plug-in. If I deactivate the plug-in that allows me to edit the home page. My server has a backup done every day so I went back one day before this corruption started but I still have the problem. Should I try to reinstall the generator block plugged in again?
Here are the notes:
I have checked and the plugin generateblocks was active:
baseos | u6-wvk3wykimzgp@c49270.sgvps.net:~/www/roccoc1.sg-host.com/public_html$ wp plugin status
11 installed plugins:
A bulletproof-security 4.7
I elementor 3.1.4
A generateblocks 1.3.3
A gp-premium 1.12.3
A lightweight-social-icons 1.1
A seo-by-rank-math 1.0.62
A sg-cachepress 5.7.20
A wp-featherlight 1.3.4
A wpforms-lite 1.6.6
M bps-mu-tools 6.0
D object-cache.php
Legend: A = Active, I = Inactive, M = Must Use, D = Drop-In
I have deactivated the plugin and flushed the application caches:
baseos | u6-wvk3wykimzgp@c49270.sgvps.net:~/www/roccoc1.sg-host.com/public_html$ wp plugin deactivate generateblocks
Plugin 'generateblocks' deactivated.
Success: Deactivated 1 of 1 plugins.
baseos | u6-wvk3wykimzgp@c49270.sgvps.net:~/www/roccoc1.sg-host.com/public_html$ wp cache flush
Success: The cache was flushed.
baseos | u6-wvk3wykimzgp@c49270.sgvps.net:~/www/roccoc1.sg-host.com/public_html$ wp sg purge
Success: Cache Successfully Purged
baseos | u6-wvk3wykimzgp@c49270.sgvps.net:~/www/roccoc1.sg-host.com/public_html$
I would again advise you to keep the plugin disabled and to contact the plugin developers as they should be able to provide you with more information on the matter being most familiar with the plugin settings and issues.
You may count on us for any changes on our end as per the developer's suggestions.
Hi there,
are you using any re-usable blocks on your site ?
Hey, Dave Yes the error first occurred when I was trying to use a reusable block. I've also noticed that I lost four saved blocks.
Could be related to the issue Tom answers here:
https://generatepress.com/forums/topic/generateblocks-causing-memory-leak-and/#post-1731804