error in categories with v1.3

Hi,

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,

thanks..

I have groups 1.5.3 and restrict categories 1.3.0 versions activated.


Comments

4 responses to “error in categories with v1.3”

  1. Fantastic Kento,

    on the ball, as ever,

    cheers,

    imacg

    1. 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. Hi,

    Version 1.3.1 which fixes this has just been released.

    Cheers

  3. antonio Avatar
    antonio

    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.
    Regards,
    Antonio B.

Share