- Status: Duplicate
In the gallery, a php error shows up when viewing a category. Here’s the full error from the log:
TypeError: IPS\gallery\Image::get__dimensions(): Return value must be of type array, null returned in /home/domains/.com/public_html/community/applications/gallery/sources/Image/Image.php:292
Stack trace:
#0 /home/domains/.com/public_html/community/system/Patterns/ActiveRecord.php(431): IPS\gallery\Image->get__dimensions()
#1 /home/domains/.com/public_html/community/static/templates/gallery_front_browse.php(6401): IPS\Patterns\ActiveRecord->__isset()
#2 /home/domains/.com/public_html/community/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_browse->tableRowsThumbs()
#3 /home/domains/.com/public_html/community/static/templates/gallery_front_browse.php(3934): IPS\Theme\SandboxedTemplate->__call()
#4 /home/domains/.com/public_html/community/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_browse->imageTable()
#5 /home/domains/.com/public_html/community/system/Helpers/Table/Table.php(606): IPS\Theme\SandboxedTemplate->__call()
#6 /home/domains/.com/public_html/community/applications/gallery/modules/front/gallery/browse.php(391): IPS\Helpers\Table\Table->__toString()
#7 /home/domains/.com/public_html/community/applications/gallery/modules/front/gallery/browse.php(147): IPS\gallery\modules\front\gallery\browse->_category()
#8 /home/domains/.com/public_html/community/system/Dispatcher/Controller.php(139): IPS\gallery\modules\front\gallery\browse->manage()
#9 /home/domains/.com/public_html/community/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute()
#10 /home/domains/.com/public_html/community/applications/gallery/modules/front/gallery/browse.php(81): IPS\Content\Controller->execute()
#11 /home/domains/.com/public_html/community/system/Dispatcher/Dispatcher.php(169): IPS\gallery\modules\front\gallery\browse->execute()
#12 /home/domains/.com/public_html/community/index.php(16): IPS\Dispatcher->run()
#13 {main}
Recommended Comments