502 error when I try to edit with Elementor

If you get a 502 error when you try to edit with Elementor you have to do two things:

  • Change the loader method
  • Add SubstituteMaxLineLength 5m to your public_html/.htaccess file. If it does not help, replace the 5 by 10.