Tagged: enfold, fatal error
-
AuthorPosts
-
August 19, 2014 at 2:20 pm #306319
Help!!!
After the latest update to Enfold version 2.9.1 the website is completely broken.
Getting the error message:
Fatal error: Call to undefined function avia_get_header_scroll_offset() in /home/deb62238/domains/intu-jewelry.nl/public_html/enfold/wp-content/themes/enfold/css/dynamic-css.php on line 772I have tried all solutions mentioned in the forum:
– manually updating the theme via ftp
– re-upload the wp-content/themes/enfold/functions-enfold.php file. It contains the function mentioned in the first post (avia_get_header_scroll_offset())
– overwriting all files via FTP once again
– switch to main theme first, then updating and switching back to child theme again afterNone of these worked!
The only solution that works is:
– manually overwrite wp-content/themes/enfold/css/dynamic-css.php with an old version (from months ago)
But … that is no good solution, since it will be overwritten with every new update of the theme…..Could anyone please help me out???
We are under immense pressure to go live asap!!!
Thanks very much!
Kind regards
Thijs- This topic was modified 10 years, 4 months ago by thijsvanhalewijn.
August 19, 2014 at 3:18 pm #306352Additional thought:
The problem is the function avia_get_header_scroll_offset().
It should be defined but is not…It is called for in: wp-content/themes/enfold/css/dynamic-css.php.
I looked for the function definition, searching the whole theme.
But it is not defined anywhere…That is strange!
- This reply was modified 10 years, 4 months ago by thijsvanhalewijn.
August 19, 2014 at 3:33 pm #306365Hi!
Re-updating the theme via FTP should help and did helped other users who had the same issue ( i.e.: https://kriesi.at/support/topic/fatal-error-call-to-undefined-function-avia_get_header_scroll_offset-in-hom/#post-297026 ). Please make sure to overwrite all files
Best regards,
YigitAugust 19, 2014 at 4:14 pm #306394Hi Yigit,
I did that 3 times now …but still the same error.
Even after removing the child-theme and the main theme as well.
After which I manually uploaded the theme (version 2.9.1) again.But… still the same error!
Please help me out on this, because it is driving me nuts!
I am really out of ideas now….Kind regards
Thijs- This reply was modified 10 years, 4 months ago by thijsvanhalewijn.
August 19, 2014 at 9:21 pm #306531Hi Yigit,
I solved the problem. The update has succeeded!
The issue was that the root of the WP install contained some left over files that should not have been there.
They were put there accidentally by a previous install, and were not removed correctly.Thanks for your help!
Kind regards
ThijsAugust 20, 2014 at 11:30 am #306746 -
AuthorPosts
- The topic ‘Fatal error: Call to undefined function avia_get_header_scroll_offset()’ is closed to new replies.