Produktshop

13.02.2019 11:46 #1
Andi
Aus Lutherstadt Eisleben
73 Beiträge

Produktshop

Hallo Herr Schmidt,

ich habe den Shop heute auf PHP7.3 gestellt und erhalte folgende Warnung:

[13-Feb-2019 11:36:30 Europe/Berlin]

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/virtual/farmtex/public/19-11-18/system/modules/simple_products_helper/classes/SimpleProductsBooking.php on line 143

#0 [internal function]: __error(2, 'count(): Parame...', '/var/virtual/fa...', 143, Array)

#1 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products_helper/classes/SimpleProductsBooking.php(143): count(NULL)

#2 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleProduct.php(214): SimpleProductsShop\SimpleProductsBooking->parseForm(Object(Contao\Model\Collection), Array)

#3 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleProductReader.php(177): SimpleProducts\ModuleProduct->parseProduct(Object(Contao\Model\Collection))

#4 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products_extended/modules/ModuleProductReaderTags.php(43): SimpleProducts\ModuleProductReader->compile()

#5 /var/virtual/farmtex/public/19-11-18/system/modules/core/modules/Module.php(287): SimpleProducts\Extended\ModuleProductReaderTags->compile()

#6 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleProductReader.php(119): Contao\Module->generate()

#7 /var/virtual/farmtex/public/19-11-18/system/modules/core/elements/ContentModule.php(59): SimpleProducts\ModuleProductReader->generate()

#8 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/Controller.php(484): Contao\ContentModule->generate()

#9 /var/virtual/farmtex/public/19-11-18/system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')

#10 /var/virtual/farmtex/public/19-11-18/system/modules/tags/modules/ModuleArticle.php(26): Contao\ModuleArticle->compile()

#11 /var/virtual/farmtex/public/19-11-18/system/modules/core/modules/Module.php(287): Aurealis\ModuleArticle->compile()

#12 /var/virtual/farmtex/public/19-11-18/system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()

#13 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)

#14 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')

#15 /var/virtual/farmtex/public/19-11-18/system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')

#16 /var/virtual/farmtex/public/19-11-18/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)

#17 /var/virtual/farmtex/public/19-11-18/index.php(20): Contao\FrontendIndex->run()

und:

[13-Feb-2019 11:36:30 Europe/Berlin]

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleCategoryNavigation.php on line 261

#0 [internal function]: __error(2, 'count(): Parame...', '/var/virtual/fa...', 261, Array)

#1 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleCategoryNavigation.php(261): count(NULL)

#2 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleCategoryNavigation.php(146): SimpleProducts\ModuleCategoryNavigation->renderNavigationTree(Array, 2, 0, Array)

#3 /var/virtual/farmtex/public/19-11-18/system/modules/core/modules/Module.php(287): SimpleProducts\ModuleCategoryNavigation->compile()

#4 /var/virtual/farmtex/public/19-11-18/system/modules/simple_products/modules/ModuleCategoryNavigation.php(52): Contao\Module->generate()

#5 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/Controller.php(321): SimpleProducts\ModuleCategoryNavigation->generate()

#6 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/InsertTags.php(447): Contao\Controller::getFrontendModule('83')

#7 /var/virtual/farmtex/public/19-11-18/system/modules/core/library/Contao/Controller.php(692): Contao\InsertTags->replace('<!DOCTYPE html>...', false)

#8 /var/virtual/farmtex/public/19-11-18/system/modules/core/classes/FrontendTemplate.php(100): Contao\Controller::replaceInsertTags('<!DOCTYPE html>...', false)

#9 /var/virtual/farmtex/public/19-11-18/system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)

#10 /var/virtual/farmtex/public/19-11-18/system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)

#11 /var/virtual/farmtex/public/19-11-18/index.php(20): Contao\FrontendIndex->run()

#12 {main}

13.02.2019 12:00 #2
Christian Schmidt
Fast & Media Team
Aus Blankenburg (Harz)
363 Beiträge

Hallo Herr Kroll,

die Erweiterungen sind derzeit noch nicht kompatibel mit PHP 7.2 oder höher. Bitte die Handbücher berücksichtigen.

Viele Grüße

Antworten

Datenschutz*
Bitte addieren Sie 7 und 1.