- This topic has 6 replies, 4 voices, and was last updated 11 years, 3 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Fatal error: Cannot redeclare class Auth
Tagged: Cannot redeclare class Auth
hi, 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
Looks 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.
thank you so much amin , I will be waiting for your reply/solution
Hello 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.
We 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
Hi 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.
We 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?