Title: 502 WPEngine
Last modified: September 6, 2017

---

# 502 WPEngine

 *  [mstephan](https://wordpress.org/support/users/mstephan/)
 * (@mstephan)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/502-wpengine/)
 * Somebody else already asked this question, but it seems you updated the code 
   since then and your answer no longer works. You said replace line 169, but I 
   think line 169 has moved, and I don’t know what it was originally.
 * The site I’m using it on is hosted on WP Engine. The Invitation page (/wp-login.
   php?action=slack-invitation)immediately gives a 502 – Bad Gateway error.
 * Do you have any idea why this might be happening? The WP Engine docs suggest 
   it may have to do with a timeout.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F502-wpengine%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘502 WPEngine’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lazy-invitation_8db673.svg)
 * [Je=== Slack Lazy Invitation](https://wordpress.org/plugins/lazy-invitation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lazy-invitation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-invitation/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-invitation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-invitation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-invitation/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mstephan](https://wordpress.org/support/users/mstephan/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/502-wpengine/)
 * Status: not resolved