Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Fatal error: Cannot redeclare class Auth
Tagged: Cannot redeclare class Auth
- This topic has 6 replies, 4 voices, and was last updated 12 years, 4 months ago by
admin.
-
AuthorPosts
-
February 17, 2011 at 8:51 pm #2741
Fenwn
Memberhi, amin.
i am trying to activate the plugin and i got this error message
Fatal error: Cannot redeclare class Auth in /…/…/public_html/mysite/wp-content/plugins/wp-eMember/auth.php on line 8
i have the emember plugin v6.0.5
i think this happens because i am trying to connect the wordpress with my phpbb3 forum using the (WordPress to phpBB 3.0.x Bridge) plugin .
is there is any way to fix this
thanks,
Ali
February 18, 2011 at 3:29 am #29145amin007
ParticipantLooks like the other plugin is also using a class named “Auth”. You cannot have two classnames with the same name. I will look into renaming the class name in eMember.
February 18, 2011 at 4:24 am #29146Fenwn
Memberthank you so much amin , I will be waiting for your reply/solution
August 4, 2013 at 9:34 pm #29147rainbowmuisc
MemberHello I am having the same issue with the class name AUTH. It also relates to a phpbb3 bridge plugin. I see from the forum that this goes back a 2 years or so.
I’m wondering if the AUTH class name in emember and others (if appropriate) are likely to be changed in the near future?
If not some specific instructions to resolve this would be great.
Thank you.
August 5, 2013 at 12:40 am #29148admin
KeymasterWe have already changed the class name in our plugin to emember auth. Please load a fresh copy of the plugin that should resolve this issue for you:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
August 6, 2013 at 7:22 pm #29149rainbowmuisc
MemberHi thanks for your reply. I am using all the current builds. As a work around any chance I a change emember to not logout from wordpress when emember logs out? Of course I can disable the wordpress integration but I am using roles to display widgets to certain memebers so this won’t work for me. I can log in and out of wordpress without a problem if the wordpress user is not an emember.
August 7, 2013 at 12:38 am #29150admin
KeymasterWe have no class in our plugin named “Auth” anymore. So please do what I suggested in my previous post and you won’t see this issue. You haven’t done any custom coding that is causing this trouble, have you?
-
AuthorPosts
- You must be logged in to reply to this topic.