Warning: Attempt to read property "ID" on null in /homepages/12/d143831057/htdocs/winchester/wp-includes/media.php on line 2997
Notice: Function map_meta_cap was called incorrectly. When checking for the read_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.) in /homepages/12/d143831057/htdocs/winchester/wp-includes/functions.php on line 6078
Here’s a quick and easy way to catch up with the latest TV reports about Martin:
Hi,
I need your kind help, i want to use this wordtube plugin but it is not working properly … It is showing “Error loading player:could not load player configuration”
Could u please help me to how to solve this issue…
Waiting for your kind reply
Thanking You
Azhar
Looks like wordtube plugin finally broken completely by wordpress 3.6 . looked at your code for the xml extraction ut does not work on your site any longer it appears
Indeed. Just having a look to try and work out why…
Martin
Change myextractXML.php as follows:
Line 42 should be changed from:
$themediafiles = $wpdb->get_results( $wpdb->prepare ("SELECT * FROM $wpdb->wordtube ORDER BY vid DESC {$limit}") );
to
$themediafiles = $wpdb->get_results( "SELECT * FROM $wpdb->wordtube ORDER BY vid DESC ".$limit );
Line 51 should be changed from:
$select .= " WHERE (m.playlist_id = '$playlist_id'" ;
to
$select .= " WHERE (m.playlist_id = %d" ;
Line 54 should be changed from:
$themediafiles = $wpdb->get_results( $wpdb->prepare( $select ) );
to:
$themediafiles = $wpdb->get_results( $wpdb->prepare( $select , $playlist_id ) );
There’s an explanation of what broke here and a version of the code that works here.