File: /home/unica/e-learning/frontend/controllers/Boxmanagerv2Controller.php / Line: 136

yii\base\ErrorException#1
(
    [*:
message] => 'in_array() expects parameter 2 to be array, bool given'
    
[Exception:string] => ''
    
[*:code] => 2
    
[*:file] => '/home/unica/e-learning/frontend/views/boxmanager/home_popover.php'
    
[*:line] => 99
    
[Exception:trace] => [
        
=> [
            
'function' => 'handleError'
            'class' 
=> 'yii\\base\\ErrorHandler'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/frontend/views/boxmanager/home_popover.php'
            'line' 
=> 99
            
'function' => 'in_array'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 347
            
'args' => [
                
=> '/home/unica/e-learning/frontend/views/boxmanager/home_popover.php'
            
]
            
'function' => 'require'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 257
            
'function' => 'renderPhpFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 156
            
'function' => 'renderFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/frontend/views/boxmanager/home_course.php'
            'line' 
=> 96
            
'function' => 'render'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 347
            
'args' => [
                
=> '/home/unica/e-learning/frontend/views/boxmanager/home_course.php'
            
]
            
'function' => 'require'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 257
            
'function' => 'renderPhpFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 156
            
'function' => 'renderFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
=> [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/Controller.php'
            'line' 
=> 438
            
'function' => 'render'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
10 => [
            
'file' => '/home/unica/e-learning/frontend/controllers/Boxmanagerv2Controller.php'
            'line' 
=> 1030
            
'function' => 'renderPartial'
            'class' 
=> 'yii\\base\\Controller'
            'type' 
=> '->'
        
]
        
11 => [
            
'file' => '/home/unica/e-learning/frontend/controllers/Boxmanagerv2Controller.php'
            'line' 
=> 226
            
'function' => 'renderView'
            'class' 
=> 'frontend\\controllers\\Boxmanagerv2Controller'
            'type' 
=> '::'
        
]
        
12 => [
            
'file' => '/home/unica/e-learning/frontend/controllers/Boxmanagerv2Controller.php'
            'line' 
=> 129
            
'function' => 'getCourseNew'
            'class' 
=> 'frontend\\controllers\\Boxmanagerv2Controller'
            'type' 
=> '::'
        
]
        
13 => [
            
'file' => '/home/unica/e-learning/frontend/views/site/home.php'
            'line' 
=> 6
            
'function' => 'getBox'
            'class' 
=> 'frontend\\controllers\\Boxmanagerv2Controller'
            'type' 
=> '::'
        
]
        
14 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 347
            
'args' => [
                
=> '/home/unica/e-learning/frontend/views/site/home.php'
            
]
            
'function' => 'require'
        
]
        
15 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 257
            
'function' => 'renderPhpFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
16 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/View.php'
            'line' 
=> 156
            
'function' => 'renderFile'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
17 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/Controller.php'
            'line' 
=> 407
            
'function' => 'render'
            'class' 
=> 'yii\\base\\View'
            'type' 
=> '->'
        
]
        
18 => [
            
'file' => '/home/unica/e-learning/frontend/controllers/SiteController.php'
            'line' 
=> 649
            
'function' => 'render'
            'class' 
=> 'yii\\base\\Controller'
            'type' 
=> '->'
        
]
        
19 => [
            
'function' => 'actionIndex'
            'class' 
=> 'frontend\\controllers\\SiteController'
            'type' 
=> '->'
        
]
        
20 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/InlineAction.php'
            'line' 
=> 57
            
'function' => 'call_user_func_array'
        
]
        
21 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/Controller.php'
            'line' 
=> 178
            
'function' => 'runWithParams'
            'class' 
=> 'yii\\base\\InlineAction'
            'type' 
=> '->'
        
]
        
22 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/Module.php'
            'line' 
=> 552
            
'function' => 'runAction'
            'class' 
=> 'yii\\base\\Controller'
            'type' 
=> '->'
        
]
        
23 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/web/Application.php'
            'line' 
=> 103
            
'function' => 'runAction'
            'class' 
=> 'yii\\base\\Module'
            'type' 
=> '->'
        
]
        
24 => [
            
'file' => '/home/unica/e-learning/vendor/yiisoft/yii2/base/Application.php'
            'line' 
=> 384
            
'function' => 'handleRequest'
            'class' 
=> 'yii\\web\\Application'
            'type' 
=> '->'
        
]
        
25 => [
            
'file' => '/home/unica/e-learning/frontend/web/index.php'
            'line' 
=> 20
            
'function' => 'run'
            'class' 
=> 'yii\\base\\Application'
            'type' 
=> '->'
        
]
    ]
    [
Exception:previous] => null
    
[*:severity] => 2
)