WordPress.org

Support

Support » How-To and Troubleshooting » wp_list_categories() php warning

wp_list_categories() php warning

  • When I use wp_list_categories() I get this PHP warning (one time for each category i have)

    Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/qs/public_html/wp-includes/wp-db.php on line 789

    After that, the categories are listed as normal.
    I have tried overwriting all the wordpress files on my server with a fresh set.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_list_categories() php warning’ is closed to new replies.
Skip to toolbar