Im getting a parse error when i try to produce the users list.
The snippet call in my page:
[!WebLoginPE? &type=`users` !]
and the error:
[tt]« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /var/www/httpdocs/assets/snippets/webloginpe/webloginpe.class.php
Line: 1179
Line 1179 source: foreach ($theUser as $attribute => $value) [/tt]
Anyone any ideas? Anyone else with this problem?
System i am on is: Modx 9.6.1 - PHP 5.2 - Apache 2 - Ubuntu 6