Verschiedene Fehler

14.03.2017 12:23 #1
Andi
Aus Lutherstadt Eisleben
73 Beiträge

Verschiedene Fehler

Wenn ich im Produktleser die Varianten markiere die ich angelegt habe und versuche die Seite aufzurufen, erscheint folgende Meldung:

(Ich benutze weder Preisinfos noch führe ich einen Bestand)

Warning: number_format() expects parameter 1 to be double, string given in system/modules/simple_products/classes/ProductPrice.php on line 50
#0 [internal function]: __error(2, 'number_format()...', '/Applications/M...', 50, Array)
#1 system/modules/simple_products/classes/ProductPrice.php(50): number_format('', 2, ',', '.')
#2 system/modules/simple_products/modules/ModuleProduct.php(451): SimpleProducts\ProductPrice->priceFormat('')
#3 system/modules/simple_products/modules/ModuleProductReader.php(163): SimpleProducts\ModuleProduct->parseProduct(Object(Contao\Model\Collection))
#4 system/modules/simple_products_extended/modules/ModuleProductReaderTags.php(43): SimpleProducts\ModuleProductReader->compile()
#5 system/modules/core/modules/Module.php(287): SimpleProducts\Extended\ModuleProductReaderTags->compile()
#6 system/modules/simple_products/modules/ModuleProductReader.php(119): Contao\Module->generate()
#7 system/modules/core/elements/ContentModule.php(59): SimpleProducts\ModuleProductReader->generate()
#8 system/modules/core/library/Contao/Controller.php(484): Contao\ContentModule->generate()
#9 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#10 system/modules/tags/modules/ModuleArticle.php(26): Contao\ModuleArticle->compile()
#11 system/modules/core/modules/Module.php(287): Aurealis\ModuleArticle->compile()
#12 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#13 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#14 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#15 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#16 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#17 index.php(20): Contao\FrontendIndex->run()
#18 {main}

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/farmtex/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 294
#0 [internal function]: __error(2, 'Cannot modify h...', '/Applications/M...', 294, Array)
#1 system/modules/core/library/Contao/Template.php(294): header('Vary: User-Agen...', false)
#2 system/modules/core/classes/FrontendTemplate.php(121): Contao\Template->output()
#3 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#4 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#5 index.php(20): Contao\FrontendIndex->run()
#6 {main}

Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/farmtex/system/helper/functions.php:65) in system/modules/core/library/Contao/Template.php on line 295
#0 [internal function]: __error(2, 'Cannot modify h...', '/Applications/M...', 295, Array)
#1 system/modules/core/library/Contao/Template.php(295): header('Content-Type: t...')
#2 system/modules/core/classes/FrontendTemplate.php(121): Contao\Template->output()
#3 system/modules/core/pages/PageRegular.php(190): Contao\FrontendTemplate->output(true)
#4 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#5 index.php(20): Contao\FrontendIndex->run()
#6 {main}

14.03.2017 15:36 #2
Andi
Aus Lutherstadt Eisleben
73 Beiträge

Liegt wahrscheinlich daran, dass ich versuche die Varianten einmal in dem Bestellformular und im Leser anzeigen lassen wollte.

28.03.2017 19:13 #3
Christian Schmidt
Fast & Media Team
Aus Blankenburg (Harz)
361 Beiträge

Der Fehler ist im nächsten Build vom Produktkatalog + Shop behoben

Antworten

Datenschutz*
Was ist die Summe aus 1 und 5?