error in categories with v1.3


I’m getting this error on any category with no access restriction set..

Warning: in_array() expects parameter 2 to be array, null given in ……..\wp-content\plugins\groups-restrict-categories\lib\admin\class-groups-restrict-categories-taxonomy-admin.php on line 455

if I add a capability it goes away..

however, obviously I don’t want to restrict every category, so I guess this needs fixed..

tags has the same error too..

please advise,


I have groups 1.5.3 and restrict categories 1.3.0 versions activated.

4 Responses to error in categories with v1.3

  1. imacg May 22, 2015 at 10:25 pm #

    Fantastic Kento,

    on the ball, as ever,



    • kento May 23, 2015 at 2:51 pm #

      Many thanks, by the way we just had version 1.3.2 released which fixes a bug related to content being hidden when it shouldn’t. You should update to that version, too.

  2. kento May 22, 2015 at 10:23 pm #


    Version 1.3.1 which fixes this has just been released.


  3. antonio May 22, 2015 at 4:47 pm #

    Hi imacg,
    You can disable the warning adding define( 'WP_DEBUG_DISPLAY', false ); in your wp-config.php file.
    We have noted that to solve this in the next update, thanks for the feedback.
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account