Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #1183899


    I tried copying a page from my staging site to my live website with debug mode. This did not work. In the preview it showed nothing, the code did nothing on an already existing page.

    When I created a new page and copied the code there, it did work. (I used the same Enfold version on both sites)

    I’ve used the debug mode for years, never had any trouble with it before. I got it from: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode

    How can I fix this?



    Hey Barb! :)

    Hope you are doing well!

    If you are adding the code in your parent theme, it should be below following line

    if( isset( $avia_config['use_child_theme_functions_only'] ) )	{	return;		}

    If it is, could you please create temporary admin logins and post them here privately so we can look into it? :)

    Best regards,


    Hey Yigit, long time no chat! :D

    I’m doing fine thank you, how are you?

    In regards to the ticket, I use a childtheme and copied the code from your documentation link in my functions.php file.

    Temporary admin log posted :)




    I’m doing great, thanks for asking! :)

    I just checked your staging site and it works fine there, attached a screenshot in private content field, however logins for live site did not work for me. Could you please check them once again? :)



    Hello :),

    Yes, the code is visible and I can copy and paste it between websites, so that works. But when I copy the code from my staging site to my live (under construction) site on an already existing page, it does not work?

    Sorry, you can access the live site now, I forget to press enter when I made a new user, hmz.



    Helloo :)

    – I edited your homepage on your live site and saved the page as a template
    – Created a new page called “Home Test” and loaded your homepage as template
    – Copied shortcodes from “Test screen…” page on your staging site
    – Pasted the code to the bottom of “Home Test” page and updated the page
    – I can see Code Block element in the bottom of the page so i cannot reproduce the issue

    If there is certain steps to take, could you please write them down as well? :)

    Best regards,


    Hiiii, haha :D

    Thx for testing!

    What I did was copy the code from my staging website, then I went to my existing homepage on the “live” website, removed all the code there without saving inbetween, and then I pasted in the code from the staging website. It did not work. It’s like the old page stayed cached within Enfold. I emptied my browser cache to see if that was the problem, but that was’nt the issue.

    Then I created a new page, copied the code from my staging website homepage there and that worked. Then I renamed the old homepage and renamed the new page page to use as my new homepage.

    So, luckily the workaround worked. When I run into the same thing again, I won’t touch anything and I’ll let you know. :)



    Hi, :D

    Do you by any chance have server side cache? Maybe it was active when you were editing..

    Glad it is working fine now! If you run into it again, please do let us know :)

    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Debug Mode not working in Enfold’ is closed to new replies.