
-
AuthorPosts
-
October 3, 2018 at 9:17 am #1017404
Hi,
as I mentioned here: https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990/comments?page=570&filter=all#comment_20485177
I got this error when I update the theme to the last version: Fatal error: Call to undefined function avia_is_burger_menu() in /home/infovisti/public_html/wp-content/themes/enfold/header.php on line 27
I’ve followed your instructions trying uploading the theme files from scratch via Ftp but with no success.
Attached the access to ftp and wordpress
October 3, 2018 at 11:23 am #1017457Hey Ric2000,
Thanks for the login details and sorry for the problem, are we allowed to activate the new version of the theme in order to test?
Best regards,
RikardOctober 3, 2018 at 11:26 am #1017463Hi,
yes thank you.D.
October 4, 2018 at 5:03 am #1017667Hi,
Thanks for the feedback, I noticed that you are running an old version of WordPress and that several plugins needs updating on your installation. Could you try to update everything first before we try that please? Make sure to have proper backups of your site in case you should need to roll back.
Best regards,
RikardOctober 8, 2018 at 10:45 am #1018907Hi,
I’ve updated WordPress and plugins but activating the new theme I got the same error.
October 8, 2018 at 10:25 pm #1019255Hi,
Can you please reupload all the folders of Enfold from FTP and let us know if that could save the issue?
Best regards,
BasilisOctober 9, 2018 at 10:39 am #1019419Hi,
I’ve uploaded again the Enfold folder but no changes.
D.
October 10, 2018 at 4:33 am #1019733Hi,
Thanks for the update. I checked the header.php file in your theme and there seems to be some customisations done to it around the line where you are getting the error. What are conditionals like this for?
<?php if (is_tree(42)) { ?>
Best regards,
RikardOctober 10, 2018 at 8:53 am #1019838Hi,
I don’t understand what is the relation among the error I’m talking about when I activate the new version of the theme ( hence new header.php file) and the header of the current current theme…
Thank you
October 10, 2018 at 10:27 am #1019861Hi,
Ok, but your header.php cannot be the current version since that code is not there in the default version. You can verify that by downloading the theme from your Themeforest account and opening header.php. We also don’t write in italian in the code :-)
<?php if (is_tree(42)) { ?> <meta name="description" content="<?php echo avia_set_title_tag().'. Per l\'ottenimento di visti su passaporti (affari, lavoro, turismo), inviaci la tua richiesta. Preventivo rapido e gratuito!' ; ?>" /> <?php } elseif (is_tree(48)) { ?> <meta name="description" content="<?php echo avia_set_title_tag() ; ?>" /> <?php } elseif (is_tree(45)) { ?> <meta name="description" content="<?php echo avia_set_title_tag().'. Legalizzazione dei documenti per l\'esportazione (certificati di origine, fatture, Aifa, ecc.), inviaci la tua richiesta. Preventivo rapido e gratuito!' ; ?>" /> <?php } ?>
Best regards,
RikardOctober 10, 2018 at 10:47 am #1019867Hi,
I’m sorry maybe I was not enough clear to you. What I’m saying is that the error happens when I activate the new theme “enfold” that has not been modified at all.. https://www.dropbox.com/s/33ntoo3l1hndhfr/Screenshot%202018-10-10%2010.45.53.png?dl=0
the current website is using an old modified version of enfold.. and is working..
October 11, 2018 at 4:44 am #1020145Hi,
Ah, sorry for the misunderstanding, my bad. The problem might be that some files have switched places between your current version and the new one, to find that out you would need to delete the old version first before installing the new one. I’m not sure if you want to do that on your live site though, maybe it would be better if you copied the whole installation to a staging site and perform the update there first? That way you don’t need to risk any downtime to your production site.
Best regards,
RikardOctober 11, 2018 at 11:03 am #1020266Hi,
I’ve done what you said, deleted the current theme and upload again the enfold folder… it’s the same:
October 12, 2018 at 4:57 am #1020568Hi,
Thanks for that update, I tried checking you site again but it’s only loading a blank page now?
Best regards,
RikardOctober 12, 2018 at 7:45 am #1020628Hi,
If you enable the Wordpess Debug you’ll see the error I’m talking about..
October 15, 2018 at 5:27 pm #1021670Hi Ric2000,
Which version of php are you running?
Best regards,
VictoriaOctober 15, 2018 at 5:29 pm #1021673Hi,
5.6.38
October 16, 2018 at 5:43 pm #1022289Hi Ric2000,
5.6.38 is fine, I see you’re still using the old version. You cannot update because of that error? Do you have a test server?
Best regards,
VictoriaOctober 16, 2018 at 6:45 pm #1022317Exactly, you can temporary switch to the new version of the theme to see what’s happen
October 18, 2018 at 12:34 pm #1023317Hi,
The frontend went down after activating the theme. Please disable the plugins and then upgrade the theme to version 4.5 before activating it.
Best regards,
IsmaelOctober 25, 2018 at 10:58 am #1026280Even deactivating all the plugins and updating the theme to the last version the error is still there…
anyway my need to update the theme is only due to the necessity to add an API key to make the Google maps working… is there a turnaround for this?
October 26, 2018 at 10:22 am #1026684Hi,
I got into your file server and I found some templates files in the root directory. How did that happen? Please clean your directory and upgrade PHP to version 7.2.
Best regards,
IsmaelOctober 29, 2018 at 12:47 pm #1027489With php 7.2 I got the same error:
Fatal error: Uncaught Error: Call to undefined function avia_is_burger_menu() in /home/infovisti/public_html/wp-content/themes/enfold/header.php:32 Stack trace: #0 /home/infovisti/public_html/wp-includes/template.php(688): require_once() #1 /home/infovisti/public_html/wp-includes/template.php(647): load_template(‘/home/infovisti…’, true) #2 /home/infovisti/public_html/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/infovisti/public_html/wp-content/themes/enfold/page.php(9): get_header() #4 /home/infovisti/public_html/wp-includes/template-loader.php(74): include(‘/home/infovisti…’) #5 /home/infovisti/public_html/wp-blog-header.php(19): require_once(‘/home/infovisti…’) #6 /home/infovisti/public_html/index.php(17): require(‘/home/infovisti…’) #7 {main} thrown in /home/infovisti/public_html/wp-content/themes/enfold/header.php on line 32
I don’t know what you mean with “clean your directory” as I just upload you theme folder on my server.. that’s it.
anyway my need to update the theme is only due to the necessity to add an API key to make the Google maps working… is there a turnaround for this?
October 30, 2018 at 5:58 am #1027861 -
AuthorPosts
- You must be logged in to reply to this topic.