Moin,
ich habe einen kuriosen Fehler in der Dateiverwaltung. Sobald ich in einem Contao-Seitenmodul im Header {{cart::quantity}} einfüge um die Anzahl der Produkte im Warenkorb anzuzeigen knallt die Dateiverwaltung mit dem Fehler
Die Anzeige der Produkte im Warenkorb im Frontend funktioniert wunderbar.Isotope\InsertTag::getValueForCollectionTag(): Argument #1 ($collection) must be of type Isotope\Interfaces\IsotopeProductCollection, null given, called in /www/htdocs/wxxx/xxxwebsite/xxx/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/InsertTag.php on line 39
Contao 4.13.45 und Isotope 2.8.17
Hier meine Modulcode
Hat da jemand eine Idee dazu? Ein <?php if(TL_MODE == 'FE'): ?> einzufügen klappt nicht.Code:<div class="shop"> <a href="{{link_url::988|urlattr}}"> <img src="/files/intern/header/xx-anmelden.svg"> </a> <a class="cart" href="{{link_url::984|urlattr}}"> <img src="/files/intern/header/xx-shop.svg"> <span class="cart-items">{{cart::quantity}}</span> </a> </div>

Zitieren