1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY action_blocks_id
ORDER BY action_blocks_order' at line 8 SELECT *,
images_file
FROM action_blocks
LEFT JOIN images
ON action_blocks.action_blocks_picture = images.images_parent
WHERE action_blocks_status != 1
AND action_blocks_creation_groups_id =
GROUP BY action_blocks_id
ORDER BY action_blocks_order