SQL Statement failed on preparation: select e.id, e.company_id, e.product, e.slug, e.description, e.image, et.day_from, et.day_to, et.deadline, et.is_external, et.event_link, et.min_tickets, et.max_tickets, (select count(*) from mi_shop_product_event_contact ec where ec.event_product_id = e.id) as sold_tickets, el.event_location, el.address, el.zipcode, el.city, el.lat, el.lon, pc.category, (select sp.price_gro from mi_shop_product sp left join mi_shop_product_event_ticket spet on (spet.product_id = sp.id) where sp.parent_id = ? and spet.is_internal = 0 and (sp.visible_from is null or (sp.visible_from is not null and sp.visible_from <= ?)) and (sp.visible_to is null or (sp.visible_to is not null and sp.visible_to >= ?)) order by sp.price_gro asc limit 1) as price_min from mi_shop_product e left join mi_shop_product_event et on (et.product_id = e.id) left join mi_event_location el on (el.id = et.event_location_id) left join mi_shop_product_category pc on (pc.id = e.product_category_id) where e.is_active = ? and e.id = ? and e.parent_id = 0'
SQL Statement failed on preparation: select p.id, p.product, p.price_gro, p.visible_from, p.visible_to, p.price_offer_gro, p.offer_from, p.offer_to, et.max_tickets, (select min_tickets from mi_shop_product_event e where e.product_id = ?) as min_tickets from mi_shop_product p left join mi_shop_product_event_ticket et on (et.product_id = p.id) where p.parent_id = ? and et.is_internal = ? order by et.sort, p.product'
Urkraft des Herzens