( ! ) Fatal error: Uncaught TypeError: str_replace(): Argument #2 ($replace) must be of type array|string, int given in /var/www/vhosts/b-rex-entertainment.com/httpdocs/src/modules/ShopSpecific/BRex/MainFrontendController/FrontendPageRenderService.php on line 130
( ! ) TypeError: str_replace(): Argument #2 ($replace) must be of type array|string, int given in /var/www/vhosts/b-rex-entertainment.com/httpdocs/src/modules/ShopSpecific/BRex/MainFrontendController/FrontendPageRenderService.php on line 130
Call Stack
#TimeMemoryFunctionLocation
10.0001469984{main}( ).../index.php:0
20.0171790448HS\Modules\ShopSpecific\BRex\MainFrontendController\MainFrontendController::renderFrontendPage( $page = class HS\Framework\PageHandling\Page { protected $viewRepository = class HS\Framework\PageHandling\FrontendPageRepository { protected $connection = class HS\Framework\Connection\Connection { ... }; protected $request = class HS\Framework\ShowPage { ... }; private ${HS\Framework\PageHandling\PageRepository}parameters = [...]; protected $errorMessages = NULL }; protected $objectClass = 'Page'; protected $properties = ['id' => 57, 'title' => 'Sitemap', 'metaDescription' => 'Sitemap', 'keywords' => 'Sitemap', 'robots' => 'index,follow', 'includePath' => 'includes/genericSitemap.php', 'cssPath' => NULL, 'isAjaxModule' => 0, 'isSharedIncludeFile' => 1, 'command' => 'sitemap', 'headerCodeAddition' => NULL, 'bodyCodeAddition' => NULL]; protected $attributes = NULL; protected $attributesById = NULL; protected $list = NULL; protected $availablePropertiesList = NULL; private ${HS\Framework\GenericEntityHandler}errorMessages = []; private ${HS\Framework\GenericEntityHandler}eventsTriggered = []; protected $eventsTriggered = NULL }, $userId = NULL, $shoppingCart = ???, $parameters = ??? ).../index.php:150
30.0175790608HS\Modules\MainFrontendController\FrontendPageRenderService->renderPage( ).../MainFrontendControllerRenderFrontendPageForUserFrontendsTrait.php:64
40.0211805960HS\Modules\MainFrontendController\FrontendPageRenderService->ImplementPageModule( ).../FrontendPageRenderService.php:54
50.0214806800include( '/var/www/vhosts/b-rex-entertainment.com/httpdocs/src/sharedIncludes/includes/genericSitemap.php ).../FrontendPageRenderService.php:405
60.0214806960HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSiteMap( ).../genericSitemap.php:15
70.0214806960HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSitemapArticlePageLinks( ).../FrontendPageRenderService.php:102
80.5862906032str_replace( $search = '%aid%', $replace = 1023837, $subject = 'https://www.b-rex-entertainment.com/index.php?cmd=showArticle&aid=%aid%' ).../FrontendPageRenderService.php:130