- This topic has 1 reply, 2 voices, and was last updated 5 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Customising Error Pages
We are using WP Simple Membership to manage access to a very basic webpage, and we want to restrict each username to only be able to access from one location / device at a time. To do this, we are utilising the ‘Loggedin – Limit Active Logins’ plugin, which does the job fine. However the user is returned with the following error page:
“Error! This site has the force WP user login feature enabled in the settings. We could not find a WP user record for the given username: [USRERNAME]
This error is triggered when a member account doesn’t have a corresponding WP user account. So the plugin fails to log the user into the WP User system.
Contact the site admin and request them to check your username in the WP Users menu to see what happened with the WP user entry of your account.
The site admin can disable the Force WP User Synchronization feature in the settings to disable this feature and this error will go away.
You can use the back button of your browser to go back to the site.”
Is there a way to customise this error page to present the user with a more relevant message in this case?
Many Thanks.
Hi,
Is there a way to customise this error page to present the user with a more relevant message in this case?
That error message is divided into 5 strings. You need to edit the default English strings to what ever you require. The following documentation edit-simple-membership-default-english-strings should help you.
Let me know if you need more information or help.
Thank you