Had some major issues with my site, had to restore a previous version. Could not access front end or back end. Eventually got it to where I could access both but none of my pages were showing up. Tried a clean install of wordpress again but it will only allow me to use 3.4.2 for some reason. It asks me to upgrade to 3.5.1 but when i click upgrade will just keep saying 3.4.2. Nothing is working on my site and I keep getting this error when i click on any plugin:
Fatal error: Call to undefined method wpdb::get_charset_collate() in /xxxxxx/wp-admin/includes/schema.php on line 20
Also, none of the files from my database are showing up even tho it is linked to the right one. Please help!