Fatal error: Uncaught Ip\Exception\Db: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-12, 12' at line 1 in /home/vkb/domains/vkb.lt/public_html/Plugin/Gallery/Model.php:20
Stack trace:
#0 /home/vkb/domains/vkb.lt/public_html/Plugin/Gallery/Model.php(20): Ip\Db->fetchAll('SELECT * FROM `...')
#1 /home/vkb/domains/vkb.lt/public_html/Plugin/Gallery/Widget/Gallery/Controller.php(15): Plugin\Gallery\Model::getAlbums(-1)
#2 /home/vkb/domains/vkb.lt/public_html/Ip/Internal/Content/Model.php(276): Plugin\Gallery\Widget\Gallery\Controller->generateHtml('160', '1792', Array, 'default')
#3 /home/vkb/domains/vkb.lt/public_html/Ip/Internal/Content/Model.php(37): Ip\Internal\Content\Model::_generateWidgetPreview(Array, false)
#4 /home/vkb/domains/vkb.lt/public_html/Ip/Internal/Content/PublicController.php(17): Ip\Internal\Content\Model::generateBlock('main', '160', 0, false)
#5 [internal fun in /home/vkb/domains/vkb.lt/public_html/Plugin/Gallery/Model.php on line 20