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

    #1017457

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

    #1017463

    Hi,
    yes thank you.

    D.

    #1017667

    Hi,

    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,
    Rikard

    #1018907

    Hi,

    I’ve updated WordPress and plugins but activating the new theme I got the same error.

    #1019255

    Hi,

    Can you please reupload all the folders of Enfold from FTP and let us know if that could save the issue?

    Best regards,
    Basilis

    #1019419

    Hi,

    I’ve uploaded again the Enfold folder but no changes.

    D.

    #1019733

    Hi,

    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,
    Rikard

    #1019838

    Hi,

    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

    #1019861

    Hi,

    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,
    Rikard

    #1019867

    Hi,

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

    #1020145

    Hi,

    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,
    Rikard

    #1020266

    Hi,

    I’ve done what you said, deleted the current theme and upload again the enfold folder… it’s the same:

    https://www.infovisti.it/

    #1020568

    Hi,

    Thanks for that update, I tried checking you site again but it’s only loading a blank page now?

    Best regards,
    Rikard

    #1020628

    Hi,

    If you enable the Wordpess Debug you’ll see the error I’m talking about..

    #1021670

    Hi Ric2000,

    Which version of php are you running?

    Best regards,
    Victoria

    #1021673

    Hi,

    5.6.38

    #1022289

    Hi 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,
    Victoria

    #1022317

    Exactly, you can temporary switch to the new version of the theme to see what’s happen

    #1023317

    Hi,

    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,
    Ismael

    #1026280

    Even 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?

    #1026684

    Hi,

    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,
    Ismael

    #1027489

    With 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?

    #1027861

    Hi,

    The old theme doesn’t have a google services field and the scripts are very different. You need to upgrade to the latest version.

    Best regards,
    Ismael

Viewing 24 posts - 1 through 24 (of 24 total)
  • You must be logged in to reply to this topic.