1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Can't Edit DU Headers or Footers without it erasing all content

Discussion in 'Basic Support Forum' started by Kathy Allen, Jun 11, 2021.

  1. Kathy Allen

    Kathy Allen New Member
    Divi Ultimate Child Theme

    Not sure what happened but after working on the site for hours, I was just going to add a link to a button in the header. However, when I try to edit any of the fields in ANY of the divi ultimate headers or footers, it will not open in visual mode and if I try to edit in the back end editor, it opens the module but as soon as I click any of the fields, it creates a new page with the same name and erases ALL the content and leaves me with a blank page.
    I have tried disabling all but the divi ultimate plugin, tried rolling back to a previous divi theme. Please help!
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    This is caused by two possible culprit:
    1. Wordfence plugin.
    2. Your hosting modSecurity.

    Let me know if you have Wordfence plugin installed.
     
  3. Kathy Allen

    Kathy Allen New Member
    Divi Ultimate Child Theme

    I did have wordfence installed but I saw this was an issue in a different thread so I disabled and deleted the plugin.
    No mod security errors and I had the server admin watch the apache and php error logs while I caused the issue and they saw nothing.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Can you temporarily try to disable your modSecurity & see if the issue still persist or not.
     
  5. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo
  6. Kathy Allen

    Kathy Allen New Member
    Divi Ultimate Child Theme

    Disabled mod security server wide, it did not fix the issue. The other curious thing is this issue is only for the Divi Ultimate header and footers. The visual and regular divi builder is working fine on pages and posts.
     
  7. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    It's because for our header & footers, we have inline CSS in code module, thus it's triggering false positive on some firewall. If you add a code module with inline CSS for your normal pages, then you will face the same issue as well.

    For that case, try this workaround by removing the inline CSS code module: https://divi.help/threads/cant-edit-custom-menu.4315/#post-14478
    **The code module that shown in the video can be found in every custom header & footer styles.
    **There might be more than one code module in the custom header & footer styles. If you find other code module, try to go to the settings & copy the CSS code & paste in WP Admin > Divi > Theme Options > Custom CSS & then only remove the code module.
    **And to avoid it popping as new tab & wipe out the content, try to edit it in Visual Builder. In Visual Builder, if the issue still persist, you will not be able to save it, but it won’t wipe out your content.
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  8. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    What if you try to edit it in Visual Builder & press save & see if there's any server error logged.
     
  9. Kathy Allen

    Kathy Allen New Member
    Divi Ultimate Child Theme

    The visual builder wont load for any of the divi ultimate modules it only loads for pages and posts, not headers and footers.
     
    1. PRO MEMBER PERKS Divi.Help One-Page Layouts - Beautifully crafted one-page Divi layouts just for you:View All Layouts
  10. Kathy Allen

    Kathy Allen New Member
    Divi Ultimate Child Theme

    Figured it out!!! Because this site was being built in a sub directory, somehow the parent directory website was effecting this one. Once I removed everything and reloaded the site fresh in a new directory, it all started working!! YAY!!
     
    Divi.Help Pro Support likes this.