Support » Plugin: wordTube » wpdb::prepare error, crashing Apache server

  • cq3abn

    (@mprewitt3abn)


    Since upgrading to WP 3.6, I’m getting the following error when viewing posts in archive format, if they contain a YouTube video:

    stderr: PHP Warning: Missing argument 2 for wpdb::prepare(), called in /home/nabnor5/public_html/wp-content/plugins/wordtube/myextractXML.php on line 54 and defined in /home/nabnor5/public_html/wp-includes/wp-db.php on line 992, referer: http://3abn.org/wp-content/uploads/player.swf

    http://wordpress.org/plugins/wordtube/

Viewing 1 replies (of 1 total)
  • Change

    $themediafiles = $wpdb->get_results( $wpdb->prepare( $select ) );

    to

    $themediafiles = $wpdb->get_results( $select );

Viewing 1 replies (of 1 total)
  • The topic ‘wpdb::prepare error, crashing Apache server’ is closed to new replies.