Symfony Exception

StorefrontException

HTTP 500 Internal Server Error

Can not render @FietzKhunponTheme/storefront/page/content/index.html.twig view: An exception has been thrown during the rendering of a template ("Shopware\Core\Framework\Adapter\Twig\SecurityExtension::sort(): Argument #1 ($array) must be of type Traversable|array, null given, called in /var/www/web1/htdocs/shopware6-playground/var/cache/dev_h1ba4e0f9cda891b403c7f8a931dd8011/twig/f7/f7ce8892d321c756ad0b1d2ca8d9c4f959adfe7d740ad47b265ca430fb87684c.php on line 154"). with these parameters: {"appShopId":"55K9asbmendpaDDz","themeIconConfig":{"khunpon":{"path":"public\/icon\/khunpon","namespace":"FietzKhunponTheme"},"brand":{"path":"public\/icon\/brand","namespace":"FietzKhunponTheme"}},"mollie_csrf_available":false,"mollie_applepay_enabled":"5b0647e86fd14065bcc08fc626f2d05d","mollie_javascript_use_shopware":0,"mollie_applepaydirect_enabled":false,"mollie_applepaydirect_restrictions":[],"mollie_subscriptions_enabled":true}

Exception

Shopware\Storefront\Controller\Exception\ StorefrontException

Show exception properties
Shopware\Storefront\Controller\Exception\StorefrontException {#1474
  -statusCode: 500
  -headers: []
  #parameters: array:3 [
    "message" => "An exception has been thrown during the rendering of a template ("Shopware\Core\Framework\Adapter\Twig\SecurityExtension::sort(): Argument #1 ($array) must be of type Traversable|array, null given, called in /var/www/web1/htdocs/shopware6-playground/var/cache/dev_h1ba4e0f9cda891b403c7f8a931dd8011/twig/f7/f7ce8892d321c756ad0b1d2ca8d9c4f959adfe7d740ad47b265ca430fb87684c.php on line 154")."
    "view" => "@FietzKhunponTheme/storefront/page/content/index.html.twig"
    "parameters" => "{"appShopId":"55K9asbmendpaDDz","themeIconConfig":{"khunpon":{"path":"public\/icon\/khunpon","namespace":"FietzKhunponTheme"},"brand":{"path":"public\/icon\/brand","namespace":"FietzKhunponTheme"}},"mollie_csrf_available":false,"mollie_applepay_enabled":"5b0647e86fd14065bcc08fc626f2d05d","mollie_javascript_use_shopware":0,"mollie_applepaydirect_enabled":false,"mollie_applepaydirect_restrictions":[],"mollie_subscriptions_enabled":true}"
  ]
  #statusCode: 500
  #errorCode: "STOREFRONT__CAN_NOT_RENDER_VIEW"
}
Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". (500 Internal Server Error)

Symfony Exception

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer".

Exception

Symfony\Component\ErrorHandler\Error\ UndefinedFunctionError

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". (500 Internal Server Error)

Symfony Exception

Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer".

Exception

Symfony\Component\ErrorHandler\Error\ UndefinedFunctionError


Fatal error: Uncaught Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: Attempted to call function "highlight_file" from namespace "Symfony\Component\ErrorHandler\ErrorRenderer". in /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:251 Stack trace: #0 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/Resources/views/trace.html.php(36): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->fileExcerpt() #1 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('...') #2 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/Resources/views/traces.html.php(48): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #3 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('...') #4 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/Resources/views/exception.html.php(54): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #5 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('...') #6 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/Resources/views/exception_full.html.php(35): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #7 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('...') #8 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(138): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include() #9 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(70): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException() #10 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorHandler.php(645): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render() #11 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorHandler.php(531): Symfony\Component\ErrorHandler\ErrorHandler->renderException() #12 /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorHandler.php(549): Symfony\Component\ErrorHandler\ErrorHandler->handleException() #13 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleException() #14 {main} thrown in /var/www/web1/htdocs/shopware6-playground/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 251