Troubleshooting
Elementor shows a 500 or 503 error when saving changes
When you click Update or Save Draft in Elementor, the notice Server Error (500 error) appears and the changes are not saved:

A 500 only says that something has failed on the server. The first thing is to see the real error message. In most cases it turns out to be lack of memory, and it can be fixed in a minute.
The notice can also be Server Error (503 error). The usual cause is the same, memory, and everything below applies just the same; with a 503, look at the page revisions above all.
Before reloading the editor, copy or export (Save as Template) anything you do not want to lose.
1. See the exact error
Enable PHP error logging by adding these lines at the beginning of the .htaccess file in the folder where WordPress is installed (usually public_html):
php_value error_reporting -1
php_value display_errors Off
php_value log_errors On
php_value error_log "/home/USUARIO_CPANEL/error_log"
Replace USUARIO_CPANEL with your cPanel username. Errors will be saved in the error_log file in the root folder of your hosting (outside public_html, so nobody can download it), without being shown to visitors.
If you prefer, you can use WordPress's own debug log: it is explained in debugging errors in WordPress.
Go back to Elementor, save again to trigger the error and open the error_log file from the cPanel File Manager. Look for the last line with PHP Fatal error.
2. If the error is about memory
If you see something like this:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 233472 bytes) in wp-includes/wp-db.php on line 2022
WordPress has run out of memory (134217728 bytes is 128 MB). It is the most common cause: by default WordPress limits memory to 40 MB per process on the public side, enough for a normal website but too little for Elementor and its add-ons.
Open wp-config.php and add this line before the comment /* That's all, stop editing! Happy publishing. */ (in Spanish installations, /* ¡Eso es todo, deja de editar! Feliz blogging */):
define('WP_MEMORY_LIMIT', '256M');
If the file already has a WP_MEMORY_LIMIT line, change its value instead of adding another one. Save and try saving in Elementor.
If the error keeps appearing with the same message, go up to 384M or 512M, and also check the PHP limit in cPanel: Select PHP Version > Options > memory_limit must be equal to or higher than the one you set in WordPress. There is more detail in increase the memory_limit in WordPress.
Too many revisions on the page
If it still runs out with 512 MB, the usual reason is that the page has built up too many revisions. Every time you save, WordPress keeps a full copy of the page with all its Elementor data, and when saving it handles all of them at once. On a large page a few dozen revisions are enough to use up the memory however much you raise it. In that case the notice is usually a 503, the error_log can stay empty and sometimes the change is saved even though Elementor shows the error.
To stop them building up again, add this line to wp-config.php, next to the previous one:
define('WP_POST_REVISIONS', 20);
WordPress deletes the surplus revisions at the moment you save that page, so the line alone does not fix a page that no longer saves: the old ones have to be deleted first. You can do it with a free plugin such as WP-Optimize or WP-Sweep, or with WP-CLI from the cPanel Terminal, inside the WordPress folder. The first command says how many there are and the second deletes them; replace ID with the page number, which appears in the editor address (post=ID):
wp post list --post_type=revision --post_parent=ID --format=count wp post delete $(wp post list --post_type=revision --post_parent=ID --format=ids) --force
If you prefer, open a ticket and we will delete them for you.
If it still runs out after this, something is using too much memory: the file that appears at the end of the error is not always the culprit. Deactivate Elementor add-ons (addons, widget packs) one by one until you find the one that drives up consumption.
3. If the error is something else
- Error in a plugin or theme (the error path contains
wp-content/plugins/NAMEorwp-content/themes/NAME): update that plugin or theme. If it is already up to date, deactivate it and check whether Elementor saves. - Elementor and Elementor Pro with very different versions: update both to the latest version. You can compare the versions in Elementor > System Info.
error_logempty after triggering the failure: open the browser console (F12), Network tab, save in Elementor and look at the response of the request toadmin-ajax.phpthat returns 500. If it returns 503, check the page revisions first. If it returns 403, it is a firewall block: open a ticket with the exact time and we will look into it.
4. Undo the diagnostic changes
Once Elementor saves, remove the four php_value lines from the .htaccess and delete the error_log file. Leave the WP_MEMORY_LIMIT line in wp-config.php.
You may also find useful
- Website built with Elementor does not show images or styles correctly Fix Elementor images and CSS that still point to the old domain by replacing the saved URL and regen...
- 404 errors on static files slow down browsing Detect missing static resources that trigger PHP and use CPU, serve them as lightweight 404s and gui...
- Debug errors in WordPress with WP_DEBUG Enable WP_DEBUG in wp-config.php to display WordPress errors or log them to a file and find the caus...
- Diagnose "Missed schedule" Check why a scheduled post was not published before replacing WP-Cron with a server task.
Something wrong or out of date? Tell us and we will review it.