A PHP Error was encountered

Severity: 2

Message: Invalid argument supplied for foreach()

Filename: app/controller/User.php

Line: 164