The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

why the url is malformed, once i click search button? (4 posts)

  1. skybig
    Posted 3 years ago #


    if i set define('WP_DEBUG', false); in wp-config.php, this url will just be ok

    now my setup is define('WP_DEBUG', true);
    what i should do in order to make url looks well with this configuration?

  2. s_ha_dum
    Posted 3 years ago #

    urldecode that URL:

    http://domain/sitename/<b>Notice</b>: 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.

  3. skybig
    Posted 3 years ago #

    icannot find get_bloginfo('home') on line 3555

  4. s_ha_dum
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic