-
AuthorPosts
-
March 18, 2019 at 10:21 am #1079793
Hi,
Earlier I created this ticket:
https://kriesi.at/support/topic/latest-enfold-version-not-working-on-my-site/#post-1079278Now 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?
March 18, 2019 at 9:48 pm #1080079Hey 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,
VictoriaMarch 19, 2019 at 6:26 am #1080224Hi,
Yes I have done that already but the error is still the same.
Best,
JanneMarch 21, 2019 at 6:31 pm #1081514Hi,
Can u share us FTP access?
Best regards,
BasilisMarch 22, 2019 at 4:18 pm #1081907Sure, here it is.
March 27, 2019 at 1:35 pm #1083581Hi,
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ünterMarch 27, 2019 at 2:48 pm #1083640Hi,
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,
JanneMarch 30, 2019 at 7:05 pm #1084939Hi,
Thank you for sharing.
Best regards,
BasilisApril 1, 2019 at 10:56 am #1085423Hey!
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ünterMay 13, 2019 at 12:17 pm #1100020Hi,
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,
JanneMay 13, 2019 at 2:14 pm #1100054Hi,
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ünterMay 17, 2019 at 9:15 am #1101691Hi,
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 35Now 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’ );May 23, 2019 at 5:14 am #1103545Hi,
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,
IsmaelJune 3, 2019 at 1:21 pm #1106697Hi,
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,
JanneJune 4, 2019 at 11:49 am #1107015Hi,
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,
IsmaelJune 4, 2019 at 2:12 pm #1107105Hi, 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,
JanneJune 4, 2019 at 6:36 pm #1107217Hi,
Did you need further help or shall we close this thread?
Best regards,
Jordan ShannonJune 5, 2019 at 7:13 am #1107376You can close this thread.
June 5, 2019 at 3:26 pm #1107636Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Theme not working with php 7.0’ is closed to new replies.