wordpress theme trouble...

by zozja
2 replies
Hi Warriors,

I've tried uploading a couple different WP themes to my site and I get this error message

"Fatal error: Call to undefined function: get_home_url() in /hsphere/local/home/lastingp/votemarkbutler.com/wp-content/themes/choose-one-10/searchform.php on line 1"

Wordpress seems to have installed fine because the default themes show up fine.

Any help would be great! Thanks!

Rebecca
#theme #trouble #wordpress
  • Profile picture of the author jjpmarketing
    It could be something wrong with the searchform.php file in your theme folder. With it being on line 1 there could be a missing "<" or something like that throwing everything off. It is difficult to tell without actually seeing the code. Download a fresh copy of the theme files. Delete all of the theme files from the themes folder for that theme. Then re-upload with the fresh copy of the files. If that doesn't work trying using a different theme as it may be something in that theme or brand of themes you are using that is trying to call something that isn't compatible with the current version of wordpress... or they may just have a bug in it.
    {{ DiscussionBoard.errors[4228657].message }}
  • Profile picture of the author Istvan Horvath
    What WP version? Looks like a pre-3...

    The error message refers to:
    Call to undefined function: get_home_url() - it was introduced in WP 3.0
    Signature

    {{ DiscussionBoard.errors[4228670].message }}

Trending Topics