contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
123 stars 58 forks source link

Isotope 2.8.7 breaks when running the Isotope Orders Module in the backend #1725

Closed markocupic closed 1 year ago

markocupic commented 1 year ago
    Similar error under Isotope 2.8.7 & Contao 4.13.12 when running the Isotope Orders Module https://xxx.de/contao?do=iso_orders&act=edit&id=xxx in the backend. Any idea? I'm not sure, if it is a Contao or Isotope issue.
TypeError:
Argument 1 passed to Contao\CoreBundle\Util\LocaleUtil::formatAsLocale() must be of the type string, null given, called in /kunden/633798_50670/webseiten/schulfilme_backup.com/vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php on line 1530

  at vendor/contao/core-bundle/src/Util/LocaleUtil.php:109
  at Contao\CoreBundle\Util\LocaleUtil::formatAsLocale()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:1530)
  at Contao\InsertTags->languageMatches()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:761)
  at Contao\InsertTags->executeReplace()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:100)
  at Contao\InsertTags->replaceInternal()
     (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:73)
  at Contao\CoreBundle\InsertTag\InsertTagParser->callLegacyClass()
     (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:37)
  at Contao\CoreBundle\InsertTag\InsertTagParser->replaceChunked()
     (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:32)
  at Contao\CoreBundle\InsertTag\InsertTagParser->replace()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:842)
  at Contao\Controller::replaceInsertTags()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Isotope.php:484)
  at Isotope\Isotope::formatOptions()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/ProductCollection.php:1682)
  at Isotope\Model\ProductCollection->generateItem()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/ProductCollection/Order.php:570)
  at Isotope\Model\ProductCollection\Order->addItemsToTemplate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/ProductCollection.php:1492)
  at Isotope\Model\ProductCollection->addToTemplate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Module/AbstractProductCollection.php:90)
  at Isotope\Module\AbstractProductCollection->compile()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Module/OrderDetails.php:69)
  at Isotope\Module\OrderDetails->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/codefog/contao-haste/library/Haste/Frontend/AbstractFrontendModule.php:52)
  at Haste\Frontend\AbstractFrontendModule->generate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Module/Module.php:115)
  at Isotope\Module\Module->generate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Module/AbstractProductCollection.php:59)
  at Isotope\Module\AbstractProductCollection->generate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Module/OrderDetails.php:55)
  at Isotope\Module\OrderDetails->generate()
     (vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Backend/ProductCollection/Callback.php:125)
  at Isotope\Backend\ProductCollection\Callback->generateOrderDetails()
     (vendor/contao/core-bundle/src/Resources/contao/classes/DataContainer.php:384)
  at Contao\DataContainer->row()
     (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:1973)
  at Contao\DC_Table->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:153)
  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()
     (web/index.php:44)                

Originally posted by @markocupic in https://github.com/contao/contao/issues/3593#issuecomment-1285983721

github-actions[bot] commented 1 year ago

Thank you for your contribution.

Unfortunately, you have created your issue in the wrong repository, as this is a read-only split repository. Please go to https://github.com/contao/contao and create your issue there.