Tagged: DeBug Mode
-
AuthorPosts
-
February 12, 2020 at 3:03 pm #1183899
Hello,
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?
Sincerely,
MortickaFebruary 12, 2020 at 3:39 pm #1183919Hey 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,
YigitFebruary 12, 2020 at 4:10 pm #1183929Hey 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 :)
Sincerely,
BarbFebruary 12, 2020 at 4:20 pm #1183932Hey!
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? :)
Regards,
YigitFebruary 12, 2020 at 6:11 pm #1183962Hello :),
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.
Sincerely,
BarbFebruary 12, 2020 at 6:32 pm #1183967Helloo :)
– 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 issueIf there is certain steps to take, could you please write them down as well? :)
Best regards,
YigitFebruary 12, 2020 at 7:23 pm #1183980Hiiii, 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. :)
Sincerely,
BarbFebruary 12, 2020 at 10:40 pm #1184004 -
AuthorPosts
- The topic ‘Debug Mode not working in Enfold’ is closed to new replies.