Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to access any user page I get this message:
Fatal error: Class 'DrupalOAuthConsumer' not found in /home/nefcates/public_html/novo/modules/oauth/oauth_common.module on line 146
I already cleared the cash, installed the later dev version of Oauth and still got the same message.
Thanks for any help here.
Comments
Comment #1
tiroles CreditAttribution: tiroles commentedNobody?
Its says it can't find the class, but seems that the code is fine:
function oauth_common_consumer_load($csid) {
$consumer = DrupalOAuthConsumer::loadById($csid, TRUE); <----Line 146
if (!$consumer) {
$consumer = FALSE;
}
return $consumer;
}
Comment #2
tiroles CreditAttribution: tiroles commentedUpdate: for anyone who is interested on this, I solved the problem uninstalling the OAuth and Autoload modules. Problem fixed.