Redirected bei Newsletter Anmeldung

Bei der Anmeldung zum Newsletter wird der Besucher auf die Startseite geleitet. Im Log steht folgendes:

[2020-08-23 01:29:16] OXID Logger.ERROR: Function ‘getTemplatePath’ does not exist or is not accessible! (DigideskMediaSolutions\Base\Core\ViewConfig)
["[object] (OxidEsales\Eshop\Core\Exception\SystemComponentException(code: 0): Function ‘getTemplatePath’ does not exist or is not accessible! (DigideskMediaSolutions\Base\Core\ViewConfig)\n at /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/Base.php:76)\n[stacktrace]\n#0 /…/ent/source/tmp/smarty/c94db455527c286b688f236be269abcb^%%01^019^0190090D%%ox%3Aoxnewsletteremailoxcontent01.php(18): OxidEsales\EshopCommunity\Core\Base->__call(‘getTemplatePath’, Array)\n#1 /…/ent/vendor/smarty/smarty/libs/Smarty.class.php(1270): include(’/…’)\n#2 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/Smarty/Plugin/function.oxcontent.php(50): Smarty->fetch(‘ox:oxnewsletter…’)\n#3 /…/ent/source/tmp/smarty/c94db455527c286b688f236be269abcb^%%87^870^87096601%%newsletteroptin.tpl.php(15): smarty_function_oxcontent(Array, Object(Smarty))\n#4 /…/ent/vendor/smarty/smarty/libs/Smarty.class.php(1270): include(’/home/www/peuge…’)\n#5 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/Email.php(827): Smarty->fetch(‘email/html/news…’)\n#6 /…ent/vendor/oxid-esales/oxideshop-ce/source/Application/Model/User.php(1112): OxidEsales\EshopCommunity\Core\Email->sendNewsletterDbOptInMail(Object(ecseasyb2bbasic))\n#7 /…ent/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(695): OxidEsales\EshopCommunity\Application\Model\User->setNewsSubscription(‘1’, true, false)\n#8 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(644): OxidEsales\EshopCommunity\Application\Component\UserComponent->changeUserWithoutRedirect()\n#9 /…/ent/source/modules/oe/gdproptin/Component/UserComponent.php(89): OxidEsales\EshopCommunity\Application\Component\UserComponent->_changeUser_noRedirect()\n#10 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Application/Component/UserComponent.php(357): OxidEsales\GdprOptinModule\Component\UserComponent->_changeUser_noRedirect()\n#11 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(524): OxidEsales\EshopCommunity\Application\Component\UserComponent->changeUser()\n#12 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/FrontendController.php(544): OxidEsales\EshopCommunity\Core\Controller\BaseController->executeFunction(‘changeuser’)\n#13 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(382): OxidEsales\EshopCommunity\Application\Controller\FrontendController->init()\n#14 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(272): OxidEsales\EshopCommunity\Core\ShopControl->_initializeViewObject(‘OxidEsales\\Esho…’, ‘changeuser’, NULL, NULL)\n#15 /…/ent/source/modules/dgcollection/Modul/dgCollection_oxShopControl.php(53): OxidEsales\EshopCommunity\Core\ShopControl->_process(‘OxidEsales\\Esho…’, ‘changeuser’, NULL, NULL)\n#16 /…/ent/source/modules/oe/statistics/core/oestatisticsoxshopcontrol.php(48): dgModule\dgCollectionModul\Modul\dgCollection_oxShopControl->_process(‘OxidEsales\\Esho…’, ‘changeuser’, NULL, NULL)\n#17 /…ent/source/modules/dgshopauskunft/Modul/dgShopAuskunft_oxShopControl.php(59): oeStatisticsOxShopControl->_process(‘OxidEsales\\Esho…’, ‘changeuser’, NULL, NULL)\n#18 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(137): dgModule\dgShopAuskunftModul\Modul\dgShopAuskunft_oxShopControl->_process(‘OxidEsales\\Esho…’, ‘changeuser’, NULL, NULL)\n#19 /…/ent/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\EshopCommunity\Core\ShopControl->start()\n#20 /…/ent/source/index.php(15): OxidEsales\EshopCommunity\Core\Oxid::run()\n#21 {main}\n"] []

Ich komme hier nicht weiter.

die Fehlermeldung deutet an, dass in der CMS Seite oxnewsletteremail irgendwo sowas wie [{$oViewConf->getTemplatePath()}] steht, in der Klasse ViewConfig gibts jedoch keine Funktion getTemplatePath().

Vielen Dank. Das war es. Ich habe das Template “oxnewsletteremail” abgeändert zu “[{$subscribeLink}] Ihr [{ $shop->oxshops__oxname->getRawValue() }]”. Nu is der Fehler wech. :rofl:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.