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. This will allow you to access the dashboard of WordPress. Afterward, try to upload/ update  ElementorElementor Pro one more time. If you do not know how to reach or modify the plugins names via FTP, you can contact your hosting company.  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 send us a ticket with the exact error via [email protected] or preferably 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.

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 affect the well-functioning of Elementor, as a matter of fact. If you use a database optimization plugin, please deactivate it before accepting an update of Elementor or Elementor pro.