Title: 3.1 Beta 2 upgrade, now I can&#039;t log in
Last modified: August 19, 2016

---

# 3.1 Beta 2 upgrade, now I can't log in

 *  Resolved [Wheat Williams](https://wordpress.org/support/users/wheat-williams/)
 * (@wheat-williams)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/)
 * Pardon me if this is the wrong forum. Where should I post this request, if not
   here?
 * Within a working stable 3.0.4 installation, I installed the Beta Tester Plugin,
   set it for “Bleeding Edge” and upgraded. Within WordPress, it indicated that 
   update was successful. But when I clicked on Dashboard, I get this:
 * Parse error: syntax error, unexpected ‘&’, expecting T_VARIABLE or ‘$’ in /home/
   content/w/h/e/wheat395/html/wordpress/wp-includes/class-wp-admin-bar.php on line
   160
 * Now I get the same error if I close the browser and go back to my login page
 * [http://wheatwilliams.com/wordpress/wp-login.php](http://wheatwilliams.com/wordpress/wp-login.php)
 * As you can guess, the WordPress blog is not at the root of my Web hosting directory.
   Is that related to the problem?
 * Can I fix this by easily editing a string? How do I go about this?

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/?output_format=md)
[1](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/?output_format=md)
2

 *  Thread Starter [Wheat Williams](https://wordpress.org/support/users/wheat-williams/)
 * (@wheat-williams)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/page/2/#post-1841966)
 * Thanks, Otto. I changed the string in
 * wordpress/wp-includes/class-wp-admin-bar.php
 * back to what it was originally.
 * I went into my GoDaddy hosting control and changed from php 4 to php 5.
 * Everything seems to work correctly now.
 *  Anonymous User
 * (@anonymized-3085)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/page/2/#post-1842089)
 * additionally the other issue is now addressed in this ticket:
    [http://core.trac.wordpress.org/ticket/16080](http://core.trac.wordpress.org/ticket/16080)
 *  [sow](https://wordpress.org/support/users/sow/)
 * (@sow)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/page/2/#post-1842321)
 * I’ve just gone through this problem on two test sites(not being able to login
   to my website after upgrading to WP 3.1 RC2) and there is a quicker way to deactivate
   all your plugins than renaming/deleting all plugins – just rename the plugins
   folder to something like /plugins-x.
 * This gives you login access to you site and you can apply the latest build of
   WP 3.1 RC2 and you will get a list of all de-activated plugins.
 * You will now be able to create a new /plugin folder and drag each plugin from/
   plugin-x over to test.
 * Cheers
 * Will

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/?output_format=md)
[1](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/?output_format=md)
2

The topic ‘3.1 Beta 2 upgrade, now I can't log in’ is closed to new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 18 replies
 * 4 participants
 * Last reply from: [sow](https://wordpress.org/support/users/sow/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/31-beta-2-upgrade-now-i-cant-log-in/page/2/#post-1842321)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
