Jump to content
xt:Commerce Community Forum

Produktseite Template wird nicht geladen


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
  • Create New...