WordPress.org

Ready to get started?Download WordPress

Forums

wordTube
wpdb::prepare error, crashing Apache server (2 posts)

  1. mprewitt3abn
    Member
    Posted 11 months ago #

    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/

  2. Martin Tod
    Member
    Posted 9 months ago #

    Change

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

    to

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

Reply

You must log in to post.

About this Plugin

About this Topic