Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'category_id' of non-object

$_GET = [
    'language' => 'hy',
    'cat' => 'siat-%D5%BD%D5%A1%D6%80%D6%84%D5%A1%D5%BE%D5%B8%D6%80%D5%B8%D6%82%D5%B4%D5%B6%D5%A5%D6%80',
];

Fatal error: Uncaught yii\web\HeadersAlreadySentException: Headers already sent in /home5/santamonicaam/vendor/yiisoft/yii2/web/Response.php on line 430. in /home5/santamonicaam/vendor/yiisoft/yii2/web/Response.php:366 Stack trace: #0 /home5/santamonicaam/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders() #1 /home5/santamonicaam/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send() #2 /home5/santamonicaam/vendor/yiisoft/yii2/base/ErrorHandler.php(276): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException)) #3 [internal function]: yii\base\ErrorHandler->handleFatalError() #4 {main} thrown in /home5/santamonicaam/vendor/yiisoft/yii2/web/Response.php on line 366