The website encountered an unexpected error. Please try again later.
Error: Call to a member function getVariations() on null in commerce_bulk_form_views_form_commerce_bulk_variations_tab_commerce_bulk_alter() (line 71 of modules/contrib/commerce_bulk/commerce_bulk.module).
commerce_bulk_form_views_form_commerce_bulk_variations_tab_commerce_bulk_alter(Array, Object, 'views_form_commerce_bulk_variations_tab_commerce_bulk_241') (Line: 539)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'views_form_commerce_bulk_variations_tab_commerce_bulk_241') (Line: 834)
Drupal\Core\Form\FormBuilder->prepareForm('views_form_commerce_bulk_variations_tab_commerce_bulk_241', Array, Object) (Line: 276)
Drupal\Core\Form\FormBuilder->buildForm('views_form_commerce_bulk_variations_tab_commerce_bulk_241', Object) (Line: 216)
Drupal\Core\Form\FormBuilder->getForm(Object, Object, Array) (Line: 2206)
Drupal\views\Plugin\views\display\DisplayPluginBase->elementPreRender(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 117)
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('kernel.view', Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Comments

pyxio created an issue. See original summary.

drugan’s picture

Thank you for the report!

What you see in the browser address bar while getting this error?

pyxio’s picture

here is an example

/cs/product/238/variations

pyxio’s picture

or /en/product/238/variations

drugan’s picture

I've got it! wait a bit, I'll provide a patch....

pyxio’s picture

you rock. no hurry. thanks!

  • drugan committed b23b06a on 8.x-1.x
    Issue #3032895 by pyxio: error when clicking variations tab
    
drugan’s picture

Please, try this...

pyxio’s picture

i am using composer and nothing new on update

drugan’s picture

Made a quick fix release. Try now to update it with composer...

pyxio’s picture

this works nicely now .... After this operation your life will never be the same. LOL!!

pyxio’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.