CodeForPhilly / laddr

http://codeforphilly.github.io/laddr/
MIT License
61 stars 34 forks source link

Blog post with login required #115

Closed schlos closed 7 years ago

schlos commented 8 years ago

Version: Laddr v2

When blog post with visibility set to "Login required" is accessed by non-logged in visitor, exception occured.

i.e. http://staging.codeforcroatia.org/blog/this_is_notice_for_members

Fatal error: Call to a member function hasAccountLevel() on a non-object in /emergence/sites/cfc-staging/data/2498 on line 122

schlos commented 7 years ago

Not reproducible anymore in v2.3.1 (I think this is the version currently on staging).

Working correctly, e.g.: http://staging.codeforcroatia.org/blog/this_is_only_for_members