Are you working with the following setup on your WordPress site –
- Astra theme ( with/without Astra Pro Addon plugin )
- Elementor plugin ( with/without Elementor Pro plugin )
While trying to build a page, sometimes you might face the popup in Elementor that says ‘The preview could not be loaded’. This problem can be caused due to many reasons.
1. For initial debugging refer the following document by Elementor
How to Fix the ‘Preview Could Not Be Loaded’ Error
2. One of the reasons of this problem can be hosting. The following solution might work in some scenarios but it is not always the case. Initially, check the above document and then try the following solution.
Sometimes the plugin reaches a default limit set with the server. You can try raising the default limit with the following code. The code needs to be added into the .htaccess file.
<IfModule mod_substitute.c> SubstituteMaxLineLength 10M </IfModule>
Please note that this may not solve the issue in all cases. Always prioritize backups and thoroughly consult your hosting provider before modifying server configurations.