I'm trying to upgrade twitter from 7.53 to 7.58 via drush and i'm getting the following error:

PHP Fatal error:  Class 'TwitterUser' not found in /home/sites/all/modules/twitter/twitter.inc on line 86
Drush command terminated abnormally due to an unrecoverable error.                  [error]
Error: Class 'TwitterUser' not found in
/home/sites/all/modules/twitter/twitter.inc, line 86
Drush was not able to start (bootstrap) Drupal.                                     [error]
Hint: This error can only occur once the database connection has already been
successfully initiated, therefore this error generally points to a site
configuration issue, and not a problem connecting to the database.

Any ideas?

Comments

damienmckenna’s picture

Issue summary: View changes
Status: Active » Fixed

Did you clear the caches and/or rebuild the registry? It's probably something stuck like that.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.