Hello,
I recently installed the Enfold Theme and constantly got the following message:
Fatal error: Call to undefined function avia_prepare_dynamic_styles() in /home/…/public_html/wp-content/themes/enfold/functions.php on line 473
Now I even get this message when I log-in and can’t even access the Backend to e.g. update the theme.
Do you have any idea what went wrong and how I can solve this issue?
Hey Hanna_M,
Can you please try re-updating the theme manually via FTP – kriesi.at/documentation/enfold/updating-your-theme-files/ and overwrite all files?
If that does not help, please post FTP and WP admin logins here privately so we can look into it :)
Best regards,
Yigit
Hello Yigit,
We tried to re-update the theme manually via FTP, unfortunately without success – we still get the same error message.
Could you have a look at it?
Thank you!
Kind regards
Hanna
Hi Hanna,
What version of PHP do you have on host?
Best regards,
Victoria
Hello Victoria,
The PHP version is 5.4.45
Best regards
Hanna
Hi,
Can you please contact your hosting provider and ask them to upgrade to PHP7.0.x? The latest version of Enfold 4.0.5 is compatible up to PHP7.1.x – kriesi.at/documentation/enfold/updating-your-theme-files/
Best regards,
Yigit
Hi, it seems to work now! Thanks very much for the quick solutions!
Hi Hanna_M,
Glad we could help! Now your php will be so much faster :)
If you need further assistance please let us know.
Best regards,
Victoria