Title: Error message
Last modified: August 21, 2016

---

# Error message

 *  [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/)
 * Functionally its an amazing plugin.
    But it didn’t work for me. I tried in posts,
   pages and short code container.
 * In the local host environment the following is the error message:
 * Warning: Missing argument 2 for wpdb::prepare(), called in C:\xampp\htdocs\sitename\
   wp-content\plugins\spdm-shortcode-slider-multisite\wp_query_multisite.php on 
   line 20 and defined in C:\xampp\htdocs\sitename\wp-includes\wp-db.php on line
   992
 * As very limited plugins are available for multisite posts,if it works, this will
   be the best plugin for multisite post.
 * Appreciate, if any assistance provided.
 * Thanks
 * [http://wordpress.org/plugins/spdm-shortcode-slider-multisite/](http://wordpress.org/plugins/spdm-shortcode-slider-multisite/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/error-message-224/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-message-224/page/2/?output_format=md)

 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003624)
 * Hi VIJOHN,
 * Yeah, I have to fix that warning, I’ll do it for the next version, thanks. But
   anyway, it should work even with that warning.
 * I’m gonna check it, so can you tell me what version of WP and PHP are you using?
 * Have you tried to activate the default theme and deactivate all your plugins 
   to check if SPDM works fine like that?
 * Other thing, disable WP_DEBUG if you’re using it and check SPDM again.
 * Let me know if you get it or not!
 * Cheers
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003630)
 * Thank you for your quick reply.
 * I created a separate multisite just to test your plugin with default theme Twenty
   Thirteen & WP 3.6; PHP 5.4.7 and enabled only SPDM plugin.
 * Sadly I am getting the same error message.
 * Anticipating a great solution.
 * Thanks
 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003631)
 * Thanks for the info, yes it has a problem in WP 3.6 with that warning. I’m gonna
   fix it and let you know asap 🙂
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003633)
 * Thats great.
 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003731)
 * Hi VIJOHN,
 * In a few days I’ll upload to the repository the new version fixing this problem,
   meanwhile, you can do the follow change and the plugin will work:
 * /plugins/spdm-shortcode-slider-multisite/wp_query_multisite.php –> line 20:
 *     ```
       $site_IDs = $wpdb->get_col( $wpdb->prepare("select blog_id from $wpdb->blogs") );
       ```
   
 * Replace that line for the following:
 *     ```
       $blogstable = $wpdb->prefix.'blogs';
       $site_IDs = $wpdb->get_col( "select blog_id from $blogstable");
       ```
   
 * Hope it helps you and let me know if it works for you now 🙂
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003787)
 * Sorry for late reply.
 * Sadly, after replacing with the above codes, I get the following error code:
 * Warning: implode(): Invalid arguments passed in C:\xampp\htdocs\sitename\wp-content\
   plugins\spdm-shortcode-slider-multisite\wp_query_multisite.php on line 82
 * Hope to get the solution soon.
 * Thanks.
 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003798)
 * HI VIJOHN, I’m sorry I’m on holidays so I didn’t fix it. But next week I’ll upload
   the new version compatible with WP 3.6 🙂
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003799)
 * That would be great.
    Eagerly waiting.
 * Thanks
 *  [365sportsreport](https://wordpress.org/support/users/365sportsreport/)
 * (@365sportsreport)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003822)
 * still waiting on the fix…
 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003823)
 * I’m sorry for the delay [@365sportsreport](https://wordpress.org/support/users/365sportsreport/)
   and [@vijohn](https://wordpress.org/support/users/vijohn/)
 * The new version 0.2 of the plugin for WP 3.6. is now available in the repository.
 * Hope it works and if you have any issues, let me know 🙂
 * Have a nice week!
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003832)
 * Hi Rocio,
 * Thanks for your effort. But unfortunately, the result is, there is a white empty
   box. (disabled all other plugins).
 * Still I have a hope that you will make this wonderful plugin, work wonderfully.
 * Thanks
 *  Plugin Author [Rocio Valdivia](https://wordpress.org/support/users/_dorsvenabili/)
 * (@_dorsvenabili)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003833)
 * Hi guys,
 * thank you for making me aware of this problem, I’ll look into it and get back
   to you as soon as I’ve fixed it, but I won’t have time to do it until next week.
 * Cheers! 🙂
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003834)
 * Thank you…
 * Expecting…
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003842)
 * Good day Rocio Valdivia,
 * Still,curiously waiting your solution.
    Hope to get soon.
 * Thanks.
 *  Thread Starter [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * (@vijohn)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-224/#post-4003844)
 * Hi Rocio Valdivia,
 * Curiously waiting for your solution.
 * Any news about it?
 * Thanks.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/error-message-224/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-message-224/page/2/?output_format=md)

The topic ‘Error message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/spdm-shortcode-slider-multisite.svg)
 * [SPDM Shortcode Slider Multisite](https://wordpress.org/plugins/spdm-shortcode-slider-multisite/)
 * [Support Threads](https://wordpress.org/support/plugin/spdm-shortcode-slider-multisite/)
 * [Active Topics](https://wordpress.org/support/plugin/spdm-shortcode-slider-multisite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/spdm-shortcode-slider-multisite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/spdm-shortcode-slider-multisite/reviews/)

 * 19 replies
 * 4 participants
 * Last reply from: [VIJOHN](https://wordpress.org/support/users/vijohn/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-224/page/2/#post-4003850)
 * Status: not resolved