Zitat
Das fetchAssoc() anstatt fetchRow() behebt folgende Fehler:
Zitat
@hhunderter
Siehe diesen Pull Request:
github.com/IlchCMS/Ilch-2.0/pull/540
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
Notice: Undefined index: image_id in /data/web/....../html/application/modules/gallery/mappers/Image.php on line 68 Notice: Undefined index: url_thumb in /data/web/...../html/application/modules/gallery/mappers/Image.php on line 69 Notice: Undefined index: image_title in /data/web/...../html/application/modules/gallery/mappers/Image.php on line 70 Notice: Undefined index: image_description in /data/web/...../html/application/modules/gallery/mappers/Image.php on line 71 Notice: Undefined index: visits in /data/web/...../html/application/modules/gallery/mappers/Image.php on line 72
Fatal error: Uncaught Error: Call to a member function getCat() on null in /data/web/...../html/application/modules/gallery/controllers/Index.php:65 Stack trace: #0 /data/web/....../html/application/libraries/Ilch/Page.php(237): Modules\Gallery\Controllers\Index->showImageAction() #1 /data/web/....../html/application/libraries/Ilch/Page.php(130): Ilch\Page->loadController() #2 /data/web/...../html/index.php(68): Ilch\Page->loadPage() #3 {main} thrown in /data/web/..../html/application/modules/gallery/controllers/Index.php on line 65
Fatal error: Uncaught Error: Call to a member function getTitle() on null in /data/web/..../html/application/modules/user/controllers/Gallery.php:83 Stack trace: #0 /data/web/......../html/application/libraries/Ilch/Page.php(237): Modules\User\Controllers\Gallery->showImageAction() #1 /data/web/....../html/application/libraries/Ilch/Page.php(130): Ilch\Page->loadController() #2 /data/web/......./html/index.php(68): Ilch\Page->loadPage() #3 {main} thrown in /data/web/......./html/application/modules/user/controllers/Gallery.php on line 83
->where(['g.id' => $id])
Geschlossen | ||
Zurück zu Installation und Upgrades |