WordPress.org

Support

Support » How-To and Troubleshooting » why the url is malformed, once i click search button?

why the url is malformed, once i click search button?

Viewing 3 replies - 1 through 3 (of 3 total)
  • urldecode that URL:

    http://domain/sitename/<b>Notice</b&gt;: get_bloginfo was called with an argument that is deprecated since version 2.2! The home option is deprecated for the family of bloginfo() functions. Use the url option instead. in <b>/home/iyanwu/iyanwu.com/wp3/wp-includes/functions.php</b> on line <b>3555</b>http://domainname/sitename?s=test

    It should be more obvious what is happening now. The script is generating a deprecated notice where that URL is created. You need to open /wp3/wp-includes/functions.php, go to line 3555, find get_bloginfo('home') and replace it with get_bloginfo('url') as instructed in the message.

    @s_ha_dum
    icannot find get_bloginfo(‘home’) on line 3555

    Sorry. I wasn’t paying attention. That error message points to a line in the WordPress core files. When that happens it is usually misleading.

    Just look in your theme source files for get_bloginfo.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘why the url is malformed, once i click search button?’ is closed to new replies.