( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0001 | 469984 | {main}( ) | .../index.php:0 |
2 | 0.0171 | 790448 | HS\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 |
3 | 0.0175 | 790608 | HS\Modules\MainFrontendController\FrontendPageRenderService->renderPage( ) | .../MainFrontendControllerRenderFrontendPageForUserFrontendsTrait.php:64 |
4 | 0.0211 | 805960 | HS\Modules\MainFrontendController\FrontendPageRenderService->ImplementPageModule( ) | .../FrontendPageRenderService.php:54 |
5 | 0.0214 | 806800 | include( '/var/www/vhosts/b-rex-entertainment.com/httpdocs/src/sharedIncludes/includes/genericSitemap.php ) | .../FrontendPageRenderService.php:405 |
6 | 0.0214 | 806960 | HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSiteMap( ) | .../genericSitemap.php:15 |
7 | 0.0214 | 806960 | HS\Modules\ShopSpecific\BRex\MainFrontendController\FrontendPageRenderService->renderSitemapArticlePageLinks( ) | .../FrontendPageRenderService.php:102 |
8 | 0.5862 | 906032 | str_replace( $search = '%aid%', $replace = 1023837, $subject = 'https://www.b-rex-entertainment.com/index.php?cmd=showArticle&aid=%aid%' ) | .../FrontendPageRenderService.php:130 |