Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1079793

    Hi,

    Earlier I created this ticket:
    https://kriesi.at/support/topic/latest-enfold-version-not-working-on-my-site/#post-1079278

    Now I have updated the php-version to 7.0.
    I am still getting an error about the avia_is_burger_menu() -function:

    Fatal error: Uncaught Error: Call to undefined function avia_is_burger_menu() in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/header.php:32 Stack trace: #0 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(688): require_once() #1 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(647): load_template(‘/www/w/8/4/0/3/…’, true) #2 /www/w/8/4/0/3/w8403337/html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/template-builder.php(15): get_header() #4 /www/w/8/4/0/3/w8403337/html/wp-includes/template-loader.php(74): include(‘/www/w/8/4/0/3/…’) #5 /www/w/8/4/0/3/w8403337/html/wp-blog-header.php(19): require_once(‘/www/w/8/4/0/3/…’) #6 /www/w/8/4/0/3/w8403337/html/index.php(17): require(‘/www/w/8/4/0/3/…’) #7 {main} thrown in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/header.php on line 32

    How can I fix this issue?

    #1080079

    Hey JKankkunen,

    Now, that you updated the php, please update the theme via FTP. Remove the old folder and upload the fresh copy.

    You need to have a full website backup ready before you want to do that.

    Best regards,
    Victoria

    #1080224

    Hi,

    Yes I have done that already but the error is still the same.

    Best,
    Janne

    #1081514

    Hi,

    Can u share us FTP access?

    Best regards,
    Basilis

    #1081907

    Sure, here it is.

    #1083581

    Hi,

    Can you please recheck the FTP credentials? They do not work for me.
    And also create a WP admin account for us and the link to your site please.

    Best regards,
    Günter

    #1083640

    Hi,

    Those are the only ftp-credentials that I have, I double checked and they work for me. Maybe there is some country limitation.
    I created the wp-account for you. It is on the private content.

    Best,
    Janne

    #1084939

    Hi,

    Thank you for sharing.

    Best regards,
    Basilis

    #1085423

    Hey!

    Thank you for the credentials.

    You have 2 Enfold themes and there seems to be some conflict with that.

    Kindly download the latest version of Enfold from theme forest (4.5.5) as zip file.
    Delete all enfold directories completly from your server with ftp.
    Acrivate a standard WP theme and clear all server and browser caches to remove everything that might link to enfold.
    Diasable all plugins.
    Upload the latest version to a completly new enfold folder.
    Activate the theme and clear all caches again.
    Then reactivate one plugin after the other – check for a plugin conflict.

    Do not forget to make a complete backup of your database and files to have a fallback.

    Cheers!
    Günter

    #1100020

    Hi,

    I did all this. Immediately when I activate the new theme the site gets broken, showing only the white screen. This is the error:

    Fatal error: Uncaught Error: Call to undefined function avia_is_burger_menu() in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfold/header.php:32 Stack trace: #0 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(688): require_once() #1 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(647): load_template(‘/www/w/8/4/0/3/…’, true) #2 /www/w/8/4/0/3/w8403337/html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfold/template-builder.php(15): get_header() #4 /www/w/8/4/0/3/w8403337/html/wp-includes/template-loader.php(74): include(‘/www/w/8/4/0/3/…’) #5 /www/w/8/4/0/3/w8403337/html/wp-blog-header.php(19): require_once(‘/www/w/8/4/0/3/…’) #6 /www/w/8/4/0/3/w8403337/html/index.php(17): require(‘/www/w/8/4/0/3/…’) #7 {main} thrown in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfold/header.php on line 32

    At the time of that error I had all the plugins disabled and the latest version of the theme installed.
    What can I try next?

    Best,
    Janne

    #1100054

    Hi,

    The only idea I have:

    enfold/header.php on line 32:

    
    	$is_burger_menu = apply_filters( 'avf_burger_menu_active', avia_is_burger_menu(), 'header' );
    

    replace with:

    
    	$is_burger_menu = avia_is_burger_menu();
    	$is_burger_menu = apply_filters( 'avf_burger_menu_active', $is_burger_menu, 'header' );
    

    and check in enfold\functions-enfold.php around line 200 for:

    
    function avia_is_burger_menu ()
    

    Next you can try to update to a higher PHP version: Supported versions

    Also check for Enfold latest version 4.5.7.

    Best regards,
    Günter

    #1101691

    Hi,

    I uploaded the latest version and modified what you suggested to the header. After that I got this error:
    Fatal error: Uncaught Error: Call to undefined function avia_is_burger_menu() in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/header.php:35 Stack trace: #0 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(688): require_once() #1 /www/w/8/4/0/3/w8403337/html/wp-includes/template.php(647): load_template(‘/www/w/8/4/0/3/…’, true) #2 /www/w/8/4/0/3/w8403337/html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/template-builder.php(15): get_header() #4 /www/w/8/4/0/3/w8403337/html/wp-includes/template-loader.php(74): include(‘/www/w/8/4/0/3/…’) #5 /www/w/8/4/0/3/w8403337/html/wp-blog-header.php(19): require_once(‘/www/w/8/4/0/3/…’) #6 /www/w/8/4/0/3/w8403337/html/index.php(17): require(‘/www/w/8/4/0/3/…’) #7 {main} thrown in /www/w/8/4/0/3/w8403337/html/wp-content/themes/enfoldNEW/header.php on line 35

    Now on the header I have this:

    //$is_burger_menu = apply_filters( ‘avf_burger_menu_active’, avia_is_burger_menu(), ‘header’ );
    $is_burger_menu = avia_is_burger_menu();
    $is_burger_menu = apply_filters( ‘avf_burger_menu_active’, $is_burger_menu, ‘header’ );

    #1103545

    Hi,

    Thanks for the update.

    Can you delete the other Enfold folder and leave the latest version? There are 4 copies of Enfold in the themes folder.

    Best regards,
    Ismael

    #1106697

    Hi,

    I deleted all other but left there the EnfoldOLD, which is in use at the moment and EnfoldNEW which is the latest version of the theme that causes the error.

    Best regards,
    Janne

    #1107015

    Hi,

    Thank you for the update.

    There is a copy of the functions-enfold.php file in the root directly. Did you put it there? We renamed the file to disable it.

    Best regards,
    Ismael

    #1107105

    Hi, thank you! I have no idea… in the root of the ftp or root of the theme-folder? Very strange. But I am happy it’s working now.

    Best,
    Janne

    #1107217

    Hi,

    Did you need further help or shall we close this thread?

    Best regards,
    Jordan Shannon

    #1107376

    You can close this thread.

    #1107636

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Theme not working with php 7.0’ is closed to new replies.