Fatal error: Cannot redeclare class OAuthToken

When an user log in as a normal user (not admin), gets the error

Fatal error: Cannot redeclare class OAuthToken in /path/to/web/directory/suitecrm7.1.1/custom/include/social/twitter/twitter_auth/twitteroauth/OAuth.php on line 27 and need to refresh the page to see the dashboard.

Suite Version : 7.1.1

Hi there,

This is a known issue. We’ll update you when a resolution is available/applied.

Thanks,

Will.

1 Like

What i did is i fixed by keeping condition in error specified file.


if (!class_exists('OAuthToken')) {
  class OAuthToken {
  
  ...

}