I tried to edit the Functions.php file and got an error – so I replaced it with the Function.php file from the downloaded theme folder. Now I get this error and the website is down.
Error:
Warning: require_once(config-wpml/config.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\11871577\html\wp-includes\functions.php on line 29
Fatal error: require_once() [function.require]: Failed opening required ‘config-wpml/config.php’ (include_path=’.;C:\php\pear’) in D:\Hosting\11871577\html\wp-includes\functions.php on line 29
Really need help with restoring this file / get my website back up… Thanks!
Hi bcarey!
Have you edited functions.php file inside wp-includes folder?
If not, fastest and easiest way would be re-installing the theme
For a quick guide on updating your theme take a look at this video on updating the Enfold theme via FTP: https://vimeo.com/channels/aviathemes/67209750
Best regards,
Yigit
Thank you
I actually edited and replaced the Functions.php file inside the wp-includes folder rather than the Functions.php inside the wp-content/themes/enfold folder.
Website is back up – again thank you