I am trying to: Figure out why a 502 Error occurs anytime I update a page.
Link to a page where the issue can be seen: hidden link
I expected to see: Update
Instead, I got: 502 Error
I changed theme to Default WP Theme + disabled all plugins to no avail. I also added define( 'WPE_GOVERNOR', false ); but its still not working. Site is hosted with WP Engine. Please help.
Your following answer will be private, which means only you and I have access to it.
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if required. This is also a reason the backup is critical.
While checking your debug information, I noticed that your “WP Memory Limit” PHP limit is below the required 128MB or recommended 256MB as described at: https://wpml.org/home/minimum-requirements/ . Could you please contact your hosting provider and ask them to increase this PHP value for you?
I've checked and the issue is still there. Could you please check with wpengine support ? They need to check the server error logs to see what's causing the 502 Error issue.
I saw errors in the wp-content/debug.log but they seemed to be from ~12hrs ago
We may have to enable ajax logging to check further. I'm seeing processes stopped for admin-ajax as well as when editing
10 POST /wp-admin/admin-ajax.php
3 POST /wp-json/wp/v2/pages/2?_locale=user
3 POST /wp-admin/post.php?post=2&action=edit&meta-box-loader=1&me
And then when I was testing on my side, they replied with this:
Would you know what wpml_action might be tied to? Ajax logging has not been enabled for very long and we're seeing a lot of this
146 [action] => wpml_action
16 [action] => heartbeat
2 [action] => wp-remove-post-lock
I am starting a support ticket to provide more info, but is there anything from above that helps?
Ok, it looks like your hosting provider found the initial issue. An admin-ajax error is usually something that is blocking from your server side. Let me know how it went.
Thanks!
Kor
The topic ‘[Closed] 502 Error anytime updating a Page on WP Engine’ is closed to new replies.