White screen when opening bricks editor in some pages

Hi everyone,

I am facing a very specific issue where the Bricks editor completely refuses to open certain pages. Every time I click “Edit with Bricks”, the editor crashes, JavaScript fails, and it redirects me to a white screen on the frontend with the URL parameter ?bricks=run.

Here is the crucial clue:

· Pages in the Main Header Menu (Mega Menu) DO NOT work. Whenever I try to open pre-existing pages that are linked in the main header menu (like Homepage, About us, etc.), the editor crashes.

· The only exception is a brand-new page (e.g., “test”). If I create a new page and add it to the header menu, it opens in the Bricks editor flawlessly.

· Pages in the Footer (like Privacy Policy, etc.) DO work perfectly. Any page that is linked only in the footer menu opens in the Bricks editor without any issues.

Context & what happened before:

· Recently, the site suffered a LiteSpeed cache crash, and I had to manually delete/rename the stuck object-cache.php file from the wp-content directory via FTP.

· A cracked Mega Menu plugin was used in the header template previously.

What I have already tried (and DID NOT work):

1. Safe Mode: Tried opening the pages using &bricks_safe_mode=1 and &clean-canvas=1 – still redirects to the frontend.

2. Templates Disable: Set the Header and Footer templates to Draft to completely isolate them, but the header pages still won’t open.

3. Page Status: Changed the page status from Published to Draft via WP Quick Edit – no effect.

4. Cloudflare: Disabled Cloudflare’s Rocket Loader completely and purged all cache.

5. Browser Cache: Tested in completely different browsers and Incognito mode.

It seems like the editor crashes during the data initialization phase specifically for older page IDs that are registered in the main header menu loop.

Has anyone experienced a similar loop or crash after a cache corruption? Any advice on how to fix this without rebuilding the pages from scratch would be highly appreciated.

Thank you!

Hi Washo,
Welcome to the forum!

I recommend enabling wp_debug and checking your server/PHP logs. There, you’ll likely find specific clues about exactly what’s going wrong with your setup.

Best regards,
timmse