Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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?

    #504188

    Hey 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,
    Elliott

    #504203

    I 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

    #504212

    I 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.

    #504221

    Hi!

    According to this site – http://downforeveryoneorjustme.com/ your website is currently down. Can you please check the link once again?

    Cheers!
    Yigit

    #504278

    I proved it – it’s up.

    #504289

    Hey!

    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 8 years, 7 months ago by Elliott.
    #504294

    Thanks 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 1326

    #504299

    Hi!

    Yes, you still need to upload a fresh functions.php file to get rid of the error.

    Regards,
    Elliott

    #504303

    OK, got it. Thank you very much!

    Kind regards,
    Klaaba

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Enable Advanced Avia Layout Builder’ is closed to new replies.