• The minute I enable Twitter login authentication my site crashes with a fatal error:

    Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1

    Or then again maybe you do not cause the error, but my theme does. As they’ve not perfectly coded it like your /library/oauth.php

    But if your classes are conditionally coded, then why does my site crash?

    https://www.ads-software.com/plugins/super-socializer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Heateor Support

    (@heateor)

    Or then again maybe you do not cause the error, but my theme does. As they’ve not perfectly coded it like your /library/oauth.php

    Yes, you are right.

    But if your classes are conditionally coded, then why does my site crash?

    Because that class in your theme is not conditionally coded. They need to check first, if that class has been already declared.

    Thread Starter Earnie Rhyker

    (@rhyker2u)

    yes, except isn’t a theme loaded before plugins?

    Plugin Author Heateor Support

    (@heateor)

    Not necessarily. This depends on how that class is being used in the theme.

    Thread Starter Earnie Rhyker

    (@rhyker2u)

    it isn’t. ?? Can’t I just comment it out then? Or null it ?

    Plugin Author Heateor Support

    (@heateor)

    You need to check if that class is declared first, in the theme file, to make that work with our plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Twitter Auth0 issue’ is closed to new replies.