Fatal error after updating or installing Elementor or Elementor Pro
If your website is down because of a fatal error, deactivate your plugins by modifying their names via FTP or simply use this URL to access your website in recovery mode: nameofyourwebsite/wp-login.php?action=entered_recovery_mode. This will allow you to access the dashboard of WordPress. Afterward, try to upload / update Elementor/ Elementor Pro one more time. If you do not know how to reach or modify the plugins' names via FTP, you can contact your hosting provider. Basically, you just have to go to your WP files and then to wp-content > plugins.
If this helps, please report the exact error to us and eventually the support of the plugin which conflicts with Elementor. If this does not help, please open a support ticket with the exact error via the support tab of your account on my.elementor.com.
You should receive the exact error in an email sent by WP. If it is not the case, ask your hosting provider to provide you the PHP error logs of your site.
Known fatal errors that can be easily solved:
.PHP Fatal error: Allowed memory size of ... bytes exhausted
This literally means that you are running out of memory. To solve this issue, contact your hosting company so that they can raise your WP memory limit accordingly. Sometimes, this memory limit can be set also via ModSecurity, so this has to be checked by your web host service provider.
.PHP fatal error: cannot use output buffering in output buffering display handlers in unknown on line 0:
This generally happens when you are using an old version of PHP. In this case, you have to ask your hosting company to update your PHP version to the latest version of PHP. You can do it sometimes by yourself via your Cpanel.
.PHP fatal error: Fatal error: require(): Failed opening required
This error happens when your server could not open a specific file. This error has to be reviewed by your hosting provider.
- If the name "elementor" does not appear in the error, that means that the issue is apparently not linked to Elementor.
- If the name of an addon for Elementor appears in the fatal error, that means that this plugin is probably not updated. If you cannot solve this by updating the addon, please contact the support of this addon.
- Sometimes fatal errors can be due to a corrupt database especially when the fatal error mentions the "core" code of Elementor. Indeed, some plugins and other third-party products can corrupt the database of your website and can prevent Elementor from functioning properly. If you use a database optimization plugin, please deactivate it before accepting an update of Elementor or Elementor pro.
- If you receive an error saying that some code is "deprecated" then that means that you are apparently using an addon for Elementor which is not updated. To confirm, you have to deactivate the addons for Elementor via FTP one by one to figure out which one is causing the issue.
- Make sure you update both Elementor and Elementor pro to avoid fatal errors.