We are sorry about this error !

Database Error

A database error occurred while performing the requested procedure. Please review the database error below for more information.

system/libraries/drivers/Database/Mysqli.php [142]:

There was an SQL error: 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 'AND tour.tour_id <> 366 GROUP BY tour.tour_id ORDER BY count DESC LIMIT 0, 8' at line 11 - SELECT tour.*, count(*) as count, tour_price.tour_price2pax_web AS price_sale, tour_price.tour_price_name, tour_price.tour_price_name_en, tour_price.tour_price_id FROM (tour) JOIN tour_price ON (tour_price.tour_id = tour.tour_id) JOIN booking_tour_details ON (tour.tour_id = booking_tour_details.tour_id) WHERE tour.tour_categories not like '2' AND tour.tour_description_jp IS NOT NULL AND tour_price.begin_date <= 1711645200 AND tour_price.end_date >= 1711645200 AND tour.show_tour like 'yes' AND tour.place_id= AND tour.tour_id <> 366 GROUP BY tour.tour_id ORDER BY count DESC LIMIT 0, 8

Stack Trace