You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
your function getLastProfilePics(1) should return an array whereas it is returning boolean and the function php:reset() expects the parameter to be an array.
This should be posted on StackOverflow or Yiiframework forum.
What steps will reproduce the problem?
What is the expected result?
The expected result must be a page of a facebook called daddys game.
What do you get instead?
i've got a stack error yii\base\ErrorException, I think it may be a Stack overflow issue, the stacktrace i copied is listed below
yii\base\ErrorException: reset() expects parameter 1 to be array, boolean given in /var/www/html/daddysgames.com/yii2/frontend/controllers/AppsController.php:378
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'reset() expects...', '/var/www/html/d...', 378, Array)
#1 /var/www/html/daddysgames.com/yii2/frontend/controllers/AppsController.php(378): reset(false)
#2 /var/www/html/daddysgames.com/yii2/frontend/controllers/AppsController.php(73): frontend\controllers\AppsController->createImage(Object(Facebook\GraphNodes\GraphUser), 'male', NULL)
#3 [internal function]: frontend\controllers\AppsController->actionIndex(NULL, NULL, NULL)
#4 /var/www/html/daddysgames.com/yii2/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#5 /var/www/html/daddysgames.com/yii2/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#6 /var/www/html/daddysgames.com/yii2/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array)
#7 /var/www/html/daddysgames.com/yii2/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('realistic_newsp...', Array)
#8 /var/www/html/daddysgames.com/yii2/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#9 /var/www/html/daddysgames.com/public_html/index.php(33): yii\base\Application->run()
#10 {main}
Additional info
The screen shot of the bug is attached
The text was updated successfully, but these errors were encountered: