How to Increase the PHP Memory Limit
As websites have become more visually complex, the system resources needed by advanced page builders like Elementor have risen at the same rate. Many shared servers offer 128MB or 256MB of memory by default, but modern widget structures and AI integrations quickly push past that limit. When memory runs out, the PHP process stops and the editor freezes while loading.
Editing the wp-config.php file is the most basic and effective way to fix this. This server-side change gives WordPress the room it needs for heavier operations. If the edit does not work, you also need to check the global limit in your hosting provider’s PHP settings (php.ini).
Optimizing system resources not only gets the editor to open but also speeds up how quickly design changes appear in the live preview. Raising the memory limit to 512MB or 1024MB is considered standard for a stable working environment by current standards.
- Add the code “define('WP_MEMORY_LIMIT', '512M');” to your wp-config.php file.
- Add the “php_value memory_limit 512M” directive to your .htaccess file.
- Go to PHP Options in your hosting panel (cPanel/Plesk) and update the limit manually.
- Make sure your PHP version is 8.3 or later.
- Raise the ‘Max Execution Time’ value on the server to 300 seconds.
| Issue type | Possible cause | 2026 fix | Difficulty | Success Rate |
|---|---|---|---|---|
| Endless Loading Spinner | Insufficient PHP Memory | Editing wp-config.php | Low | %85 |
| Blank White Screen | Plugin conflict | Enabling Safe Mode | Medium | %90 |
| Empty Widget Panel | REST API Blocked | Granting Endpoint Permissions | High | %75 |
| Slow Loading | Large DOM Size | Elementor Experiments (Grid) | Medium | %80 |
| Save Error | Admin-Ajax Issue | Heartbeat Control | Low | %70 |
Managing Plugin Conflicts and Safe Mode
The Elementor ecosystem is supported by thousands of third-party plugins, but this variety also brings compatibility problems. When current Elementor core files conflict with plugins written to older coding standards, JavaScript errors occur. These errors prevent the scripts the editor needs from loading in sequence and cause an endless loading loop.
Elementor’s “Safe Mode” is the most important tool for finding the source of the problem. When Safe Mode is on, only Elementor and the core WordPress components load, and all other plugins are temporarily disabled. If the editor opens without issues in this mode, the problem definitely comes from one of your other installed plugins.
Disabling plugins one by one and checking the editor each time is a classic but reliable way to find the problematic plugin. Caching, security and optimization plugins in particular should be checked first, as they often block Elementor’s editor files by mistake.
- Turn on Safe Mode from the Elementor > Tools menu.
- Open the browser console (F12) and review the JavaScript errors shown in red.
- Fully clear your cache plugins and turn them off temporarily.
- Deactivate add-ons such as “Add-on for Elementor” tools one by one in your plugin list.
- Switch to a default theme (such as Hello Elementor) to check whether your theme is fully compatible with Elementor.
Source: WordPress.org Plugin Directory
Browser Settings and Hardware Acceleration Fixes
The Elementor editor uses a lot of JavaScript and CSS processing power to build its interface. Modern browsers (Chrome, Edge, Safari) use the computer’s graphics processor (GPU) to lighten this load. However, a misconfigured browser setting or disabled hardware acceleration can bring the editor’s rendering process to a halt.
Browsers may restrict some scripts because of their security protocols. Ad blockers and privacy-focused extensions in particular can mistake Elementor’s “admin-ajax.php” requests for a tracking script and block them. This cuts the editor’s communication with the server and leaves it stuck on the loading screen.
A corrupted browser cache is another common problem. When stylesheets left over from an old version conflict with scripts from the new version, the browser cannot decide which to prioritize. That is why using a clean browser profile or an incognito window is always recommended at the start of troubleshooting.
- Turn on the “Use hardware acceleration when available” option in your browser settings.
- Disable all ad blocker extensions while on the Elementor editing page.
- Clear your browser cache and cookies with the “All time” option.
- Check whether WebGL support is enabled in your browser.
- Use a different browser engine (such as Firefox instead of Chromium) to narrow down the source of the problem.
Changing the Loader Method and Server Configuration
Elementor uses a specific method to load the editor, but some server configurations may see this method as a “security threat.” Firewalls such as ModSecurity in particular can block the large JSON payloads the editor sends. Elementor’s developers are aware of this, so they added the “Switch Front-end Editor Loader Method” option to the settings.
When you change this setting, Elementor packages the data differently and sends it to the server. This is a lifesaver especially for users on shared hosting who have little chance to change server-side settings. As more hosting companies apply stricter security rules, this setting is becoming increasingly common.
Faulty redirects or restrictions in the server’s .htaccess file can also prevent the editor from loading. Redirect loops that appear after installing an SSL certificate, in particular, cause the editor to show a “mixed content” error and leave the loading spinner turning forever.
- Go to the Elementor > Settings > Advanced tab.
- Set the “Switch Editor Loader Method” option to “Enable.”
- Align your site addresses (HTTPS) with a plugin such as “Really Simple SSL” to fix SSL errors.
- If the server runs ModSecurity, ask your hosting support to add an exception for Elementor.
- Set the “CSS Print Method” to “External File” to prevent z-index or CSS conflicts.
Optimizing Cloudflare and CDN Cache Settings
Content delivery networks (CDNs) and services like Cloudflare speed up websites, but they can sometimes clash with the Elementor editor. Cloudflare’s “Rocket Loader” feature in particular changes the load order of JavaScript files, so Elementor’s critical scripts run at the wrong time. As a result, the editor interface fails to load completely.
In current advanced CDN configurations, never caching admin (wp-admin) pages is a critical rule. If Cloudflare caches all pages with a “Cache Everything” rule, the Elementor editor’s dynamic structure breaks. When the editor tries to load an outdated cached file, the system locks up.
The fix is to create custom “Page Rules” in Cloudflare. These rules should exempt the wp-admin directory and Elementor editing URLs from optimization. That way, you keep your site fast and avoid technical roadblocks while editing.
- Turn off the “Rocket Loader” feature completely in the Cloudflare dashboard or disable it for wp-admin.
- Go to “Page Rules” and set the path “yourdomain.com/wp-admin/” to “Bypass Cache.”
- If your CDN offers JavaScript/CSS minification, temporarily disable it.
- Clear the Varnish or Nginx FastCGI cache on your server.
- Make sure hotlink protection is not blocking Elementor images and scripts.
Configuring Elementor Experiments and Beta Features
Elementor constantly develops new technologies to improve performance and offers them under the “Experiments” tab. However, some “Alpha” or “Beta” features still in development can conflict with your current theme and crash the editor. Features such as “Optimize DOM Output” or “Improved Asset Loading” in particular can block scripts from loading in some cases.
If the editor problem started after a new update, check whether one of these experiments was activated automatically. Turning off features that are not “Stable” usually gets the editor working again. On the other hand, activating features that have become standard, such as “Flexbox Container,” can fix performance problems caused by the old “Section/Column” structure.
The Experiments tab is a great place to modernize your site’s infrastructure, but remember that not every feature performs the same on every server. During troubleshooting, resetting these settings to their default state helps the system return to its most stable condition.
- Go to Elementor > Settings > Experiments, set all features to “Inactive” and test.
- Turn off the “Inline Font Icons” feature to check for icon loading errors.
- Check whether new interface features such as the “Editor Top Bar” are compatible with your browser.
- Make sure the “Improved CSS Loading” feature is not blocking stylesheets.
- After each change, click the “Elementor > Tools > Regenerate Files & Data” button.
Database Health and REST API Accessibility
Elementor uses the WordPress REST API to save changes in the editor and fetch the widget list. If a security plugin on your site (Wordfence, iThemes Security, etc.) restricts REST API access, the Elementor editor cannot communicate with the server and gets stuck on the loading screen. Because security plugins have become more aggressive in response to rising cyberattacks, this problem is common.
In addition, thousands of page revisions and leftover data piling up in the database slow down Elementor’s queries. Unoptimized database tables can cause the editor to time out while fetching data. A clean database lets the editor load in just seconds.
You can check whether the REST API is working in the WordPress “Site Health” screen. If you see an error message there, it means the problem affects not only Elementor but all WordPress admin processes.
- Confirm in WordPress Site Health that the REST API status is working.
- Use a tool such as “WP-Optimize” to clean unnecessary revisions from the database.
- Make sure the “Stop users from accessing REST API” option is turned off in your security plugins.
- Check whether your .htaccess file contains a custom rule that blocks REST API requests.
- Make sure your database engine (MySQL/MariaDB) is up to date and optimized.
Source: Web performance and rendering
Frequently Asked Questions
1. Why does Elementor keep getting stuck on the loading spinner?
It is usually caused by an insufficient PHP memory limit or a plugin creating a JavaScript conflict. The browser cache or REST API blocks can also trigger it.
2. What should I set the PHP memory limit to?
By current standards, a minimum of 512MB is recommended for a smooth experience, and 1024MB for complex sites. You can easily raise this value in the wp-config.php file.
3. Will Safe Mode delete my data?
No. Safe Mode only disables plugins temporarily so you can diagnose the problem. Your designs and content are not affected in any way.
4. Does using Cloudflare break Elementor?
If it is not configured correctly, yes; the Rocket Loader feature in particular can break editor scripts. Excluding the wp-admin directory from optimization with Page Rules solves this.
5. What does it mean if it works in a different browser?
If Elementor opens in another browser, the problem is in your current browser’s cache or in one of its installed extensions. In that case, clearing your browser data fixes it.
Overcoming Elementor editor problems comes down to staying in sync with modern server configurations and browser settings. By following the technical steps above in order, you can escape the endless loading loop and get back to your designs without interruption.
In summary
The most effective ways to fix Elementor loading problems are raising the PHP memory limit, checking for plugin conflicts with Safe Mode and optimizing your browser’s hardware acceleration settings.
















