PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'hotres_id' cannot be null in C:\Projekty\ssi\r\Rondo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:105
Stack trace:
#0 C:\Projekty\ssi\r\Rondo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php(105): PDOStatement->execute(NULL)
#1 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(458): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(657): Illuminate\Database\Connection->Illuminate\Database\{closure}('insert into `ss...', Array)
#3 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(624): Illuminate\Database\Connection->runQueryCallback('insert into `ss...', Array, Object(Closure))
#4 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(459): Illuminate\Database\Connection->run('insert into `ss...', Array, Object(Closure))
#5 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(411): Illuminate\Database\Connection->statement('insert into `ss...', Array)
#6 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Processors\Processor.php(32): Illuminate\Database\Connection->insert('insert into `ss...', Array)
#7 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2159): Illuminate\Database\Query\Processors\Processor->processInsertGetId(Object(October\Rain\Database\QueryBuilder), 'insert into `ss...', Array, 'id')
#8 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\QueryBuilder.php(278): Illuminate\Database\Query\Builder->insertGetId(Array, 'id')
#9 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php(1283): October\Rain\Database\QueryBuilder->insertGetId(Array, 'id')
#10 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Builder.php(202): Illuminate\Database\Eloquent\Builder->__call('insertGetId', Array)
#11 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(722): October\Rain\Database\Builder->__call('insertGetId', Array)
#12 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(687): Illuminate\Database\Eloquent\Model->insertAndSetId(Object(October\Rain\Database\Builder), Array)
#13 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(550): Illuminate\Database\Eloquent\Model->performInsert(Object(October\Rain\Database\Builder))
#14 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(761): Illuminate\Database\Eloquent\Model->save(Array)
#15 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(794): October\Rain\Database\Model->saveInternal(Array)
#16 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(253): October\Rain\Database\Model->save(NULL, '0r47I8CL3YRjOl9...')
#17 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Concerns\ManagesTransactions.php(29): Backend\Behaviors\FormController->Backend\Behaviors\{closure}(Object(October\Rain\Database\Connections\MySqlConnection))
#18 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php(327): Illuminate\Database\Connection->transaction(Object(Closure))
#19 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(221): Illuminate\Database\DatabaseManager->__call('transaction', Array)
#20 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(255): Illuminate\Support\Facades\Facade::__callStatic('transaction', Array)
#21 [internal function]: Backend\Behaviors\FormController->create_onSave()
#22 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Extension\ExtendableTrait.php(411): call_user_func_array(Array, Array)
#23 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(184): Backend\Classes\Controller->extendableCall('create_onSave', Array)
#24 [internal function]: Backend\Classes\Controller->__call('create_onSave', Array)
#25 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(620): call_user_func_array(Array, Array)
#26 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(478): Backend\Classes\Controller->runAjaxHandler('onSave')
#27 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(277): Backend\Classes\Controller->execAjaxHandlers()
#28 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(165): Backend\Classes\Controller->run('create', Array)
#29 [internal function]: Backend\Classes\BackendController->run('ssi/apartamenty...')
#30 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): call_user_func_array(Array, Array)
#31 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('run', Array)
#32 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Backend\Classes\BackendController), 'run')
#33 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(169): Illuminate\Routing\Route->runController()
#34 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(658): Illuminate\Routing\Route->run()
#35 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#36 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(68): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#37 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(131): Backend\Classes\BackendController->Backend\Classes\{closure}(Object(Illuminate\Http\Request), Object(Closure))
#38 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#39 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#40 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#43 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#46 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#49 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#51 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#52 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#53 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#54 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#55 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#56 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#57 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#58 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Router\CoreRouter.php(20): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#59 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#60 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#61 C:\Projekty\ssi\r\Rondo\plugins\offline\responsiveimages\classes\ResponsiveImagesMiddleware.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#62 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#63 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#64 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#65 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Foundation\Http\Middleware\CheckForMaintenanceMode.php(24): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#66 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#67 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#68 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#69 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#70 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#71 C:\Projekty\ssi\r\Rondo\index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#72 C:\Projekty\ssi\r\Rondo\server.php(18): require_once('C:\\Projekty\\ssi...')
#73 {main}

Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'hotres_id' cannot be null in C:\Projekty\ssi\r\Rondo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:107
Stack trace:
#0 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(458): Doctrine\DBAL\Driver\PDOStatement->execute()
#1 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(657): Illuminate\Database\Connection->Illuminate\Database\{closure}('insert into `ss...', Array)
#2 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(624): Illuminate\Database\Connection->runQueryCallback('insert into `ss...', Array, Object(Closure))
#3 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(459): Illuminate\Database\Connection->run('insert into `ss...', Array, Object(Closure))
#4 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(411): Illuminate\Database\Connection->statement('insert into `ss...', Array)
#5 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Processors\Processor.php(32): Illuminate\Database\Connection->insert('insert into `ss...', Array)
#6 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2159): Illuminate\Database\Query\Processors\Processor->processInsertGetId(Object(October\Rain\Database\QueryBuilder), 'insert into `ss...', Array, 'id')
#7 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\QueryBuilder.php(278): Illuminate\Database\Query\Builder->insertGetId(Array, 'id')
#8 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php(1283): October\Rain\Database\QueryBuilder->insertGetId(Array, 'id')
#9 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Builder.php(202): Illuminate\Database\Eloquent\Builder->__call('insertGetId', Array)
#10 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(722): October\Rain\Database\Builder->__call('insertGetId', Array)
#11 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(687): Illuminate\Database\Eloquent\Model->insertAndSetId(Object(October\Rain\Database\Builder), Array)
#12 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(550): Illuminate\Database\Eloquent\Model->performInsert(Object(October\Rain\Database\Builder))
#13 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(761): Illuminate\Database\Eloquent\Model->save(Array)
#14 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(794): October\Rain\Database\Model->saveInternal(Array)
#15 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(253): October\Rain\Database\Model->save(NULL, '0r47I8CL3YRjOl9...')
#16 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Concerns\ManagesTransactions.php(29): Backend\Behaviors\FormController->Backend\Behaviors\{closure}(Object(October\Rain\Database\Connections\MySqlConnection))
#17 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php(327): Illuminate\Database\Connection->transaction(Object(Closure))
#18 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(221): Illuminate\Database\DatabaseManager->__call('transaction', Array)
#19 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(255): Illuminate\Support\Facades\Facade::__callStatic('transaction', Array)
#20 [internal function]: Backend\Behaviors\FormController->create_onSave()
#21 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Extension\ExtendableTrait.php(411): call_user_func_array(Array, Array)
#22 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(184): Backend\Classes\Controller->extendableCall('create_onSave', Array)
#23 [internal function]: Backend\Classes\Controller->__call('create_onSave', Array)
#24 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(620): call_user_func_array(Array, Array)
#25 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(478): Backend\Classes\Controller->runAjaxHandler('onSave')
#26 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(277): Backend\Classes\Controller->execAjaxHandlers()
#27 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(165): Backend\Classes\Controller->run('create', Array)
#28 [internal function]: Backend\Classes\BackendController->run('ssi/apartamenty...')
#29 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): call_user_func_array(Array, Array)
#30 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('run', Array)
#31 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Backend\Classes\BackendController), 'run')
#32 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(169): Illuminate\Routing\Route->runController()
#33 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(658): Illuminate\Routing\Route->run()
#34 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#35 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(68): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#36 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(131): Backend\Classes\BackendController->Backend\Classes\{closure}(Object(Illuminate\Http\Request), Object(Closure))
#37 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#38 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#39 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#40 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#41 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#42 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#45 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#46 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#47 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#48 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#49 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#50 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#51 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#52 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#54 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#55 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#56 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#57 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Router\CoreRouter.php(20): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#58 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#59 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#60 C:\Projekty\ssi\r\Rondo\plugins\offline\responsiveimages\classes\ResponsiveImagesMiddleware.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#61 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#63 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#64 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Foundation\Http\Middleware\CheckForMaintenanceMode.php(24): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#65 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#66 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#67 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#68 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#69 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#70 C:\Projekty\ssi\r\Rondo\index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#71 C:\Projekty\ssi\r\Rondo\server.php(18): require_once('C:\\Projekty\\ssi...')
#72 {main}

