Can\Frontend\Exception\TemplatingException

An error occurred while trying to render template "block/hero/hero.html.twig": Cannot access offset of type string on string

  1. in Can\Frontend\Exception\TemplatingException::fromThrowable()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Templating/Templating.php:104

  2. in Can\Frontend\Templating\Templating::render()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Frontend.php:507

  3. in Can\Frontend\Frontend::renderTemplate()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Frontend.php:434

  4. in Can\Frontend\Frontend::renderLayout()

    at /var/www/html/wp-content/themes/thiomucase-theme/page.php:30

  5. in include()

    at /var/www/html/wp-includes/template-loader.php:106

  6. in require_once()

    at /var/www/html/wp-blog-header.php:19

  7. in require()

    at /var/www/html/index.php:17

Caused by \TypeError

Cannot access offset of type string on string

  1. in Can\Frontend\Templating\Helper\AssetHelper::image()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/Environment.php(418) : eval()'d code:60

  2. in __TwigTemplate_24671f1949086fce94ddbd2d7af04e112c2f9d3dedca8c0c6bfe1c6aa50dabbc::doDisplay()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/Template.php:405

  3. in Twig\Template::displayWithErrorHandling()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/Template.php:378

  4. in Twig\Template::display()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/Template.php:390

  5. in Twig\Template::render()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/TemplateWrapper.php:45

  6. in Twig\TemplateWrapper::render()

    at /var/www/html/wp-content/mu-plugins/can-frontend/vendor/twig/twig/src/Environment.php:318

  7. in Twig\Environment::render()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Templating/Templating.php:93

  8. in Can\Frontend\Templating\Templating::render()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Frontend.php:507

  9. in Can\Frontend\Frontend::renderTemplate()

    at /var/www/html/wp-content/mu-plugins/can-frontend/src/Can/Frontend/Frontend.php:434

  10. in Can\Frontend\Frontend::renderLayout()

    at /var/www/html/wp-content/themes/thiomucase-theme/page.php:30

  11. in include()

    at /var/www/html/wp-includes/template-loader.php:106

  12. in require_once()

    at /var/www/html/wp-blog-header.php:19

  13. in require()

    at /var/www/html/index.php:17