Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #171604

    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!

    #171608

    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

    #171623

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Website down after editing Function.php file’ is closed to new replies.