Hey guys,
on certain pages I get the error “the preview could not load…”. I dont have any caching active. In the console there is a 500 error. Do you know what the problem is?
Thanks and best!
Hey guys,
on certain pages I get the error “the preview could not load…”. I dont have any caching active. In the console there is a 500 error. Do you know what the problem is?
Thanks and best!
Hello @RSMG,
Thanks for writing in! I have checked your site and I can confirm that there is an error 500 in the console. In most case, an error 500 is a fatal error which can be caused by PHP memory exhaustion or by a PHP error. We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );
You can add it before the line
/*That's all, stop editing! Happy Blogging. */
If the error still exist, then it must be a PHP error which we do not know yet. You will need to enabled the debug mode. You can do this by opening wp-config.php and adding
define('WP_DEBUG', true);
/* That's all, stop editing! Happy blogging. */
When you revisit the page, you should have some error output describing the issue in more detail.
We would loved to know if this has work for you. Thank you.
Hello and thank you for your fast answer! The increased memory limit did not solved the problem but I found some errors in the error log about “ModSecurity”. I asked now the server operator to increase these limits.
Hi,
Please let us know how it goes.
Thanks
Error fixed, it was something with mod_security and a file limit. He increased it and now everything is fine again.
Thank you guys!
You’re more than welcome, glad we could help.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.