Viewing 15 replies - 1 through 15 (of 22 total)
  • i have the sam problem, when upgrade to wp 3.5 this morning

    Agen Poker

    Same thing here. I’m getting in all my plugins:

    Plugin Author Maeve Lander

    (@enigmaweb)

    Thanks for reporting guys… will fix this up right away and release an update.

    Find out more: https://make.www.ads-software.com/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    Yea, add any even senseless argument after the first argument, and it’s fine.

    I have the lastest version and I have this same error.

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/hildesho/public_html/wp-content/plugins/html5-jquery-audio-player-pro/playlist/manage-playlists.php on line 315 and defined in /home/hildesho/public_html/wp-includes/wp-db.php on line 990

    When I make this change: $wpdb->prepare( “SELECT * FROM table WHERE ID = %d AND name = %s”, $id, $name );

    I then get this warning

    Warning: Invalid argument supplied for foreach() in /home/hildesho/public_html/wp-content/plugins/html5-jquery-audio-player-pro/playlist/manage-playlists.php on line 317

    Any advise?

    Here is line 317

    <?php foreach( $results as $result ): ?>

    Maybe that’s the wrong line?

    Plugin Author Maeve Lander

    (@enigmaweb)

    Guys the fix will be implemented really soon and I will release an update that solves this problem. It’s not just 1 line that is a quick update, its more complex than that, and also there are some other issues with 3.5 core so please just sit tight and wait for the update – really not much point in trying a DIY fix on this… working on it as quick as I can.

    Same problem here. Hope you can get the update done soon. Thanks

    Plugin Author Maeve Lander

    (@enigmaweb)

    Ok guys update has been released for both Free and Pro versions. Please update and these issues with the core upgrade to 3.5 should be fixed. Please post back here with any further problems using the plugin with 3.5

    Thanks.

    Thread Starter HSuthy

    (@hsuthy)

    I’m still getting the same error message, even after upgrading the plugin and reinstalling 3.5. It has wiped all of the songs from my playlist and won’t let me re-upload them. Help!

    Plugin Author Maeve Lander

    (@enigmaweb)

    Yikes! That’s not good! I did pretty extensive testing and this didn’t happen for me…. I’m hoping this is an isolated issue. Anyone else got this problem too?

    @hsuthy, if possible please can you email me privately with your site details so I can take a closer look and work out what happened? Sorry!

    Thread Starter HSuthy

    (@hsuthy)

    Hi EnigmaWeb, where so I find your email address?

    All of my songs are still there, but when I go to edit them, the playlist field is empty. The error message is gone, though.
    screenshot:
    https://www.noizepro.com/proofs/html5player.jpg

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Warning: Missing argument 2 for wpdb::prepare’ is closed to new replies.