-
AuthorPosts
-
June 20, 2017 at 4:46 pm #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.
June 21, 2017 at 5:47 am #810739Hey 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,
RikardJune 21, 2017 at 1:35 pm #810956Sure thing. Here you go.
June 21, 2017 at 6:55 pm #811111Hi 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,
VictoriaJune 21, 2017 at 7:07 pm #811112It was disabled in the iThemes Security Pro settings. I just made it visible again, so you should be able to see it now.
June 21, 2017 at 8:14 pm #811139Hi NicomIT,
It should be fine now, please check.
Best regards,
VictoriaJune 21, 2017 at 8:29 pm #811149Thanks 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.
June 22, 2017 at 8:11 pm #811802Hi, 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!
June 23, 2017 at 4:58 pm #812168Until 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.
June 23, 2017 at 5:10 pm #812178Hi!
Sorry for the late reply!
I have notified Victoria about this thread. Please kindly wait to hear from her :)Best regards,
YigitJune 23, 2017 at 5:40 pm #812203Hey 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,
VictoriaJune 23, 2017 at 7:45 pm #812282Thanks 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.
June 23, 2017 at 7:49 pm #812289Hey!
Glad we could help :)
Regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.