Invalid argument supplied for foreach()" in file /var/www/red/mod/notifications/views/default/notifications/subscriptions/groupsform.php (line 7):
global $NOTIFICATION_HANDLERS;
line 7 --> foreach($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = get_entities_from_relationship('notify' . $method,$vars['user']->guid,false,'group','',0,'',99999);
$tmparray = array();
foreach($subsbig[$method] as $tmpent) {
$tmparray[] = $tmpent->guid;
}
$subsbig[$method] = $tmparray;
}
-----------------------
Maybe UTF8 codification?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.