- Issue created by @roromedia
Hi,
I seem to have the same issue.
here is the report:
InvalidArgumentException: The provided interval number "" is not a numeric value. in Drupal\commerce\Interval->__construct() (line 36 of modules/contrib/commerce/src/Interval.php). Drupal\commerce_license\Entity\License->canRenew() (Line: 125) Drupal\commerce_license\LicenseAvailabilityCheckerExistingRights->check(Object, Object) (Line: 50) Drupal\commerce_order\AvailabilityManager->check(Object, Object) (Line: 108) Drupal\commerce_order\Plugin\Validation\Constraint\PurchasedEntityAvailableConstraintValidator->validate(Object, Object) (Line: 202) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateConstraints(Object, '0000000000001c2b0000000000000000', Array) (Line: 154) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode(Object) (Line: 164) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode(Object, Array, 1) (Line: 106) Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validate(Object, NULL, NULL) (Line: 93) Drupal\Core\TypedData\Validation\RecursiveValidator->validate(Object) (Line: 132) Drupal\Core\TypedData\TypedData->validate() (Line: 518) Drupal\Core\Entity\ContentEntityBase->validate() (Line: 188) Drupal\Core\Entity\ContentEntityForm->validateForm(Array, Object) call_user_func_array(Array, Array) (Line: 82) Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 274) Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'commerce_order_item_add_to_cart_form_commerce_product_9') (Line: 118) Drupal\Core\Form\FormValidator->validateForm('commerce_order_item_add_to_cart_form_commerce_product_9', Array, Object) (Line: 593) Drupal\Core\Form\FormBuilder->processForm('commerce_order_item_add_to_cart_form_commerce_product_9', Array, Object) (Line: 326) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97) Drupal\commerce_product\ProductLazyBuilders->addToCartForm('9', 'full', 1, 'de') call_user_func_array(Array, Array) (Line: 113) Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #lazy_builder callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 870) Drupal\Core\Render\Renderer->doCallback('#lazy_builder', 'commerce_product.lazy_builders:addToCartForm', Array) (Line: 411) Drupal\Core\Render\Renderer->doRender(Array) (Line: 504) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248) Drupal\Core\Render\Renderer->render(Array) (Line: 476) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 73) __TwigTemplate_8e54044ba2549650a57d27a3fc948576->doDisplay(Array, Array) (Line: 393) Twig\Template->yield(Array, Array) (Line: 349) Twig\Template->display(Array) (Line: 364) Twig\Template->render(Array) (Line: 35) Twig\TemplateWrapper->render(Array) (Line: 33) twig_render_template('themes/contrib/d8w3css/templates/field/field.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 491) Drupal\Core\Render\Renderer->doRender(Array) (Line: 504) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248) Drupal\Core\Render\Renderer->render(Array) (Line: 476) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 55) __TwigTemplate_5a67733dcfeae47748d840104c2e3fe3->doDisplay(Array, Array) (Line: 393) Twig\Template->yield(Array, Array) (Line: 349) Twig\Template->display(Array) (Line: 364) Twig\Template->render(Array) (Line: 35) Twig\TemplateWrapper->render(Array) (Line: 33) twig_render_template('modules/contrib/commerce/modules/product/templates/commerce-product.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('commerce_product', Array) (Line: 491) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) call_user_func(Array, Object, 'kernel.view', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)