MySQL Error
SELECT
 `img`, `title`
FROM
  `p_gallery`
WHERE
  `param` IN(4885)
AND
  `parent`='955'
GROUP BY
  `img`
ORDER BY
  `param`=4885 DESC, `sortorder`
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'santeh.p_gallery.title' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Filename: /home/soft/santehroom/view/funcs/catalog/misc.php
Line: 911
Function: query
Arguments: SELECT `img`, `title` FROM `p_gallery` WHERE `param` IN(4885) AND `parent`='955' GROUP BY `img` ORDER BY `param`=4885 DESC, `sortorder`
Filename: /home/soft/santehroom/view/funcs/catalog/func.render.php
Line: 467
Function: _catalog_get_gallery_images_array
Arguments:
Filename: /home/soft/santehroom/view/funcs/catalog/func.render.php
Line: 381
Function: render_page_modsection
Arguments:
Filename: /home/soft/santehroom/view/handlers/catalog.php
Line: 511
Function: render_page_fullcard
Arguments:
Filename: /home/soft/santehroom/view/handlers/homepage.php
Line: 83
Function: require_once
Arguments: /home/soft/santehroom/view/handlers/catalog.php
Filename: /home/soft/santehroom/index.php
Line: 439
Function: include_once
Arguments: /home/soft/santehroom/view/handlers/homepage.php