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.

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.
