Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #810470

    I’m getting this error when I update Enfold on a few websites I have used it in:

    Fatal error: Call to undefined function avia_header_class() in /wp-content/themes/enfold-child/header.php on line 12

    They all use a child theme and nothing has been customized in the parent theme and there are other websites we have used Enfold in that have not had this issue. I found some posts where others have had the same issue and tried what was suggested (disable/activate the theme, deactivate/reactivate the plugins, etc.), but that didn’t work.

    The website I am working on now is on our staging server and is linked in the private data.

    #810739

    Hey NicomIT,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #810956

    Sure thing. Here you go.

    #811111

    Hi NicomIT,

    Your WordPress Appearance menu does not have Editor submenu, did you hide it? The error is in your child theme, so it must be that that file in your child theme is outdated and you need to merge manually the file from the new version of Enfold and the changes you made in your file.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #811112

    It was disabled in the iThemes Security Pro settings. I just made it visible again, so you should be able to see it now.

    #811139

    Hi NicomIT,

    It should be fine now, please check.

    Best regards,
    Victoria

    #811149

    Thanks Victoria. It looks to be working fine now. Can you let me know what you did so I can make the fix on the live version of the website when I update the theme? I also have a couple other websites using the theme that had the problem when I tried to update it. Thanks again.

    #811802

    Hi, I just wanted to follow-up to see if someone could confirm what I need to do in order to update the theme and address the error in the live copy of the website I provided a link to. Thanks!

    #812168

    Until I can find out what was done to fix the issue, I can’t make the theme update to the live website for our client. So until someone gets back to me, I’m kind of stuck.

    #812178

    Hi!

    Sorry for the late reply!
    I have notified Victoria about this thread. Please kindly wait to hear from her :)

    Best regards,
    Yigit

    #812203

    Hey NicomIT!

    Why do you have this file in your child theme? Were there any customizations?
    Line 12 /wp-content/themes/enfold-child/header.php line 12 where in your case was a call to avia_header_class()
    has to look like this
    $filterable_classes = avia_header_class_filter( avia_header_class_string() );
    If you need further assistance please let us know.
    Regards,
    Victoria

    #812282

    Thanks for confirming that Victoria. I can’t remember specifically what was modified in that file. But I know there is code added for the fonts used in the website by Adobe Typekit. Thanks again for you help.

    #812289

    Hey!

    Glad we could help :)

    Regards,
    Victoria

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