Error: Invalid foreach() argument
-
Line 393 of wp-power-stats-admin produces this error. When I introduce a check for array, it goes away:
if (is_array ($role) ) { foreach ($role->capabilities as $key => $capability) { return $key; } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Error: Invalid foreach() argument’ is closed to new replies.