richardhj / contao-isotope_simple_stockmanagement

Simple stock management for Isotope eCommerce
8 stars 8 forks source link

dcaLabel is not set or not a callable #22

Open a-kehr opened 1 year ago

a-kehr commented 1 year ago

Der Fehler kommt mit folgender Konfiguration:

Contao 4.13.24 isotope: 2.8.14 contao-isotope_simple_stockmanagement: 2.0.2

Stack Trace:


InvalidArgumentException:
dcaLabel is not set or not a callable

  at vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:174
  at Contao\Template->__call()
     (vendor/terminal42/dcawizard/templates/be_widget_dcawizard.html5:10)
  at include('/var/www/clients/client11/web52/web/live/vendor/terminal42/dcawizard/templates/be_widget_dcawizard.html5')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:108)
  at Contao\Template->inherit()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:295)
  at Contao\Template->parse()
     (vendor/contao/core-bundle/src/Resources/contao/classes/BackendTemplate.php:36)
  at Contao\BackendTemplate->parse()
     (vendor/richardhj/contao-isotope_simple_stockmanagement/src/BackendIntegration/Dca.php:88)
  at Richardhj\Isotope\SimpleStockManagement\BackendIntegration\Dca->generateWizardList()
     (vendor/terminal42/dcawizard/widgets/DcaWizard.php:221)
  at DcaWizard->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Widget.php:660)
  at Contao\Widget->generateWithError()
     (vendor/contao/core-bundle/src/Resources/contao/templates/backend/be_widget.html5:3)
  at include('/var/www/clients/client11/web52/web/live/vendor/contao/core-bundle/src/Resources/contao/templates/backend/be_widget.html5')
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:108)
  at Contao\Widget->inherit()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Widget.php:607)
  at Contao\Widget->parse()
     (vendor/contao/core-bundle/src/Resources/contao/classes/DataContainer.php:796)
  at Contao\DataContainer->row()
     (vendor/isotope/isotope-core/system/modules/isotope/drivers/DC_ProductData.php:627)
  at DC_ProductData->edit()
     (vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:667)
  at Contao\Backend->getBackendModule()
     (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168)
  at Contao\BackendMain->run()
     (vendor/contao/core-bundle/src/Controller/BackendController.php:49)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:44)
CUPredator commented 1 year ago

Downgrade terminal42/dcawizard to 2.5.0

a-kehr commented 1 year ago

@CUPredator naja man sollte das Problem global lösen und nicht einfach ein Downgrade machen. Das wäre eine Zwischenlösung