Support » Plugin: SPDM Shortcode Slider Multisite » Error message

  • 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.


Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Rocio Valdivia


    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!


    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.


    Plugin Author Rocio Valdivia


    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 🙂

    Thats great.

    Plugin Author Rocio Valdivia


    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 🙂

    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.


    Plugin Author Rocio Valdivia


    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 🙂

    That would be great.
    Eagerly waiting.


    still waiting on the fix…

    Plugin Author Rocio Valdivia


    I’m sorry for the delay @365sportsreport and @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!

    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.


    Plugin Author Rocio Valdivia


    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! 🙂

    Thank you…


    Good day Rocio Valdivia,

    Still,curiously waiting your solution.
    Hope to get soon.




    Hi Rocio Valdivia,

    Curiously waiting for your solution.

    Any news about it?


Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Error message’ is closed to new replies.