The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. pskiebe
    Posted 5 years ago #


    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) {
    if ($term->count!=0) {
    this seems to do the job.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Access Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic