HELP! Error in Functions.php
-
Hi there
I just got a job to add a blog to a clients existing WordPress site and its all gone crazy. Her previous developer had not enabled sidebars so I went in and added the code to create the sidebar functionality and as soon as i tried to hit save I got a 500 internal error message. Since this point the clients site and the admin login have all been down.
I managed to get ftp access and enable error logging and now when I visit the site I am given this error message:
“
Notice: Use of undefined constant TEMPLATE_URL – assumed ‘TEMPLATE_URL’ in /home/linweb01/s/saplingdesign.co.uk/user/htdocs/wp-includes/functions.php on line 2Fatal error: Call to undefined function get_bloginfo() in /home/linweb01/s/saplingdesign.co.uk/user/htdocs/wp-includes/functions.php on line 2″
The actual line of code it is referring too is this:
“define(TEMPLATE_URL, get_bloginfo(‘template_url’) . ‘/’);”If anybody, anywhere can perhaps work with me to fix this today I would be so grateful as the client naturally thinks I have screwed her site up.
Thanks in advance.
Regards
Paul
The topic ‘HELP! Error in Functions.php’ is closed to new replies.