Network Error 502 when saving content on a WordPress website

What is the name of the domain?

example.com

What is the error number?

502

What is the error message?

Bad Gateway

What is the issue you’re encountering

Network Error 502 when saving content on a WordPress website

What steps have you taken to resolve the issue?

Website functions fine and CMS content can be posted/saved when Cloudflare’s Cache/SSL are disabled (essentially when just using Cloudflare for its DNS service)
Running PHP 8.3, Apache, Ubuntu 24.04

Could you try creating an IP access rule where you allow your own server IP?

Thank you, in my case this wasn’t the issue but good to be aware of

This turned out to be a conflict with the popular ‘Query Monitor’ plugin. To resolve this issue your options appear to be to either disable the plugin or ser the QM_DISABLE_ERROR_HANDLER constant to true

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.