Bouchon de vidange 220122S
►✉ Contactez le service technique ✉◄TypeError {#16373 #message: "strip_tags(): Argument #1 ($string) must be of type string, null given" #code: 0 #file: "/home/mtk_2023/releases/299/src/Product/Schemas/SchemaContext/Strategy/DefaultStrategy.php" #line: 93 : { { App\Product\Schemas\SchemaContext\Strategy\DefaultStrategy->_getSchema(ProductVariantInterface $variant): Product … ›'name' => $product->getName(),
›'description' => strip_tags($product->getDescription()),
›];
} { App\Product\Schemas\SchemaContext\Strategy\DefaultStrategy->getSchema(ProductInterface $product): Schema … ›foreach ($product->getEnabledVariants() as $variant) {
›$result[] = $this->_getSchema($variant);
›}
} { App\Product\Schemas\SchemaContext\SchemaContext->getSchema(ProductInterface $product): Schema … ›if ($strategy->supports($product)) {
›return $strategy->getSchema($product);
›}
} { App\Product\Schemas\SchemaService->getProductSchema(ProductInterface $product): array … ›{
›return $this->normalizer->normalize($this->schemaContext->getSchema($product));
›}
} { App\Product\Twig\SchemaExtension->getSchemaProduct(ProductInterface $product): ?string … ›try {
›return json_encode($this->schemaService->getProductSchema($product), JSON_THROW_ON_ERROR);
›} catch (\Throwable $e) {
} { __TwigTemplate_52dae4650c897ab82671ce54483b3b4d->block_content($context, array $blocks = []) … ›yield " ";
›$context["schemaProduct"] = $this->extensions['App\Product\Twig\SchemaExtension']->getSchemaProduct(($context["product"] ?? null));
›// line 10
} { Twig\Template->yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $templateContext = null) … › ›foreach ($template->$block($context, $blocks) as $data) {
›if (ob_get_length()) {
} { __TwigTemplate_e84b8a22753daa50af5fc9e717e39598->doDisplay(array $context, array $blocks = []) … ›// line 103
›yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
›// line 104
} { Twig\Template->yield(array $context, array $blocks = []): iterable … › ›foreach ($this->doDisplay($context, $blocks) as $data) {
›if (ob_get_length()) {
} { __TwigTemplate_52dae4650c897ab82671ce54483b3b4d->doDisplay(array $context, array $blocks = []) … ›$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/Product/show.html.twig", 1);
›yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
›}
} { Twig\Template->yield(array $context, array $blocks = []): iterable … › ›foreach ($this->doDisplay($context, $blocks) as $data) {
›if (ob_get_length()) {
} { Twig\Template->render(array $context): string … ›$content = '';
›foreach ($this->yield($context) as $data) {
›$content .= $data;
} { Twig\TemplateWrapper->render(array $context = []): string … ›{
›return $this->template->render($context);
›}
} { Twig\Environment->render($name, array $context = []): string … ›{
›return $this->load($name)->render($context);
›}
} { Sylius\Bundle\ResourceBundle\Controller\ResourceController->render(string $view, array $parameters = [], ?Response $response = null, ?int $responseCode = null): Response … ›} elseif ($this->container->has('twig')) {
›$content = $this->container->get('twig')->render($view, $parameters);
›} else {
} { App\Controller\ProductController->showProductAction(Request $request, ProductHelperInterface $productHelper, SubCartService $subCartService, ProductSeoService $productSeoService, ProductCarTypeService $productCarTypeService, CarRouterInterface $carRouter, CarContextInterface $carContext): Response … › ›return $this->render($configuration->getTemplate(ResourceActions::SHOW . '.html'), [
›'configuration' => $configuration,
} { Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response … ›// call controller
›$response = $controller(...$arguments);
› } { Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {
›return $response = $this->handleRaw($request, $type);
›} catch (\Throwable $e) {
} { Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response … ›try {
›return $this->getHttpKernel()->handle($request, $type, $catch);
›} finally {
} { Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int … ›{
›$response = $this->kernel->handle($this->request);
› } { require_once … ›->getRunner($app)
›->run()
›);
} { › ›require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
› : { "/home/mtk_2023/releases/299/vendor/autoload_runtime.php" } } } }
Êtes-vous sûr de vouloir effectuer cette action ?