HSuthy
Member
Posted 5 months ago #
I am getting the following message:
Warning: Missing argument 2 for wpdb::prepare(), called in /home/bourneco/public_html/wp-content/plugins/html5-jquery-audio-player-pro/player/songs/add-song.php on line 70 and defined in /home/bourneco/public_html/wp-includes/wp-db.php on line 990
http://wordpress.org/extend/plugins/html5-jquery-audio-player/
betme88
Member
Posted 5 months ago #
i have the sam problem, when upgrade to wp 3.5 this morning
Agen Poker
droidzone
Member
Posted 5 months ago #
Same thing here. I'm getting in all my plugins:
Thanks for reporting guys... will fix this up right away and release an update.
Find out more: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/
droidzone
Member
Posted 5 months ago #
Yea, add any even senseless argument after the first argument, and it's fine.
johnq1
Member
Posted 5 months ago #
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
johnq1
Member
Posted 5 months ago #
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?
johnq1
Member
Posted 5 months ago #
Here is line 317
<?php foreach( $results as $result ): ?>
droidzone
Member
Posted 5 months ago #
Maybe that's the wrong line?
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.
khildreth
Member
Posted 5 months ago #
Same problem here. Hope you can get the update done soon. Thanks
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.
HSuthy
Member
Posted 5 months ago #
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!
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!
HSuthy
Member
Posted 5 months ago #
Hi EnigmaWeb, where so I find your email address?
khildreth
Member
Posted 5 months ago #
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:
http://www.noizepro.com/proofs/html5player.jpg
johnq1
Member
Posted 5 months ago #
The error message is gone for the Pro version and the player appeared until I added three songs to a playlist. Now when I go to the page where I placed the player it does not show up. I tried placing the code again on the page but no player.
Please can you send a link to the affected site and if you want me to look into it properly contact me privately with some temporary login details so I can check it in more detail. Thanks.
http://www.enigmaweb.com.au/contact/
becky.rogness
Member
Posted 5 months ago #
The error disappeared for me after your update, but my songs won't play in IE or Firefox. Any ideas? http://www.ichooselife.org/
@becky.rogness
Checked your site - plugin's working fine but this is a mime type issue on Firefox and earlier IE versions. Please check FAQs for solution to this one.
Thanks
Hi all... now marking this thread resolved because the original issue of Warning: Missing argument 2 for wpdb::prepare error has now been fixed in latest version of the plugin.
Please move any discussions on other topics to their own threads so we can all keep track of things. Thanks. :-)
fyuniardo
Member
Posted 4 months ago #
Hi, im using 3.5 and i just bought the plugin, unfortunately i cant add my song to the playlist.
i can manage the playlist but cant manage/add the song to the playlist
the ADD button seems not working
(when i press the add song button it doesnt make any updates)
pls help..
Hi fyuniardo, please can you post a link to your site where you have the player embedded so I can check it and see if anything obvious pops out?