Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] API not returning up to date values

Simple Membership Plugin › Forums › Simple Membership Plugin › API not returning up to date values

  • This topic has 6 replies, 2 voices, and was last updated 7 years, 9 months ago by The Assurer.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 26, 2019 at 10:40 am #17227
    steve
    Participant

    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

    January 26, 2019 at 1:09 pm #17228
    The Assurer
    Moderator

    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.

    January 26, 2019 at 1:36 pm #17229
    steve
    Participant

    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

    January 26, 2019 at 1:37 pm #17230
    steve
    Participant

    I should say, this is a test user that I setup and I have logged in several times in the last few hours.

    January 26, 2019 at 1:46 pm #17231
    steve
    Participant

    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??

    January 26, 2019 at 8:52 pm #17232
    steve
    Participant

    Clearing some cache and restarting the database again seemed to have rsolved the issue. Something on my side rather than the plugin.

    thank you

    January 27, 2019 at 2:48 am #17233
    The Assurer
    Moderator

    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…?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy