Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /home/pelham10/public_html/wp/pa/app/models/ca_lists.php:489 Stack trace: #0 /home/pelham10/public_html/wp/pa/app/models/ca_lists.php(489): array_map('intval', NULL) #1 /home/pelham10/public_html/wp/pa/app/helpers/accessHelpers.php(396): ca_lists->getItemsForList('entity_types', Array) #2 /home/pelham10/public_html/wp/pa/app/helpers/accessHelpers.php(330): caMakeItemIDList('entity_types', Array, Array) #3 /home/pelham10/public_html/wp/pa/app/helpers/accessHelpers.php(643): caMakeTypeIDList('ca_entities', Array, Array) #4 /home/pelham10/public_html/wp/pa/app/lib/BundlableLabelableBaseModelWithAttributes.php(6497): caMergeTypeRestrictionLists(Object(ca_entities), Array) #5 /home/pelham10/public_html/wp/pa/app/lib/Search/SearchResult.php(835): BundlableLabelableBaseModelWithAttributes->getRelatedItems('ca_entities', Array) #6 /home/pelham10/public_html/wp/pa/app/lib/Search/SearchResult.php(1588): SearchResult->prefetchRelated('ca_entities', 0, 50, Array) #7 /home/pelham10/public_html/wp/pa/app/lib/SearchResultsRepresentableTrait.php(148): SearchResult->get('ca_entities', Array) #8 /home/pelham10/public_html/wp/pa/app/lib/Parsers/DisplayTemplateParser.php(503): ObjectSearchResult->get('ca_entities', Array) #9 /home/pelham10/public_html/wp/pa/app/lib/Parsers/DisplayTemplateParser.php(279): DisplayTemplateParser::_processChildren(Object(ObjectSearchResult), Array, Array, Array) #10 /home/pelham10/public_html/wp/pa/app/lib/Parsers/DisplayTemplateParser.php(64): DisplayTemplateParser::process('<ifcount code='...', 'ca_objects', Array, Array) #11 /home/pelham10/public_html/wp/pa/app/helpers/displayHelpers.php(2683): DisplayTemplateParser::evaluate('<ifcount code='...', 'ca_objects', Array, Array) #12 /home/pelham10/public_html/wp/pa/app/lib/BundlableLabelableBaseModelWithAttributes.php(817): caProcessTemplateForIDs('<ifcount code='...', 'ca_objects', Array, Array) #13 /home/pelham10/public_html/wp/pa/app/helpers/displayHelpers.php(4993): BundlableLabelableBaseModelWithAttributes->getWithTemplate('<ifcount code='...', Array) #14 /home/pelham10/public_html/wp/pa/app/helpers/exportHelpers.php(201): caDoTemplateTagSubstitution(Object(View), Object(ca_objects), '/home/pelham10/...', Array) #15 /home/pelham10/public_html/wp/pa/app/controllers/DetailController.php(168): caExportItemAsPDF(Object(RequestHTTP), Object(ca_objects), '_pdf_ca_objects...', '1976.003A-Hatbo...', Array) #16 /home/pelham10/public_html/wp/pa/app/lib/Controller/RequestDispatcher.php(289): DetailController->__call('objects', Array) #17 /home/pelham10/public_html/wp/pa/app/lib/Controller/AppController.php(108): RequestDispatcher->dispatch(Array) #18 /home/pelham10/public_html/wp/pa/index.php(134): AppController->dispatch(true) #19 {main} thrown in /home/pelham10/public_html/wp/pa/app/models/ca_lists.php on line 489