Invalid argument supplied for foreach() in mobile_tools_views_check_access() (line 870 of mobile_tools.module) because $perms may be an array or may simply be boolean TRUE.

Members fund testing for the Drupal project. Drupal Association Learn more


pdrake’s picture

See attached for a patch to fix this.

bcmiller0’s picture

still seeing issue, here is a new fix that gets that notice and the next one seen of this:

Warning: array_filter() expects parameter 1 to be array, string given in mobile_tools_views_check_access() (line 883 of www/sites/all/modules/contrib/mobile_tools/mobile_tools.module).

yashadev’s picture

Status: Active » Needs review