# SOLVED::Problem persists with Gallery 2.0.0 not displaying images in Manager

**URL:** <https://community.modx.com/t/solved-problem-persists-with-gallery-2-0-0-not-displaying-images-in-manager/5558>\
**Category:** Support\
**Created:** [July 12, 2022, 11:55am UTC](https://community.modx.com/t/solved-problem-persists-with-gallery-2-0-0-not-displaying-images-in-manager/5558 "2022-07-12T11:55:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [July 12, 2022, 12:42pm UTC](https://community.modx.com/t/solved-problem-persists-with-gallery-2-0-0-not-displaying-images-in-manager/5558/2 "2022-07-12T12:42:30Z")

</div>

For this specific error the problem is likely in these 2 lines

> <https://github.com/modxcms/Gallery/blob/1332b39a60ffa36ad2aeeb0d37b99f0ef7635a0e/core/components/gallery/processors/mgr/item/getlist.class.php#L66>

and

> <https://github.com/modxcms/Gallery/blob/1332b39a60ffa36ad2aeeb0d37b99f0ef7635a0e/core/components/gallery/processors/mgr/item/getlist.class.php#L31>

But there are a many other places in the code (lines like `$c->sortby('rank','ASC');`) where “rank” is used and may create an SQL error in MySQL 8.

---

_[View the full topic](https://community.modx.com/t/solved-problem-persists-with-gallery-2-0-0-not-displaying-images-in-manager/5558)._
