WordPress.org

Ready to get started?Download WordPress

Forums

Please help - Warning after WP Upgrade (2 posts)

  1. hangirl2
    Member
    Posted 2 years ago #

    I cannot access wp-admin. I'm a novice when it comes to WP code manipulation so please help! I keep getting this error:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/cdsusc5/public_html/cmr/wp-content/plugins/wp-super-edit/wp-super-edit.core.class.php on line 114 and defined in /home/cdsusc5/public_html/cmr/wp-includes/wp-db.php on line 990

    This is what I have for wp-super-edit.core.class.php:
    $plugin_result = $wpdb->get_results( $wpdb->prepare( $plugin_query ) );

    line 990 for wp-db.php seems to be ok?:
    function prepare( $query, $args ) {

    Thanks, in advance...

  2. ClaytonJames
    Member
    Posted 2 years ago #

    Some good information in this article...

    http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    In the meantime, using your ftp client to rename or remove the wp-super-edit plugin may be enough to restore access to the back-end for you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags