Fatal error: Uncaught TypeError: Argument 2 passed to Model_RoomModel::getNextRoom() must be of the type int, null given, called in /home/optimuw/www/application/modules/default/controllers/InwestycjeMieszkanieController.php on line 60 and defined in /home/optimuw/www/application/models/RoomModel.php:109 Stack trace: #0 /home/optimuw/www/application/modules/default/controllers/InwestycjeMieszkanieController.php(60): Model_RoomModel->getNextRoom() #1 /home/optimuw/www/library/Zend/Controller/Action.php(516): Default_InwestycjeMieszkanieController->indexAction() #2 /home/optimuw/www/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch() #3 /home/optimuw/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch() #4 /home/optimuw/www/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #5 /home/optimuw/www/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #6 /home/optimuw/www/public/index.php(40) in /home/optimuw/www/application/models/RoomModel.php on line 109