[resolved] Help - Themes Crash (8 posts)

  1. slaughters
    Posted 8 years ago #

    I'm brand new to WordPress. All I've done is look at different themes.

    When using the unmodified theme "Colorful 1.0 by WordPress Theme Land"

    It crashes with the following error:

    Fatal error: Call to undefined function: the_search_query() in /home/stansigh/public_html/WordPress/wp-content/themes/colorful-10/header.php on line 31

    Here's theBblog URL:

  2. MichaelH
    Posted 8 years ago #

    I just downloaded the theme and uploaded to my host and I'm not experiencing that error. Please consider starting over. Delete that theme from your host. Download a new copy. Unzip. Upload to host.


  3. slaughters
    Posted 8 years ago #

    OK - did that again (for the 3rd time). Deleted /public_html/WordPress/wp-content/themes/colorful-10/ folder. Downloaded them. Unzipped it then ftp'ed the folder back.

    Nothing changes. Still crashes on an undefined function.

    I expect that there is some sort of global PHP library which defines the function: the_search_query.

    It is definitely not in any of the files provided with the theme.

    What file is this defined in?

    Why would I not have it?

  4. moshu
    Posted 8 years ago #

    That should be a regular WP templatetag:

  5. MichaelH
    Posted 8 years ago #

    Oops, I see you say you are using 2.0.2. Maybe that theme doesn't run on that version. Change to the WordPress default theme to see if that solves the problem.

    Please consider upgrading to 2.3.

  6. slaughters
    Posted 8 years ago #

    "Please consider upgrading to 2.3."

    Would love to. How ?

    I am using ipowerweb as my web host and simply installed the default blog software they had available through cpanel

    Is there a way I can upgrade this from 2.0.2 to 2.3 by myself? Can I do this without the intervention of the web host provider?

  7. Jeremy Clark
    Posted 8 years ago #

  8. slaughters
    Posted 8 years ago #

    OK - that resolved it.

    It would be nice if the templates indicated what WordPress version was required to use it.

Topic Closed

This topic has been closed to new replies.

About this Topic