WPRentals Theme Documentation WPRentals Theme Documentation

  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API
Home / FAQ / Elementor editor returns Page not Found or There has been a critical error on this website

Elementor editor returns Page not Found or There has been a critical error on this website

200 views

If you see a “Page not found” message or “There has been a critical error on this website”
when trying to edit a page with Elementor in the WPRentals theme, this is usually caused by how the Elementor editor is loaded on your server.

In most cases, the issue is resolved by enabling the
Switch Editor Loader Method option in Elementor settings.

CONTENT

  • Why this error happens
  • Common causes
  • What “Switch Editor Loader Method” does
  • Should you keep it enabled?

Why this error happens

When you click Edit with Elementor, Elementor needs to load its editor inside the WordPress admin area.

If that loading process is blocked or altered by the server or a plugin, WordPress may return a 404 Page Not Found or a critical error instead of opening the editor.

Common causes

1. ModSecurity or server firewall blocks Elementor requests

Many shared or secured hosting environments use ModSecurity or firewall rules that
mistakenly flag Elementor’s editor requests as suspicious.

When those requests are blocked:

  • Elementor cannot load its editor
  • WordPress responds with a 404 or critical error page

2. Server incompatibility with the default editor loader

Some server setups (NGINX, LiteSpeed, or custom Apache configurations) have issues with:

  • URL rewriting
  • REST API endpoint access
  • Long query strings
  • Backend iframe loading

Any of these can prevent Elementor’s default editor loader from working correctly.

3. Conflicts with caching or security plugins

Plugins such as:

  • Wordfence
  • Sucuri
  • iThemes Security
  • LiteSpeed Cache

can block, cache, or rewrite Elementor editor requests.
When this happens, Elementor may display errors like:

  • Preview could not be loaded
  • Page Not Found
  • There has been a critical error on this website

What “Switch Editor Loader Method” actually does

This option forces Elementor to use a more compatible fallback method to load the editor.

When enabled, Elementor changes:

  • How the editor iframe is loaded
  • How AJAX requests are executed
  • How query parameters are passed to the editor

This avoids loading methods that are commonly blocked by firewalls, security plugins,
or restrictive hosting environments.

As a result, Elementor bypasses the blocked path and the editor loads correctly.

Should you keep it enabled?

Yes.

If enabling Switch Editor Loader Method fixes the issue, you should leave it enabled.

This setting:

  • Does not affect site visitors
  • Does not impact frontend performance
  • Only changes how Elementor loads inside the WordPress admin

If the editor works correctly after enabling this option, no further action is required.

FAQ

Related Articles

  • FAQ – Can I edit or change booking dates after a reservation is made?
  • Fix: Property Images Upload but Do Not Display (Missing Thumbnails)
  • How to update to WordPress 6.7 and Elementor 3.26 in WPRentals Theme
  • How to modify theme default text to a different wording with Loco Translate or Poedit

HELP CATEGORIES

  • 71. General
  • 102. Installation & Basic Setup
  • 393. How Booking Works
  • 20Advanced Search
  • 18Elementor Free & WP Rentals Studio
  • 13Email Notifications
  • 12FAQ
  • 14Installation FAQ
  • 10Menu Options
  • 27Multi-Languages - 3rd party
  • 33Owner & Renter
  • 9Page Templates
  • 23Property / Listing
  • 22Shortcodes
  • 4Supported Maps
  • 98Technical how to
  • 5Third Party plugins
  • 3Translation
  • 3WordPress Blog Post
  • 13WordPress Widgets
  • 13WP Rentals Payments
  • 79WP Rentals Theme Options

Join Us On

Powered by WP Estate - All Rights Reserved
  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API