( ! ) 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.0002470872{main}( ).../index.php:0
20.0318790856HS\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:142
30.0323791016HS\Modules\MainFrontendController\FrontendPageRenderService->renderPage( ).../MainFrontendControllerRenderFrontendPageForUserFrontendsTrait.php:64
40.0379806368HS\Modules\MainFrontendController\FrontendPageRenderService->ImplementPageModule( ).../FrontendPageRenderService.php:54
50.0381807720include( '/var/www/vhosts/b-rex-entertainment.com/httpdocs/src/sharedIncludes/includes/genericSitemap.php ).../FrontendPageRenderService.php:405
60.0381807880HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSiteMap( ).../genericSitemap.php:15
70.0381807880HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSitemapArticlePageLinks( ).../FrontendPageRenderService.php:102
81.1892905176str_replace( $search = '%aid%', $replace = 1023837, $subject = 'https://www.b-rex-entertainment.com/index.php?cmd=showArticle&aid=%aid%' ).../FrontendPageRenderService.php:130