SQL Error during picture search

Permalink
Hello

I try to use Concrete5 8.5.2 and the picture block.

When I add this block and try to find a picture (enter a picture name in the filter field) I get this error:

An exception occurred while executing 'SELECT f.fID, fv.fvDateAdded FROM Files f INNER JOIN FileVersions fv ON f.fID = fv.fID and fv.fvIsApproved = 1 LEFT JOIN FileSearchIndexAttributes fsi ON f.fID = fsi.fID LEFT JOIN Users u ON f.uID = u.uID WHERE (fv.fvFilename LIKE ?) OR (fv.fvDescription LIKE ?) OR (fv.fvTitle LIKE ?) OR (fv.fvTags LIKE ?) OR (uName = ?) OR (ak_image_tag LIKE ?) OR (ak_gallery_columns LIKE ?) OR (ak_internal_link_cid LIKE ?) OR (ak_external_link_url LIKE ?) OR (ak_link_type LIKE ?) ORDER BY fv.fvDateAdded desc, f.fID desc LIMIT 10' with params ["%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%", "%ilderrahmentisch%"]:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ak_internal_link_cid' in 'where clause'



edit:
I found now some other thread with this bug:
https://www.concrete5.org/community/forums/customizing_c5/error-mess...
https://www.concrete5.org/community/forums/usage/error-message-when-...
https://www.concrete5.org/community/forums/chat/problem-with-search-...

I think this is an workaround:
https://www.concrete5.org/community/forums/customizing_c5/error-mess...