isotope / core

Core repository of Isotope eCommerce, an eCommerce extension for Contao Open Source CMS
https://isotopeecommerce.org
136 stars 107 forks source link

Warning: Undefined array key "price" #2486

Closed berecont closed 10 months ago

berecont commented 1 year ago

Open Variation-Settings at product go to WARNING in Debug-Mode

Warning: Undefined array key "price"

I can reproduce it on my Isotope DEMO installation, too.

Stack Trace:

ErrorException:
Warning: Undefined array key "price"

  at C:\laragon\www\myProject\vendor\isotope\isotope-core\system\modules\isotope\drivers\DC_ProductData.php:2222
  at DC_ProductData->parentView()
     (C:\laragon\www\myProject\vendor\isotope\isotope-core\system\modules\isotope\drivers\DC_ProductData.php:174)
  at DC_ProductData->showAll()
     (C:\laragon\www\myProject\vendor\contao\core-bundle\src\Resources\contao\classes\Backend.php:667)
  at Contao\Backend->getBackendModule('iso_products', null)
     (C:\laragon\www\myProject\vendor\contao\core-bundle\src\Resources\contao\controllers\BackendMain.php:168)
  at Contao\BackendMain->run()
     (C:\laragon\www\myProject\vendor\contao\core-bundle\src\Controller\BackendController.php:49)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (C:\laragon\www\myProject\vendor\symfony\http-kernel\HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (C:\laragon\www\myProject\vendor\symfony\http-kernel\HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (C:\laragon\www\myProject\vendor\symfony\http-kernel\Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (C:\laragon\www\myProject\public\index.php:44) 

Contao 4.13.30 php8.1 Windows, Laragon Isotope 2.8.16

aschempp commented 10 months ago

This has been fixed in 5f13c6d10ba1eb21b8706835054e40b703b842bc