Title: [Plugin: Restrict Categories] Broken after update
Last modified: August 19, 2016

---

# [Plugin: Restrict Categories] Broken after update

 *  [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/)
 * After updating the plugin it has stopped showing categories. It says there are
   no categories, even though there are.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/page/2/?output_format=md)

 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853246)
 * Can you provide some more information on your setup?
    - What version of WordPress are you running?
    - What version of PHP/Apache is installed?
    - Have you disabled all other plugins to isolate it to Restrict Categories?
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853311)
 * This problem has been fixed, but I’ve run into another BIG problem.
 * When this plugin is activated, posts that have been submitted by a user with 
   a user level lower than administrator level are NOT able to see/edit their posts
   afterwards.
 * I hope a solution can be found ASAP, because in the meantime my contributors 
   can’t edit their posts after submission.
 * Thank you so much!
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853314)
 * I have put the plugin through various tests trying to reproduce this problem 
   you’re having and I’m not able to do so.
 * Are all of your users given the Contributor role having this problem?
 * If you’ve installed any user/role management plugins and changed the permissions
   of a role, this could be the culprit.
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853317)
 * Thanks for your quick reply!
 * I do have User Role Editor installed, but what I don’t get is that I’ve tested
   the site locally with the User Role Editor plugin AND an older version of Restricted
   Categories (before it was updated) and it worked.
 * So I think it has something to do with the new version, as it worked fine with
   the old one.
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853319)
 * As a test, I installed the User Role Editor and _did not change any capabilities_.
   Restrict Categories works as it should.
 * Since you have a local dev environment, create a new WP install and install Restrict
   Categories and nothing else. If the plugin works as expected, then you know it’s
   something about the capabilities.
 * Just curious, what capabilities are you giving to the Contributor role?
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853320)
 * _I just found the problem!_ It is indeed the Restricted Categories plugin:
 * It’s because my categories have 3 levels. Users can only select the subcategories,
   but because they can’t see the top level category, they can’t see the subcategories(
   thus the posts in those categories) either!
 * Is there a way to fix this? That would be awesome.
 * Thank you!
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853321)
 * Users should be able to create a new post to whatever categories you have given
   them access to, no matter how deep they are nested.
 * Reset your user role capabilities back to the default and try Restrict Categories
   again.
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853323)
 * I tested the same thing with the Contributor user role on my local server and
   it doesn’t work either.
 * Example:
 * – Category 1
    — Category 2 —– Category 3
 * If I have Category 3 selected (in Restricted Categories) but Category 1 and 2
   deselected, I can select Category 3 as a category on the Add Post page (as a 
   Contributor), but when I submit it and click on Posts it doesn’t show up.
 * If I have Category 1, 2 and 3 as three separate categories and I have Category
   3 selected, it does show up.
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853324)
 * Perhaps you aren’t checking the category when Publishing? That will default to
   Uncategorized (or whatever you have set as the default category), which the Contributor
   may not have access to.
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853325)
 * I checked the category. So did my contributors. 🙂
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853326)
 * This is what the Categories box on the Add Post page looks like for Contributors:
   
   [http://img145.imageshack.us/img145/7356/restrictedcats2.jpg](http://img145.imageshack.us/img145/7356/restrictedcats2.jpg)(
   I obviously checked that before I submitted it)
 * When this is selected on the Restricted Categories page:
    [http://img211.imageshack.us/img211/5895/restrictedcats3.jpg](http://img211.imageshack.us/img211/5895/restrictedcats3.jpg)
 * This is what shows up on the Posts page:
    [http://img714.imageshack.us/img714/4527/restrictedcats1.jpg](http://img714.imageshack.us/img714/4527/restrictedcats1.jpg)
 * When I do the same thing with a top level category it works fine.
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853327)
 * Sorry, I’m not able to reproduce this on two different installs of WordPress (
   versions 3.0.2 and 3.1 RC2) using various user roles (contributor, author, editor,
   and even custom), and categories up to six levels deep.
 * I even setup the same categories you show above, but everything works.
 * If you can provide me with some information, I will try to investigate further.
    1. What version of WordPress are you running?
    2. What version of PHP/Apache is installed?
    3. What capabilities are you giving to the Contributor role?
 *  Thread Starter [Naz](https://wordpress.org/support/users/naz/)
 * (@naz)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853334)
 * Found out the problem was that I had installed Capability Manager before. It’s
   not compatible with version 3.0.4 and when I uninstalled it I didn’t know it 
   had messed up the database.
 * Both Restricted Categories and User Role Editor work fine.
 * Thanks for the help. I really appreciate it. Keep up the good work with this 
   great plugin!
 *  Plugin Author [Matthew Muro](https://wordpress.org/support/users/mmuro/)
 * (@mmuro)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853335)
 * Ahh…glad we were able to resolve this!
 *  [Lingolwl](https://wordpress.org/support/users/lingolwl/)
 * (@lingolwl)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/#post-1853352)
 * Hi mmuro,
 * Thanks for the awesome pluggin =)
 * However, i bumped into a significant problem after the update.
    When the updated
   Restrict Categories plugin is activated, I am not able to see any PAGES and it’s
   options panel (not posts) that i had created before. The Pages control panel 
   becomes empty and I am not able to edit or post any new pages.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/page/2/?output_format=md)

The topic ‘[Plugin: Restrict Categories] Broken after update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/restrict-categories.svg)
 * [Restrict Categories](https://wordpress.org/plugins/restrict-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restrict-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-categories/reviews/)

 * 21 replies
 * 3 participants
 * Last reply from: [Lingolwl](https://wordpress.org/support/users/lingolwl/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-restrict-categories-broken-after-update/page/2/#post-1853361)
 * Status: not resolved