WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] select(database) fails in 3.0RC3 (2 posts)

  1. jonradio
    Member
    Posted 4 years ago #

    The following php code (in page.php, for example) fails in 3.0RC3, but works in 2.9.2:

    global $wpdb;
    $wpdb->show_errors = true;
    $wpdb->select("ebrt_ebc");

    Warning: Missing argument 2 for wpdb::select(), called in /home/ebrt/public_html/wp30rc3/wp-content/themes/default2/page.php on line 20 and defined in /home/ebrt/public_html/wp30rc3/wp-includes/wp-db.php on line 738

    Can’t select database

    Reported here: http://core.trac.wordpress.org/ticket/13914

  2. jonradio
    Member
    Posted 4 years ago #

    Last night's nightly build works perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic