Error handler 2 Attempt to read property "images" on null
Error handler 2 Attempt to read property "images" on nullobject(Framework\HttpRequest)#9 (1) { ["params":"Framework\HttpRequest":private]=> array(9) { ["request_uri"]=> array(2) { [0]=> string(17) "/archive/trip/rtw" [1]=> string(17) "country=Wisconsin" } ["url"]=> string(17) "/archive/trip/rtw" ["query"]=> array(1) { ["country"]=> string(9) "Wisconsin" } ["document_root"]=> string(25) "/home/rob/apps/whiteacorn" ["server_name"]=> string(18) "www.whiteacorn.com" ["method"]=> string(3) "GET" ["accept"]=> string(3) "*/*" ["country"]=> string(9) "Wisconsin" ["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(111): Widget\ItemSummary->expand_fi_helper() #3 /home/rob/apps/whiteacorn/php/Widget/ItemSummary.php(241): Widget\ItemSummary->render_entry() #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(67): Framework\Application->run() #10 {main} thrown in /home/rob/apps/whiteacorn/php/vendor/robertblackwell/database-package/src/Database/Models/FeaturedImage.php on line 151