Error message
Warning: Attempt to read property "number" on null in undisputed_custom_form_alter() (line 768 of modules/undisputed_custom/undisputed_custom.module).
undisputed_custom_form_alter(Array, Object, 'commerce_order_item_add_to_cart_form_commerce_product_3') (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'commerce_order_item_add_to_cart_form_commerce_product_3') (Line: 841) Drupal\Core\Form\FormBuilder->prepareForm('commerce_order_item_add_to_cart_form_commerce_product_3', Array, Object) (Line: 284) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97) Drupal\commerce_product\ProductLazyBuilders->addToCartForm('3', 'full', , 'en') call_user_func_array(Array, Array) (Line: 111) 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: 858) Drupal\Core\Render\Renderer->doCallback('#lazy_builder', 'commerce_product.lazy_builders:addToCartForm', Array) (Line: 400) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 165) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 166) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 183) Drupal\Core\Render\Renderer->doRenderPlaceholder(Array) (Line: 712) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() Fiber->start() (Line: 720) Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 597) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 154) Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 286) Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 135) Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 45) Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object) call_user_func(Array, Object, 'kernel.response', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214) Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) 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: 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: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Attempt to read property "currency_code" on null in undisputed_custom_form_alter() (line 768 of modules/undisputed_custom/undisputed_custom.module).
undisputed_custom_form_alter(Array, Object, 'commerce_order_item_add_to_cart_form_commerce_product_3') (Line: 545) Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'commerce_order_item_add_to_cart_form_commerce_product_3') (Line: 841) Drupal\Core\Form\FormBuilder->prepareForm('commerce_order_item_add_to_cart_form_commerce_product_3', Array, Object) (Line: 284) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97) Drupal\commerce_product\ProductLazyBuilders->addToCartForm('3', 'full', , 'en') call_user_func_array(Array, Array) (Line: 111) 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: 858) Drupal\Core\Render\Renderer->doCallback('#lazy_builder', 'commerce_product.lazy_builders:addToCartForm', Array) (Line: 400) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 165) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 166) Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 183) Drupal\Core\Render\Renderer->doRenderPlaceholder(Array) (Line: 712) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() Fiber->start() (Line: 720) Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 597) Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 240) Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 154) Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 286) Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 135) Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object) (Line: 45) Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object) call_user_func(Array, Object, 'kernel.response', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214) Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) 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: 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: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)