SQL Error: SELECT * FROM `isshk_activities` WHERE `lang` = '2' AND `hidden` = '0' AND (`show_date` = '0000-00-00 00:00:00' OR `show_date` <= '2021-07-30 14:09:11') AND (`hide_date` = '0000-00-00 00:00:00' OR `hide_date` >= '2021-07-30 14:09:11') AND (`parent_id` NOT IN (SELECT `activities_id` FROM `isshk_activities` WHERE (`show_date` != '0000-00-00 00:00:00' AND `show_date` > '2021-07-30 14:09:11') OR (`hide_date` != '0000-00-00 00:00:00' AND `hide_date` < '2021-07-30 14:09:11') OR `hidden` = '1')) AND YEAR(date) = ORDER BY `date` DESC, `seq` DESC, `parent_id` ASC, `title` ASC, `activities_id` ASC LIMIT 0, 6

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 'ORDER BY `date` DESC, `seq` DESC, `parent_id` ASC, ' at line 1


Fatal error: Call to a member function getAll() on a non-object in /var/www/vhosts/isshk.org/httpdocs/core/class/page.class.php on line 398