- This topic has 6 replies, 2 voices, and was last updated 7 years, 9 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.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › API not returning up to date values
Hi,
Im using the API to retrieve user details and membership_levels, so I can also restrict content outside of wordpress. It does work quite well, however the API returns out of date information. For example I have a user and I updated the membership_level manually in the backend and also added name and surname. However when I call the API for this user it still shows the old membership level and no names.
How can I make the API call up to date information?
Many thanks,
Steve
After you manually update the member’s information; how much of a delay is experienced, before the updates are visible to the API? Remember; the MySQL server that maintains the database may have its own caching going on.
Hi,
Last time it says this user was logged in is over 12hrs ago. Just reset the MySQL database and server. But it’s still holding onto this older data.
Regards
Steve
I should say, this is a test user that I setup and I have logged in several times in the last few hours.
Hi,
Iv just noticed that the values in the members table on the databse aren’t correct. In the admin panel the values are correct, but somehow they aren’t correct in the database table. Don’t really understand how that can be??
Clearing some cache and restarting the database again seemed to have rsolved the issue. Something on my side rather than the plugin.
thank you
Clearing some cache and restarting the database again seemed to have rsolved the issue. Something on my side rather than the plugin.
You are self-hosting…?