warning: array_filter() [function.array-filter]: The first argument should be an array in C:\xampp\htdocs\vhosts\m29office\www\sites\all\modules\contributed\og_user_roles\og_user_roles.module on line 69.

Line 69 is:

$roles = array_filter(variable_get("og_user_roles_roles_{$node->type}", NULL));

I think it should be:

$roles = array_filter(variable_get("og_user_roles_roles_{$node->type}", array()));

If I can make a patch I will, but my time is limited at work right now.

Comments

sun’s picture

Priority: Critical » Normal
Status: Active » Fixed

Thanks for reporting and reviewing! Committed a fix.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.