Posts for category home


Error handler 2 Attempt to read property "images" on null

Error handler 2 Attempt to read property "images" on nullobject(Framework\HttpRequest)#8 (1) {
  ["params":"Framework\HttpRequest":private]=>
  array(9) {
    ["request_uri"]=>
    array(2) {
      [0]=>
      string(17) "/archive/trip/rtw"
      [1]=>
      string(13) "category=home"
    }
    ["url"]=>
    string(17) "/archive/trip/rtw"
    ["query"]=>
    array(1) {
      ["category"]=>
      string(4) "home"
    }
    ["document_root"]=>
    string(25) "/home/rob/apps/whiteacorn"
    ["server_name"]=>
    string(14) "whiteacorn.com"
    ["method"]=>
    string(3) "GET"
    ["accept"]=>
    string(3) "*/*"
    ["category"]=>
    string(4) "home"
    ["trip"]=>
    string(3) "rtw"
  }
}

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/rob/apps/whiteacorn/php/vendor/robertblackwell/database-package/src/Database/Models/FeaturedImage.php:151 Stack trace: #0 /home/rob/apps/whiteacorn/php/vendor/robertblackwell/database-package/src/Database/Models/FeaturedImage.php(151): count() #1 /home/rob/apps/whiteacorn/php/Widget/ItemSummary.php(97): Database\Models\FeaturedImage::fromPathAndText() #2 /home/rob/apps/whiteacorn/php/Widget/ItemSummary.php(201): Widget\ItemSummary->expand_fi_helper() #3 /home/rob/apps/whiteacorn/php/Widget/ItemSummary.php(241): Widget\ItemSummary->render_post() #4 /home/rob/apps/whiteacorn/skins/rtw/php_templates/posts.php(53): Widget\ItemSummary->render() #5 /home/rob/apps/whiteacorn/php/PhpTi/Template.php(243): include('...') #6 /home/rob/apps/whiteacorn/php/Controller/Archive.php(68): PhpTi\Template->display() #7 /home/rob/apps/whiteacorn/php/Controller/Dispatcher.php(56): Controller\Archive->fortrip() #8 /home/rob/apps/whiteacorn/php/Framework/Application.php(74): Controller\Dispatcher->dispatchController() #9 /home/rob/apps/whiteacorn/index.php(79): Framework\Application->run() #10 {main} thrown in /home/rob/apps/whiteacorn/php/vendor/robertblackwell/database-package/src/Database/Models/FeaturedImage.php on line 151

Warning: missing endblock() for startblock('right-content') in /home/rob/apps/whiteacorn/skins/rtw/php_templates/posts.php on line 49