Uncaught exception: TypeError: widgets\Pager::$_totalItems::set(): Argument #1 ($value) must be of type int, null given, called in /home/sites/sitan/lib/sPageEstate.php on line 306 and defined in /home/sites/sitan/widgets/Pager.php:27 Stack trace: #0 /home/sites/sitan/lib/sPageEstate.php(306): widgets\Pager->$_totalItems::set() #1 /home/sites/sitan/lib/sPageEstate.php(347): sPageEstate->getAdverts() #2 /home/sites/oxi/layouts/sitePage.php(271): sPageEstate->checkPage() #3 /home/sites/oxi/core/layout.php(79): oxi\layouts\sitePage->descendantValidate() #4 /home/sites/oxi/core/request.php(36): oxi\core\layout->validate() #5 /home/sites/sitan/lib/sRequest.php(34): oxi\core\request->checkLayout() #6 /home/sites/oxi/core/request.php(24): sRequest->checkLayout() #7 /home/sites/oxi/core/application.php(47): oxi\core\request->init() #8 /home/sites/sitan/sitan.php(85): oxi\core\application::run() #9 /home/sites/sitan/webroot/neoformat/index.php(15): sitan::run() #10 {main}
TRACE
sizeof: 10
Array[10]
   0 =>Array[5]
      file =>"/home/sites/sitan/lib/sPageEstate.php"
      line =>"306"
      function =>"$_totalItems::set"
      class =>"widgets\Pager"
      type =>"->"
   1 =>Array[5]
      file =>"/home/sites/sitan/lib/sPageEstate.php"
      line =>"347"
      function =>"getAdverts"
      class =>"sPageEstate"
      type =>"->"
   2 =>Array[5]
      file =>"/home/sites/oxi/layouts/sitePage.php"
      line =>"271"
      function =>"checkPage"
      class =>"sPageEstate"
      type =>"->"
   3 =>Array[5]
      file =>"/home/sites/oxi/core/layout.php"
      line =>"79"
      function =>"descendantValidate"
      class =>"oxi\layouts\sitePage"
      type =>"->"
   4 =>Array[5]
      file =>"/home/sites/oxi/core/request.php"
      line =>"36"
      function =>"validate"
      class =>"oxi\core\layout"
      type =>"->"
   5 =>Array[5]
      file =>"/home/sites/sitan/lib/sRequest.php"
      line =>"34"
      function =>"checkLayout"
      class =>"oxi\core\request"
      type =>"->"
   6 =>Array[5]
      file =>"/home/sites/oxi/core/request.php"
      line =>"24"
      function =>"checkLayout"
      class =>"sRequest"
      type =>"->"
   7 =>Array[5]
      file =>"/home/sites/oxi/core/application.php"
      line =>"47"
      function =>"init"
      class =>"oxi\core\request"
      type =>"->"
   8 =>Array[5]
      file =>"/home/sites/sitan/sitan.php"
      line =>"85"
      function =>"run"
      class =>"oxi\core\application"
      type =>"::"
   9 =>Array[5]
      file =>"/home/sites/sitan/webroot/neoformat/index.php"
      line =>"15"
      function =>"run"
      class =>"sitan"
      type =>"::"