strangerstudios/paid-memberships-pro — pull request #157 by ouahabi (2014-12-31 01:15:02+00:00)
Title: fix pmpro_has_membership_access() function

pmpro_has_membership_access function conflict with some other plugins like "TimberLibrary" especially when the global $post is null, and it generates a runtime warning.
So we should verify the variable before the assignment instruction (Line 10).