-
AuthorPosts
-
September 16, 2015 at 3:21 pm #504187
Hello,
I want to enable debug mode, so i could copy content from page to another.
I found this snippet:
http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
I added this to functions.php but nothing happend. Can you help me, please?
September 16, 2015 at 3:22 pm #504188Hey klaaba!
Make sure to add it right below this line.
if(isset($avia_config['use_child_theme_functions_only'])) return;
Or just copy it anywhere to a child theme functions.php file. You can download a child theme here, http://kriesi.at/documentation/enfold/downloads/.
Best regards,
ElliottSeptember 16, 2015 at 3:36 pm #504203I tried this, now I got this result in Frontend and Backend:
Fatal error: Cannot redeclare builder_set_debug() (previously declared in /www/htdocs/w011650c/dev/wp-content/themes/enfold/functions.php:22) in /www/htdocs/w011650c/dev/wp-content/themes/enfold/functions-enfold.php on line 1326
September 16, 2015 at 3:42 pm #504212I edited the functions.php via FTP and editor and now my site is back.
My goal is to copy the avia code from some single pages from the dev-site to the live-site. My client edited the wrong site and created pages there.
September 16, 2015 at 3:48 pm #504221Hi!
According to this site – http://downforeveryoneorjustme.com/ your website is currently down. Can you please check the link once again?
Cheers!
YigitSeptember 16, 2015 at 4:42 pm #504278I proved it – it’s up.
September 16, 2015 at 5:00 pm #504289Hey!
It’s because you forgot to remove the old code at the bottom of the functions.php file so there are two functions with the same name causing the error.
Upload a fresh copy of the functions.php file and try it again or just make it easy and download the child theme, http://kriesi.at/documentation/enfold/downloads/.
Cheers!
Elliott- This reply was modified 9 years, 2 months ago by Elliott.
September 16, 2015 at 5:02 pm #504294Thanks very much for your help!
But at the moment I can see just:
Fatal error: Cannot redeclare builder_set_debug() (previously declared in /www/htdocs/w011650c/dev/wp-content/themes/enfold/functions.php:22) in /www/htdocs/w011650c/dev/wp-content/themes/enfold/functions-enfold.php on line 1326September 16, 2015 at 5:09 pm #504299Hi!
Yes, you still need to upload a fresh functions.php file to get rid of the error.
Regards,
ElliottSeptember 16, 2015 at 5:14 pm #504303OK, got it. Thank you very much!
Kind regards,
Klaaba -
AuthorPosts
- The topic ‘Enable Advanced Avia Layout Builder’ is closed to new replies.