WordPress.org

Ready to get started?Download WordPress

Forums

User Access Manager
Bug using Thematic - empty categories not hidden (1 post)

  1. pskiebe
    Member
    Posted 3 years ago #

    WP:3.0.1
    UAM:1.1.4
    Thematic:0.9.7.7

    Reproduce the problem by creating a new category, add a post and restrict access to a uam-group. Also check 'hide empty categories' in the uam-settings.

    This category is empty and should therefore be hidden for everyone except the members of the assigned group. It worked perfectly well until i switched my theme to thesis.

    Ouput in debug-mode:
    Notice: Undefined property: stdClass::$isEmpty in \wp-content\plugins\user-access-manager\class\UserAccessManager.class.php on line 1806

    Quick and Dirty fix:
    change line 1806 of UserAccessManager.class.php from
    if (!$term->isEmpty) {
    to
    if ($term->count!=0) {
    this seems to do the job.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic