common\models\catalog\Brand Object ( [_attributes:yii\db\BaseActiveRecord:private] => Array ( [id] => 39 [name] => RENAULT [slug] => renault [is_passenger_car] => 1 [is_commercial_vehicle] => 0 [img_preview] => [tecdoc_id] => 93 [created_at] => 1742739695 [updated_at] => 1742739695 [status] => 1 ) [_oldAttributes:yii\db\BaseActiveRecord:private] => Array ( [id] => 39 [name] => RENAULT [slug] => renault [is_passenger_car] => 1 [is_commercial_vehicle] => 0 [img_preview] => [tecdoc_id] => 93 [created_at] => 1742739695 [updated_at] => 1742739695 [status] => 1 ) [_related:yii\db\BaseActiveRecord:private] => Array ( ) [_relationsDependencies:yii\db\BaseActiveRecord:private] => Array ( ) [_errors:yii\base\Model:private] => [_validators:yii\base\Model:private] => [_scenario:yii\base\Model:private] => default [_events:yii\base\Component:private] => Array ( [beforeInsert] => Array ( [0] => Array ( [0] => Array ( [0] => yii\behaviors\TimestampBehavior Object ( [createdAtAttribute] => created_at [updatedAtAttribute] => updated_at [value] => [attributes] => Array ( [beforeInsert] => Array ( [0] => created_at [1] => updated_at ) [beforeUpdate] => updated_at ) [skipUpdateOnClean] => 1 [preserveNonEmptyValues] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => evaluateAttributes ) [1] => ) [1] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => beforeSave ) [1] => ) ) [beforeUpdate] => Array ( [0] => Array ( [0] => Array ( [0] => yii\behaviors\TimestampBehavior Object ( [createdAtAttribute] => created_at [updatedAtAttribute] => updated_at [value] => [attributes] => Array ( [beforeInsert] => Array ( [0] => created_at [1] => updated_at ) [beforeUpdate] => updated_at ) [skipUpdateOnClean] => 1 [preserveNonEmptyValues] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => evaluateAttributes ) [1] => ) [1] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => beforeSave ) [1] => ) ) [beforeValidate] => Array ( [0] => Array ( [0] => Array ( [0] => yii\behaviors\SluggableBehavior Object ( [slugAttribute] => slug [attribute] => Array ( [0] => name ) [value] => [immutable] => 1 [ensureUnique] => 1 [skipOnEmpty] => [uniqueValidator] => Array ( ) [uniqueSlugGenerator] => [attributes] => Array ( [beforeValidate] => slug ) [skipUpdateOnClean] => 1 [preserveNonEmptyValues] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => evaluateAttributes ) [1] => ) [1] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => beforeValidate ) [1] => ) ) [afterInsert] => Array ( [0] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => afterSave ) [1] => ) ) [afterUpdate] => Array ( [0] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => afterSave ) [1] => ) ) [afterDelete] => Array ( [0] => Array ( [0] => Array ( [0] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => afterDelete ) [1] => ) ) ) [_eventWildcards:yii\base\Component:private] => Array ( ) [_behaviors:yii\base\Component:private] => Array ( [0] => yii\behaviors\TimestampBehavior Object ( [createdAtAttribute] => created_at [updatedAtAttribute] => updated_at [value] => [attributes] => Array ( [beforeInsert] => Array ( [0] => created_at [1] => updated_at ) [beforeUpdate] => updated_at ) [skipUpdateOnClean] => 1 [preserveNonEmptyValues] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [1] => yii\behaviors\SluggableBehavior Object ( [slugAttribute] => slug [attribute] => Array ( [0] => name ) [value] => [immutable] => 1 [ensureUnique] => 1 [skipOnEmpty] => [uniqueValidator] => Array ( ) [uniqueSlugGenerator] => [attributes] => Array ( [beforeValidate] => slug ) [skipUpdateOnClean] => 1 [preserveNonEmptyValues] => [owner] => common\models\catalog\Brand Object *RECURSION* ) [imgPreview] => common\components\UploadImageBehavior Object ( [placeholder] => [createThumbsOnSave] => 1 [createThumbsOnRequest] => [deleteOriginalFile] => [thumbs] => Array ( [thumb-desktop] => Array ( [width] => 160 [quality] => 90 ) [thumb-desktop-retina] => Array ( [width] => 320 [quality] => 90 ) [thumb-mobile] => Array ( [width] => 750 [quality] => 90 ) ) [thumbPath] => @frontend/web/uploads/catalog/base/brand/previews/{id} [thumbUrl] => /uploads/catalog/base/brand/previews/{id} [attribute] => img_preview [scenarios] => Array ( [0] => edit ) [path] => @frontend/web/uploads/catalog/base/brand/previews/{id} [url] => /uploads/catalog/base/brand/previews/{id} [instanceByName] => [generateNewName] => 1 [unlinkOnSave] => 1 [unlinkOnDelete] => 1 [deleteTempFile] => 1 [_file:mohorev\file\UploadBehavior:private] => [owner] => common\models\catalog\Brand Object *RECURSION* ) ) )
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /var/www/dvs-car.ru/frontend/controllers/CatalogController.php on line 49. in /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/ErrorHandler.php(135): yii\web\Response->send()
#2 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#4 {main}
Previous exception:
yii\base\ErrorException: session_name(): Cannot change session name when headers already sent in /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Session.php:326
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'session_name():...', '/var/www/dvs-ca...', 326, Array)
#1 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Session.php(326): session_name('advanced-fronte...')
#2 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Component.php(180): yii\web\Session->setName('advanced-fronte...')
#3 /var/www/dvs-car.ru/vendor/yiisoft/yii2/BaseYii.php(546): yii\base\Component->__set('name', 'advanced-fronte...')
#4 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(yii\web\Session), Array)
#5 [internal function]: yii\base\BaseObject->__construct(Array)
#6 /var/www/dvs-car.ru/vendor/yiisoft/yii2/di/Container.php(384): ReflectionClass->newInstanceArgs(Array)
#7 /var/www/dvs-car.ru/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('yii\\web\\Session', Array, Array)
#8 /var/www/dvs-car.ru/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('yii\\web\\Session', Array, Array)
#9 /var/www/dvs-car.ru/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#10 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Module.php(742): yii\di\ServiceLocator->get('session', true)
#11 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Application.php(178): yii\base\Module->get('session')
#12 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/User.php(682): yii\web\Application->getSession()
#13 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/User.php(192): yii\web\User->renewAuthStatus()
#14 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/User.php(360): yii\web\User->getIdentity()
#15 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Component.php(139): yii\web\User->getIsGuest()
#16 /var/www/dvs-car.ru/frontend/views/layouts/main.php(174): yii\base\Component->__get('isGuest')
#17 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/View.php(348): require('/var/www/dvs-ca...')
#18 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/var/www/dvs-ca...', Array)
#19 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Controller.php(399): yii\base\View->renderFile('/var/www/dvs-ca...', Array, Object(frontend\controllers\CatalogController))
#20 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Controller.php(385): yii\base\Controller->renderContent('<div class="cat...')
#21 /var/www/dvs-car.ru/frontend/controllers/CatalogController.php(68): yii\base\Controller->render('brand/index', Array)
#22 [internal function]: frontend\controllers\CatalogController->actionBrand('renault')
#23 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#24 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#25 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('brand', Array)
#26 /var/www/dvs-car.ru/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('catalog/brand', Array)
#27 /var/www/dvs-car.ru/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#28 /var/www/dvs-car.ru/frontend/web/index.php(17): yii\base\Application->run()
#29 {main}