Fatal error after updating or installing Elementor or Elementor Pro

If your website is down because of a fatal error, check your email. WordPress sends a recovery link to the administrator of the site via email. The link always looks like this: /wp-login.php?action=enter_recovery_mode . Click the link in that email to gain access to your site’s WordPress dashboard once again.

Alternate method: Although the first method is much each easier, you can also deactivate your plugins by modifying their names via FTP. This will allow you to access the dashboard of WordPress.

After you’ve regained access, 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 error to us and to 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.

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: namespace declaration statement has to be the very first statement or after any declare call in the script:If you receive this error, go to your FTP files, delete Elementor (or Elementor Pro if the error is linked to Elementor pro) and install the latest version of Elementor (or Elementor Pro). You can get the latest version of Elementor Pro via your account on my.elementor.com. The latest version of Elementor is available in the  repository of WordPress. Most of the time, this happens because some third-party program corrupted your files. In this case, you can remove the space at the beginning of the line mentioned in the error.


.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.


Note

  • 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.

Share it on social networks

Share on facebook
Share on twitter
Share on linkedin
Share on email
Was this article helpful?

Get Started With Elementor Today

Join millions of professionals who use Elementor to build WordPress websites faster and better than ever before

On this page