r/webhosting • u/Cutie3333 • 4d ago
Advice Needed Critical error
Hi, I have built a website with Elementor pro and I also tried using the Angie ai to do some edits but it just broke my header and then I got a critical message, my website works with normal Elementor but Elementor pro if I activate the plug in it just gets critical error on website and I can’t edit my website on Elementor editor and get server 500 error,
I’ve been told I need to increase the PHP
wp-config.php file
But I can’t see how to do it I’m with Fasthosts (I’ve also been told that it’s a bad host
I need some advice please thanks
0
Upvotes
2
u/lexmozli 4d ago
Check cPanel -> Select PHP version -> options and increase memory limit.
Or cPanel -> MultiPHP Options -> PHP Memory and increase it.
Assuming fast hosts offer cPanel access.
Or, contact your host and ask for it.
2
u/fer_marketing 4d ago
wp-config.php is in the main folder of the site, the same one that has wp-admin and wp-content. On Fasthosts you can open it from the File Manager in the control panel, or over SFTP. Add these two lines above the one that says "That's all, stop editing!":
define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
If the error is still there, turn on the debug log in the same file (WP_DEBUG and WP_DEBUG_LOG set to true), load the page again and open wp-content/debug.log. It names the exact file that fails, so you know if it's Pro, the header template or something else. Turn WP_DEBUG back off after.
1
u/shifu160 4d ago
do you have access to file manager? you can access wp config file easily and most hosts has this
1
u/themageofavalon 4d ago
How is this working for you now? Adding resources should fix that as Elementor is quite resource intensive.
1
u/David_UltraWeb 4d ago
Before you touch memory limits, the fact that it only breaks when Pro is active and started right after Angie edited your header makes me think the AI left behind a broken header template or a half-saved global setting, not just a resource issue. The debug log someone mentioned will tell you for sure.
Quick thing to try: load wp-admin with ?elementor-clear-files added, or roll the header back to a saved revision. And memory ceilings also depend on what your plan actually allows, so bumping the number in wp-config does nothing if the host caps PHP memory lower. That's worth confirming with support rather than assuming the line fixed it.
1
u/Last_Pay8887 3d ago
it's likely a memory limit or a bad header/template saved by that AI edit rather than just a PHP tweak, and you can edit
1
u/twhiting9275 3d ago
It’s almost always memory limit causing this . Without knowing the panel though, it’s kind of hard to help you out
1
u/Fine_Crew9625 3d ago
A 500 / "critical error" right after activating Elementor Pro is almost always one of three things: PHP memory, a version mismatch between Elementor and Elementor Pro, or something the AI edit added. To find out which instead of guessing:
Turn on the error log. In your hosting file manager (or SFTP), open wp-config.php in the site's main folder and, above the line "That's all, stop editing", add:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_MEMORY_LIMIT', '256M');
Reload the broken page, then open wp-content/debug.log — the last lines name the exact file and plugin that fails.
When you're done, set WP_DEBUG back to false.