Whay am I getting this fatal error

Discussion in 'PHP' started by Billy788, Dec 6, 2011.

  1. #1
    Hello,

    I was updating some wp-plugins and now when I refresh my website and/or dashboard I get a blank white page with the following error:

    Fatal error:
    Call to undefined method stdClass::set_prefix()in my domain/wp-includes/load.php on line 337


    Below is line 337:
    $prefix = $wpdb->set_prefix( $table_prefix );

    Can someone please tell me how I can fix this?

    Thanks in advance,
     
    Billy788, Dec 6, 2011 IP
  2. ChefGaby

    ChefGaby Active Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    96
    #2
    It's possible that not all the files from the plugin got copied to your server.
    Try updating the same plugins manually or delete them and then install them again from the WordPress dashboard.
     
    ChefGaby, Dec 6, 2011 IP
  3. Billy788

    Billy788 Member

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Unfortunately I am unable to access the dashboard or the website. At this point I can only access the files thru c-panel.
     
    Billy788, Dec 6, 2011 IP
  4. ChefGaby

    ChefGaby Active Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    96
    #4
    Then you should connect with your ftp client to your site and delete the plugins that you updated last.
    Or you can do that with file manager from cPanel.
     
    ChefGaby, Dec 6, 2011 IP