WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Global Search
It works, but I get an error (2 posts)

  1. ThorHammer
    Member
    Posted 1 year ago #

    On the result page I get this error:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/mystie/public_html/wp-content/plugins/multisite-global-search/inc/shortcodes.php on line 223 and defined in /home/mysite/public_html/wp-includes/wp-db.php on line 990

    The plugin is great, it would have been so nive if it was possible to build the search form into my tempalte, but it doesn't work. And the error output is big and ugly and scart...

    http://wordpress.org/extend/plugins/multisite-global-search/

  2. magicke
    Member
    Posted 1 year ago #

    Looks like this warning message is caused by a few other plugins that used calls to wpdb::prepare(), which in WP Version 3.5 was not implemented.

    Perhaps the plugin developer would care to add a check for wp version here, and send the constructed query strings directly to $wpdb->query if the WP version is 3.5?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags