WAIT: My Header template (Only) Automatically removed again and again

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

My website link is: https://vogimo.com/

Hi Dev,

I need help urgently, I hope Everyone Help Me.

my problem-

  • Header file auto deleting
  • I am try make new header Templates, same Issue (2/3 time i am try)
  • I can’t find any issue

what i am notice:

  • It’s automatically removed when i am edit other templates
  • when i add or removed plugin
    -only header templates…

Plz help me, What i can DO ?

Hi Ahmmed,
Welcome to the forum!

Would you please provide a screencast (jam.dev) showing and explaining (if possible) what’s going on, exactly? Thank you!

Best regards,
timmse

Sir, My website URL i am already sharing with you.

Problem: when i am try installed/Active Delete a plugin. this time my custom made Header automatic deleted.

How i try to fix it:

  • i am try create new header
  • re-upload bricks themes
  • de-active and delete all plugin and try again installed all plugin
  • update wp core file

Now: i am export my header template when , it’s deleted. then i am upload again. This the process now i am following. but i need permanent solutions. If any body can help me. let me know, if needed i can share my site access. It’s Urgent need.

-thanks

Here, Not have anyone for help me ?

:white_check_mark: Try This (Urgent Fix Steps):


1. Enable PHP Debug Mode

Turn on debugging to check for hidden errors:

  • Go to your site files → public folder → open the wp-config.php file.
  • Find this block:
if ( ! defined( 'WP_DEBUG' ) ) {
    define( 'WP_DEBUG', false );
}

  • Replace it with:
if ( ! defined( 'WP_DEBUG' ) ) {
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
}

:white_check_mark: This will create a debug.log file inside your /wp-content/ directory.

:pushpin: After editing a template or adding/removing a plugin, check that log file — it may reveal PHP errors causing the header to disappear.


2. If No Plugin Conflict or Custom Code Issues Found

  • You’ve already checked for plugin conflicts :white_check_mark:
  • You haven’t added any custom code in functions.php that could affect templates
  • Also double-check and temporarily disable any custom code blocks you’ve added elsewhere on the site

Then this is most likely a bug in your current Bricks version (v1.9.7.1).


:bulb: Just wondering — why haven’t you upgraded your theme yet?
A newer version of Bricks may have already fixed this issue.

Sir, debug.log

-after again important my header file and set full website.
-then i am active " WP Rocket" , and then Header file are vanish.

and i am share log file here.

plz help me to fix it.

===============================================================
[03-Aug-2025 08:57:32 UTC] Automatic updates starting…
[03-Aug-2025 08:57:33 UTC] Automatic updates complete.
[03-Aug-2025 09:02:57 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:“every_minute”,“args”:[“WP Cron”],“interval”:60}
[03-Aug-2025 09:04:38 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:“every_minute”,“args”:[“WP Cron”],“interval”:60}

============================

Why , Nobody help me !! :pensive:

Because it’s Sunday. For urgent help, send an email to the support.

1 Like

Thanks for sharing the debug.log.

You’re right — the log doesn’t show any direct errors related to the header template. The cron event warning isn’t critical and likely isn’t causing the issue.

Unfortunately, I can’t give a confirmed solution right now — the Bricks support team will be the best people to help you with this.

Don’t forget to set this back in wp-config.php after debugging:

define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );

Ok… Sir . Thanks you. i am add my header file here

Hey! The template appears to be technically valid, with no issues in its structure or configuration. :face_holding_back_tears:
Given that, the best next step would be to submit a support request through the Bricks support form and get direct assistance from their team.

Ok, Sir. Thanks…

Hey Ahmmed,
We also need a little time to rest now and then :v:

I have asked you for a screencast that shows what is happening - unfortunately I still don’t quite understand it. Maybe it would help if you use a good translator like deepl.com.

Then there seems to be a problem with WP rocket. Please contact their support, as this is a third-party plugin.