exception 'yii\base\InvalidParamException' with message 'Response content must not be an array.' in /var/www/html/vendor/yiisoft/yii2/web/Response.php:936
Stack trace:
#0 /var/www/html/vendor/yiisoft/yii2/web/Response.php(312): yii\web\Response->prepare()
#1 /var/www/html/vendor/yiisoft/yii2/web/ErrorHandler.php(110): yii\web\Response->send()
#2 /var/www/html/vendor/yiisoft/yii2/base/ErrorHandler.php(95): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#4 {main}
Previous exception:
exception 'yii\base\ErrorException' with message 'Trying to get property of non-object' in /var/www/html/frontend/modules/post/controllers/CategoriesController.php:130
Stack trace:
#0 /var/www/html/frontend/modules/post/controllers/CategoriesController.php(130): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', '/var/www/html/f...', 130, Array)
#1 [internal function]: frontend\modules\post\controllers\CategoriesController->frontend\modules\post\controllers\{closure}(Object(frontend\modules\post\models\Articles), Object(frontend\widgets\RssView))
#2 /var/www/html/frontend/widgets/RssView.php(107): call_user_func(Object(Closure), Object(frontend\modules\post\models\Articles), Object(frontend\widgets\RssView))
#3 /var/www/html/frontend/widgets/RssView.php(89): frontend\widgets\RssView->renderItem(Object(frontend\modules\post\models\Articles))
#4 /var/www/html/frontend/widgets/RssView.php(54): frontend\widgets\RssView->renderItems()
#5 /var/www/html/vendor/yiisoft/yii2/base/Widget.php(96): frontend\widgets\RssView->run()
#6 /var/www/html/frontend/modules/post/controllers/CategoriesController.php(139): yii\base\Widget::widget(Array)
#7 /var/www/html/frontend/modules/post/controllers/CategoriesController.php(27): frontend\modules\post\controllers\CategoriesController->actionRss(1)
#8 [internal function]: frontend\modules\post\controllers\CategoriesController->actionIndex(1)
#9 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#10 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array)
#11 /var/www/html/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction('index', Array)
#12 /var/www/html/frontend/controllers/FrontendController.php(109): yii\base\Module->runAction('categories/inde...', Array)
#13 [internal function]: frontend\controllers\FrontendController->actionShow()
#14 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#15 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array)
#16 /var/www/html/vendor/yiisoft/yii2/base/Module.php(455): yii\base\Controller->runAction('show', Array)
#17 /var/www/html/vendor/yiisoft/yii2/web/Application.php(83): yii\base\Module->runAction('frontend/show', Array)
#18 /var/www/html/vendor/yiisoft/yii2/base/Application.php(375): yii\web\Application->handleRequest(Object(yii\web\Request))
#19 /var/www/html/frontend/web/index.php(18): yii\base\Application->run()
#20 {main}