chevron008 Posted March 17, 2021 Report Share Posted March 17, 2021 Hi@ll, habe heute ein sehr merkwürdiges Problem bekommen. Das Template auf der Produkt-Detailseite wird nicht mehr geladen. Ich bekomme folgende Fehlermeldung: xt_shutdown_function Array ( [type] => 1 [message] => Uncaught Error: Call to a member function getProductList() on null in .../shop.passionma.de/plugins/xt_master_slave/hooks/product_info_tpl_list.php:33 Stack trace: #0 .../shop.passionma.de/xtFramework/library/smarty/xt_plugins/function.hook.php(35) : eval()'d code(1): include() #1 .../shop.passionma.de/xtFramework/library/smarty/xt_plugins/function.hook.php(35): eval() #2 .../shop.passionma.de/templates_c/4f430c65287b6d37eed1fedfb139e698532da3af_0.file.product.html.php(374): smarty_function_hook(Array, Object(Smarty_Internal_Template)) #3 .../shop.passionma.de/xtFramework/library/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6052240980fb28_89716116(Object(Smarty_Internal_Template)) #4 .../shop.passionma.de/xtFra [file] => .../shop.passionma.de/plugins/xt_master_slave/hooks/product_info_tpl_list.php [line] => 33 ) Keine Ahnung was ich hier machen kann. Ausser an den Versandkosten und neue Kategorien habe ich nichts geändert. Hoffe ihr könnt mir helfen. Grüße chevron008 Quote Link to comment Share on other sites More sharing options...
jhahn Posted March 17, 2021 Report Share Posted March 17, 2021 xt und plugins aktuell? sind die artikel evtl im backend als master markiert? bzw sind das artikel aus xt_master_slave? mal ins blaue würde ich erstmal ne fehlkonfig irgendwo vermuten. aber: man könnte den fehler zumindest im php-code vermeiden: in plugins/xt_master_slave/hooks/product_info_tpl_list.php 1) zeile 32 global $msp; verschieben in zeile 27 2) zeile 28 ändern auf if ($showList && $msp) so sollte wenigstens die seite geladen werden obwohl eben nich ganz klar ist, obs da nich noch was anderes gibt sonst frag xt an Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.