# 502 Error only on admin

**URL:** <https://community.localwp.com/t/502-error-only-on-admin/52564>\
**Category:** Support\
**Created:** [September 17, 2026, 8:57am UTC](https://community.localwp.com/t/502-error-only-on-admin/52564 "2026-09-17T08:57:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alex.cosmo](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@alex.cosmo](https://community.localwp.com/u/alex.cosmo)\
**Post date:** [September 17, 2026, 9:29am UTC](https://community.localwp.com/t/502-error-only-on-admin/52564/2 "2026-09-17T09:29:31Z")

</div>

Ok for those looking for a solution to this…

**Make sure your PHP version is up to date.**

My PHP was 8.2.9 - I upgraded it to 8.5.3 (the latest at time of posting) and that seemed to fix the issue.

Not sure why it was working until today but that was my solution anyway.

---

_[View the full topic](https://community.localwp.com/t/502-error-only-on-admin/52564)._
