richardhj / contao-isotope_attribute_radio_image

Attribute RadioImage for Isotope eCommerce provides an attribute that generates the variant's gallery image as label.
4 stars 1 forks source link

Error in BE #1

Closed HenryVolkmer closed 7 years ago

HenryVolkmer commented 7 years ago

UPDATE: dont appears in 3af503b9


Hi,

when create new Attribute and select type "radioimage", this error occures:

Fatal error: Uncaught exception Error with message Using $this when not in object context thrown in composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/Attribute/SelectMenu.php on line 42
#0 composer/vendor/richardhj/contao-isotope_attribute_radio_image/contao/src/Isotope/Model/Attribute/RadioImage.php(75): Isotope\Model\Attribute\SelectMenu::saveToDCA(Array)
#1 composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Backend/Product/DcaManager.php(118): Isotope\Model\Attribute\RadioImage->saveToDCA(Array)
#2 composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Backend/Product/DcaManager.php(40): Isotope\Backend\Product\DcaManager->addAttributes()
#3 system/modules/core/library/Contao/DcaLoader.php(97): Isotope\Backend\Product\DcaManager->initialize('tl_iso_product')
#4 system/modules/core/library/Contao/Controller.php(1298): Contao\DcaLoader->load(true)
#5 composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Backend/Attribute/Callback.php(103): Contao\Controller::loadDataContainer('tl_iso_product', true)
#6 system/modules/core/drivers/DC_Table.php(2042): Isotope\Backend\Attribute\Callback->updateDatabase(Object(Contao\DC_Table))
#7 composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/BackendModule/BackendOverview.php(222): Contao\DC_Table->edit()
#8 composer/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/BackendModule/BackendOverview.php(68): Isotope\BackendModule\BackendOverview->getModule('attributes')
#9 system/modules/core/classes/Backend.php(423): Isotope\BackendModule\BackendOverview->generate()
#10 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('iso_setup')
#11 contao/main.php(20): Contao\BackendMain->run()
#12 {main}
richardhj commented 7 years ago

Released v1.0.1. Regards!