Next Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'hotres_id' cannot be null (SQL: insert into `ssi_apartamenty_apartments` (`name`, `slug`, `description`, `price`, `max_guests`, `hotres_id`, `updated_at`, `created_at`) values (test2pl, test2pl, <p>pl</p>, 88, 8, , 2020-04-01 12:09:56, 2020-04-01 12:09:56)) in C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664
Stack trace:
#0 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(624): Illuminate\Database\Connection->runQueryCallback('insert into `ss...', Array, Object(Closure))
#1 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(459): Illuminate\Database\Connection->run('insert into `ss...', Array, Object(Closure))
#2 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Connection.php(411): Illuminate\Database\Connection->statement('insert into `ss...', Array)
#3 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Processors\Processor.php(32): Illuminate\Database\Connection->insert('insert into `ss...', Array)
#4 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2159): Illuminate\Database\Query\Processors\Processor->processInsertGetId(Object(October\Rain\Database\QueryBuilder), 'insert into `ss...', Array, 'id')
#5 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\QueryBuilder.php(278): Illuminate\Database\Query\Builder->insertGetId(Array, 'id')
#6 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php(1283): October\Rain\Database\QueryBuilder->insertGetId(Array, 'id')
#7 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Builder.php(202): Illuminate\Database\Eloquent\Builder->__call('insertGetId', Array)
#8 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(722): October\Rain\Database\Builder->__call('insertGetId', Array)
#9 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(687): Illuminate\Database\Eloquent\Model->insertAndSetId(Object(October\Rain\Database\Builder), Array)
#10 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php(550): Illuminate\Database\Eloquent\Model->performInsert(Object(October\Rain\Database\Builder))
#11 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(761): Illuminate\Database\Eloquent\Model->save(Array)
#12 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Database\Model.php(794): October\Rain\Database\Model->saveInternal(Array)
#13 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(253): October\Rain\Database\Model->save(NULL, '0r47I8CL3YRjOl9...')
#14 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\Concerns\ManagesTransactions.php(29): Backend\Behaviors\FormController->Backend\Behaviors\{closure}(Object(October\Rain\Database\Connections\MySqlConnection))
#15 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php(327): Illuminate\Database\Connection->transaction(Object(Closure))
#16 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(221): Illuminate\Database\DatabaseManager->__call('transaction', Array)
#17 C:\Projekty\ssi\r\Rondo\modules\backend\behaviors\FormController.php(255): Illuminate\Support\Facades\Facade::__callStatic('transaction', Array)
#18 [internal function]: Backend\Behaviors\FormController->create_onSave()
#19 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Extension\ExtendableTrait.php(411): call_user_func_array(Array, Array)
#20 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(184): Backend\Classes\Controller->extendableCall('create_onSave', Array)
#21 [internal function]: Backend\Classes\Controller->__call('create_onSave', Array)
#22 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(620): call_user_func_array(Array, Array)
#23 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(478): Backend\Classes\Controller->runAjaxHandler('onSave')
#24 C:\Projekty\ssi\r\Rondo\modules\backend\classes\Controller.php(277): Backend\Classes\Controller->execAjaxHandlers()
#25 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(165): Backend\Classes\Controller->run('create', Array)
#26 [internal function]: Backend\Classes\BackendController->run('ssi/apartamenty...')
#27 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): call_user_func_array(Array, Array)
#28 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('run', Array)
#29 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Backend\Classes\BackendController), 'run')
#30 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Route.php(169): Illuminate\Routing\Route->runController()
#31 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(658): Illuminate\Routing\Route->run()
#32 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#33 C:\Projekty\ssi\r\Rondo\modules\backend\classes\BackendController.php(68): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#34 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(131): Backend\Classes\BackendController->Backend\Classes\{closure}(Object(Illuminate\Http\Request), Object(Closure))
#35 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#36 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#37 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#39 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#40 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#43 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#44 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#46 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#47 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#48 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php(66): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#49 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#50 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#51 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#52 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#53 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#54 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#55 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Router\CoreRouter.php(20): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#56 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))
#57 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#58 C:\Projekty\ssi\r\Rondo\plugins\offline\responsiveimages\classes\ResponsiveImagesMiddleware.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#59 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): OFFLINE\ResponsiveImages\Classes\ResponsiveImagesMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#60 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#61 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#62 C:\Projekty\ssi\r\Rondo\vendor\october\rain\src\Foundation\Http\Middleware\CheckForMaintenanceMode.php(24): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#63 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#65 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#66 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#67 C:\Projekty\ssi\r\Rondo\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#68 C:\Projekty\ssi\r\Rondo\index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#69 C:\Projekty\ssi\r\Rondo\server.php(18): require_once('C:\\Projekty\\ssi...')
#70 {main}