Tips and Tricks HQ Support Portal › Forums › WP eMember › WP membership – Login Widget Fatal Error
Tagged: fatal error, log out, login, wordpress toolbar
- This topic has 13 replies, 5 voices, and was last updated 12 years, 10 months ago by admin.
-
AuthorPosts
-
December 14, 2011 at 7:22 am #5007dboeckleMember
Hello, I just installed eMembers on WordPress 3.3, I am using the “Roundabout”-Theme from press75.
The Problem:
If a registered user tries to login using the login widget, he gets the following error after he clicked “Login”:
Fatal error: Call to undefined function get_userdatabylogin() in /var/www/virtual/fitmitmaya.com/gesund/htdocs/wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 8
As suggested in an earlier reply to this problem in the support forum I already got an update and re-installed eMember as well as eStore.
If you please could have a look at it:
[http://gesund.fitmitmaya.com]
The site is in German but since almost anything is locked for general public you will easily get to the registration by choosing an Article from the Menu “Wohlfuhlubungen”.
thank you very much in advance.
David
December 14, 2011 at 9:01 am #39609IvyMemberCan you please do the theme test mentioned in the following forum post and tell me if this issue is still happening.
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
December 14, 2011 at 9:40 am #39610dboeckleMemberHello Ivy,
I did the following as suggested:
1. deactivated my theme
2. activated WordPress Twenty Ten 1.3 theme
Result: Problem still exists
3. reactivate my theme
Result: Problem still exists
4. for you to test I switched back to Twenty Ten again….
David
December 14, 2011 at 9:41 am #39611dboeckleMemberOne more thing:
I have no other Plugins running except for eMember
December 14, 2011 at 8:11 pm #39612lafleurcreativeMemberHi Ivy,
I’ve also been having this same issue. When our users login they get the same error as dboeckle. We did not start receiving this error till after we upgraded to WP 3.3 last night.
We have been trying to troubleshoot by deactivating plugins and our theme without much success in solving the issue. We are running version 7.3.8 but have put in an update request to upgrade to the latest version hoping this may help our situation.
If you need a test account on our site feel free to let us know and we will shoot you the details!
Thanks for all your help!
December 15, 2011 at 7:20 am #39613adminKeymasterI am investigating this… will post an update once I find out the issue.
December 15, 2011 at 9:25 am #39614adminKeymasterDecember 15, 2011 at 10:00 am #39615dboeckleMemberThank you very much for your fast help and solution!!
The original problem is solved.
But I am sorry to say that I ran into a new fatal error:
When a registered user logs out using the logout-link in the wordpress toolbar, he gets the following error message:
Fatal error: Call to a member function logout() on a non-object in /var/www/virtual/fitmitmaya.com/gesund/htdocs/wp-content/plugins/wp-eMember/eMember_auth_utils.php on line 211
This happens on the front-end-toolbar, as well as in the dashboard-toolbar.
This happens to free subscribers as well as to the admin.
I don’t think it happened before the last update, that you posted in this thread.
My settings:
Website: [http://gesund.fitmitmaya.com]
Wordpress 3.3
Theme: Twenty ten 1.3
Wordpress-Integration-Settings: all activated
installed Plugins: only eMember
with kind regards
David
December 15, 2011 at 10:32 am #39616adminKeymasterDid another update… please download another build and check it.
December 15, 2011 at 10:46 am #39617dboeckleMemberThank you for what I believe is one of the worlds fastest supports
Problem is solved, but raised some additional questions:
1. Is there a safe way to redirect the user, who logged out using the wordpress-toolbar, to this site “/?member_logout=1”
Currently users who log out using the wordpress-toolbar are redirected to this site “/wp-login.php?loggedout=true”
2. This might have been answered before: Is there a safe way to hide the wordpress-toolbar for all users by default?
3. Is there a safe way to hide /wp-admin for all users by default.
I know that there are plugins which can do that, but maybe you can suggest one that is proofed to be safe with eMember.
Thank you very much in advance!
David
December 16, 2011 at 3:59 am #39618adminKeymaster1. Once you do number 2 and 3 I don’t think anyone will be using the wordpress logout so you won’t need that anymore but if you do let me know and we should be able to add an option in eMember for this.
2. WordPress doesn’t have an option to globally turn off the toolbar for all users but there are a few plugins that can help you do that. Here is one:
http://wordpress.org/extend/plugins/wp-admin-bar-removal/
or you can add the following line of code to your theme’s function.php to remove admin bar completely for anyone:
<?php remove_action('init', 'wp_admin_bar_init'); ?>
3. Using a .htaccess file in your
/wp-admin
directory is a very effective way to prevent anyone except you going there. Check the 2nd tip from this article:http://www.tipsandtricks-hq.com/essential-wordpress-security-tips-is-your-blog-protected-987
December 16, 2011 at 7:24 am #39619dboeckleMemberThank you very much.
I will just hide the admin bar as suggested.
For anyone who might need it, here is another plugin that hides/removes the admin bar by default and works without interfering with eMember: http://wordpress.org/extend/plugins/global-admin-bar-hide-or-remove/
Thank you very much for your assistence during our first installation, we are now looking forward to install eStore.
David
January 3, 2012 at 4:04 pm #39620bastywebbSpectatorHi,
I appreciate that this request is a bit naughty, but here goes.
I’m getting the same issue: Call to undefined function get_userdatabylogin(), eMember_auth_utils.php on line 8.
I understand that updating the eMember and eStore plugin may fix the WordPress 3.3 issues. But I’ve made a huge number of customisations to all of my Tips and Tricks plugins. To redo all of these would cost me a couple of days.
So I’m asking on behalf of myself and other developers, who I expect to be in a similar situation, could you post your change log of fixes for eMember and eStore which addressed WordPress 3.3 login issues?
If this is not possible, could you perhaps explain why the function get_userdatabylogin() is undefined in eMember_auth_utils.php on line 8.
Many Many Thanks,
Sebastian
January 4, 2012 at 7:22 am #39621adminKeymasterHi Sebastian, it will be impossible for us to give you list of code changes that happens on our plugin. We change the plugin’s code on a daily basis and given the number of files we have the permutation of changes become big (it is something we just can’t support). The best option is to know the changes you are making to the plugin (for example: you can keep a text file with logs of what you changed) so you can apply them back after an update.
-
AuthorPosts
- You must be logged in to reply to this topic.