Hallo,
ich habe soeben die Gallery-Erweiterung aktualisiert und nun bekomme ich auf der Seite folgende Fehlermeldung:
Code:
Fatal error: Cannot use object of type stdClass as array in /usr/www/users/kinderh/templates/gallery_short_khs.tpl on line 2
Das Template sieht folgendermaßen aus:
Code:
<div class="layout_short_khs block<?php echo $this->class; ?>">
<?php foreach ($this->body as $class=>$row): ?><?php foreach ($row as $col): if ($col['hasImage']): ?><div class="image_container"<?php if ($col['margin']): ?> style="<?php echo $col['margin']; ?>"<?php endif; ?>><img src="<?php echo $col['src']; ?>"<?php echo $col['imgSize']; ?> alt="<?php echo $col['alt']; ?>" /></div><?php else: ?> <?php endif; endforeach; ?> <?php endforeach; ?>
<div class="title"><?php echo ($this->linkTitle) ? $this->linkTitle : $this->title; ?></div>
</div>
Am Template habe ich allerdings nichts geändert und vorher hat es funktioniert.
Link zur Seite: http://kinderhaus-husby.de/projekte-aktivitaeten.html
Gruß,
Chris
Lesezeichen