Title: Restricted Access not Restricted!
Last modified: December 5, 2016

---

# Restricted Access not Restricted!

 *  Resolved [theitguy](https://wordpress.org/support/users/theitguy/)
 * (@theitguy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/)
 * Hi All,
 * Since a week now I’ve got the setup of paid membership pro + woocommerce. Everything
   was working fine and easy to setup untill I’ve noticed my membership was expired
   but I still had access to all restricted pages. Tried this on a few accounts 
   on my website and all act the same.
 * Even when the membership is any time over due like today is the 5th and it lasted
   till the 3th they can see the restricted page(s).
 * Is there any PHP code to fix this? if ( certain level ) and Active? I have found
   php code to restrict on level, now i need the active one.
 * Or any other solution!
 * Greetings,
 * Fellow WordPresser/

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Travis](https://wordpress.org/support/users/travislima/)
 * (@travislima)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/#post-8519811)
 * Hi there,
 * Thank you for getting in touch with us!
 * Can you please confirm that the members are indeed expiring? You should be able
   to check this by viewing the Members List:
 * `WP Dashboard > Memberships > Members List`
 * If they are not expiring then it could be a problem with the Cronjob not firing.
 * Let me know,
    Trav
 *  [watchdogs2](https://wordpress.org/support/users/iplus4u/)
 * (@iplus4u)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/#post-8520146)
 * [@trav](https://wordpress.org/support/users/trav/)
 * Hello,
 * The cron job ran for me, and it did put expired members to ‘expire’ status. But
   there seem to be no function to handle these members. That might be the reason
   causes the problem
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/#post-8520254)
 * To add onto Trav’s response.
 * `wp_cron` is not the most stable method in WordPress and sometimes doesn’t fire
   on low traffic sites.
 * As mentioned you are able to run the cron manually using a plugin like WP Crontrol(
   or similar).
 * You are able to setup a server level cron within your host settings which will
   run the cron daily regardless of the factors wp_cron uses but requires a lot 
   more knowledge and some code.
 * However here is a great article in setting up a cron on the server level – [https://tommcfarlin.com/wordpress-cron-jobs/](https://tommcfarlin.com/wordpress-cron-jobs/)
 * Hope this helps! 🙂
 *  [Travis](https://wordpress.org/support/users/travislima/)
 * (@travislima)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/#post-8520309)
 * Thanks for checking that for me!
 * [@andrewza](https://wordpress.org/support/users/andrewza/) helped a user in this
   thread who was experiencing the same problem, would you mind having a look and
   letting me know if this helps you?
 * [https://wordpress.org/support/topic/expired-members-still-get-access-to-membership-protected-content/](https://wordpress.org/support/topic/expired-members-still-get-access-to-membership-protected-content/)
 * Thanks!
    Trav

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Restricted Access not Restricted!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Travis](https://wordpress.org/support/users/travislima/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/restricted-access-not-restricted/#post-8520309)
 * Status: resolved