WordPress 502 After a PHP or Server Change: Compare the Upstream Configuration
If a site begins returning 502 after a PHP version switch or server change, record the changed setting and failure time before rolling back. The gateway received an invalid upstream response; the status alone does not identify the faulty WordPress component. Use the maintenance history and service logs to recover the affected path and plan … Read more