r/webhosting • • 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

12 comments sorted by

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.

1

u/Key-Independent9458 3d ago

if that doesn't get u back in, rename the elementor-pro folder in file manager. the error log will show the exact memory limit hit.

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/Icy_Definition5933 4d ago

On the subject of Elementor Pro and memory limits, according to official docs 256M is the minimum, 512M is recommended and 768M is optimal for best performance. However I've tested it on as low as 64M for smaller sites and it worked reliably, it only started breaking at 57M. Not saying anything you wrote is wrong, just adding information someone might find useful.

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:

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

  2. If the log says "Allowed memory size exhausted", the line above may fix it. If not, the host caps memory — ask Fasthosts support to raise PHP memory_limit to 256M (and check you're on PHP 8.1+).
  3. Make sure Elementor and Elementor Pro are both updated to the latest versions — Pro often breaks when the free plugin is older.
  4. If you can't get into wp-admin at all, rename wp-content/plugins/elementor-pro to elementor-pro-off, log in, update everything, rename it back.
  5. Since it started after the Angie AI edit, also check Elementor > Custom Code and your theme's functions.php for anything new.

When you're done, set WP_DEBUG back to false.