• I need to edit the TEMPLATEPATH as it appears to be incorrect per this error when trying to access my site (www.lyriquest.com).

    Warning: dir(TEMPLATEPATH/) [function.dir]: failed to open dir: No such file or directory in /home/content/26/9196326/html/wp-includes/functions.php on line 100

    Fatal error: Call to a member function read() on a non-object in /home/content/26/9196326/html/wp-includes/functions.php on line 101

    This happened either due to the install of a new plugin (WP Grande) or some edits I made to the functions.php file. I may have also inadvertently uploaded the functions.php file to the wp-includes dir.

    Any help would be GREATLY appreciated.

    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. Reinstall WordPress.
    2. Do NOT edit core WP files or theme files. (You know what happens…)
    3. Make your changes via a child theme. You can add any needed functions to its functions.php file.

    Thread Starter ChronicD

    (@chronicd)

    OK. This issue is closed as I was able to restore my functions.php file in my wp-includes folder through GoDaddy. Holy Crap! Thank you GoDaddy

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to edit TEMPLATEPATH’ is closed to new replies.