help center

Search
Close this search box.
On this page

502 error

Last Update: February 12, 2024

Issue

When editing a page with Elementor you get a 502 error. 

As per IETF, 502 status code, indicates the following:

  • Proxies: If you get a bad gateway note, you’re working with a gateway or proxy server.
  • Connection: The proxy tried to work with the origin server.
  • Mistake: The proxy got some kind of invalid response from the server.

For more information on 502 error, refer Bad Gateway Errors: Why They Happen and 5 Solutions | Okta 

Possible cause

When a server gets an invalid response from another server, the system gives 502 bad gateway messages.

Solution

To solve the 502 error, follow the below steps:

  1. Login to WP Admin.
  2. Go to  Elementor > Settings > Advanced.
  3. Enable Switch Editor Loader Method. This changes the Elementor editor loader method.
    502 error

If you are using the Elementor plugin, then you may need to increase a particular Apache service limit. Add the following lines inside the website’s .htaccess file:

<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>

You can edit that file using any of the following:

  • SSH
  • FTP
  • File Manager tool in cPanel

Contact your website hosting provider for further support with the 502 error.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article

Platinum popup banner