Whoops, looks like something went wrong.
1/1
ErrorException in RemontPageController.php line 116:
count(): Parameter must be an array or an object that implements Countable
- in RemontPageController.php line 116
- at Application->Laravel\Lumen\{closure}('2', 'count(): Parameter must be an array or an object that implements Countable', '/var/www/vhosts/911s.ru/main-site.911s.ru/app/Http/Controllers/RemontPageController.php', '116', array('type_slug' => 'remont-telefonov', 'vendor_slug' => 'caterpillar', 'model_slug' => 'cat-s50', 'data' => object(ImportRow)))
- at count(object(ImportRow)) in RemontPageController.php line 116
- at RemontPageController->model('remont-telefonov', 'caterpillar', 'cat-s50')
- at call_user_func_array(array(object(RemontPageController), 'model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50')) in Container.php line 507
- at Container->call(array(object(RemontPageController), 'model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50')) in Application.php line 1399
- at Application->callControllerCallable(array(object(RemontPageController), 'model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50')) in Application.php line 1363
- at Application->callLumenController(object(RemontPageController), 'model', array('1', array('uses' => 'App\Http\Controllers\RemontPageController@model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50'))) in Application.php line 1335
- at Application->callControllerAction(array('1', array('uses' => 'App\Http\Controllers\RemontPageController@model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50'))) in Application.php line 1303
- at Application->callActionOnArrayBasedRoute(array('1', array('uses' => 'App\Http\Controllers\RemontPageController@model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50'))) in Application.php line 1288
- at Application->handleFoundRoute(array('1', array('uses' => 'App\Http\Controllers\RemontPageController@model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50'))) in Application.php line 1262
- at Application->handleDispatcherResponse(array('1', array('uses' => 'App\Http\Controllers\RemontPageController@model'), array('type' => 'remont-telefonov', 'vendor' => 'caterpillar', 'model' => 'cat-s50'))) in Application.php line 1211
- at Application->Laravel\Lumen\{closure}() in Application.php line 1442
- at Application->sendThroughPipeline(array(), object(Closure)) in Application.php line 1213
- at Application->dispatch(null) in Application.php line 1153
- at Application->run() in index.php line 28