File: /var/www/src/modules/store/controllers/DefaultController.php / Line: 851
<?php
yii\base\ErrorException#1
(
    [*:message] => 'Attempt to read property \"name\" on null'
    [Exception:string] => ''
    [*:code] => 2
    [*:file] => '/var/www/src/modules/store/components/helper/StoreHelper.php'
    [*:line] => 130
    [Exception:trace] => [
        0 => [
            'file' => '/var/www/src/modules/store/components/helper/StoreHelper.php'
            'line' => 130
            'function' => 'handleError'
            'class' => 'yii\\base\\ErrorHandler'
            'type' => '->'
        ]
        1 => [
            'file' => '/var/www/src/modules/store/controllers/DefaultController.php'
            'line' => 841
            'function' => 'getColorWiseSizes'
            'class' => 'app\\modules\\store\\components\\helper\\StoreHelper'
            'type' => '::'
        ]
        2 => [
            'function' => 'actionDetail'
            'class' => 'app\\modules\\store\\controllers\\DefaultController'
            'type' => '->'
        ]
        3 => [
            'file' => '/var/www/vendor/yiisoft/yii2/base/InlineAction.php'
            'line' => 60
            'function' => 'call_user_func_array'
        ]
        4 => [
            'file' => '/var/www/vendor/yiisoft/yii2/base/Controller.php'
            'line' => 184
            'function' => 'runWithParams'
            'class' => 'yii\\base\\InlineAction'
            'type' => '->'
        ]
        5 => [
            'file' => '/var/www/vendor/yiisoft/yii2/base/Module.php'
            'line' => 555
            'function' => 'runAction'
            'class' => 'yii\\base\\Controller'
            'type' => '->'
        ]
        6 => [
            'file' => '/var/www/vendor/yiisoft/yii2/web/Application.php'
            'line' => 103
            'function' => 'runAction'
            'class' => 'yii\\base\\Module'
            'type' => '->'
        ]
        7 => [
            'file' => '/var/www/vendor/yiisoft/yii2/base/Application.php'
            'line' => 387
            'function' => 'handleRequest'
            'class' => 'yii\\web\\Application'
            'type' => '->'
        ]
        8 => [
            'file' => '/var/www/html/index.php'
            'line' => 54
            'function' => 'run'
            'class' => 'yii\\base\\Application'
            'type' => '->'
        ]
    ]
    [Exception:previous] => null
    [*:severity] => 2
)