WordPress database 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 '' at line 1]SELECT c.id, c.name, g4d.rank, c.address, c.telephone, c.website, c.email, c.facebook, c.twitter, c.instagram, c.youtube, c.length, c.par, c.description, c.wkday_rnd, c.wkday_day, c.wkend_rnd, c.wkend_day, c.greenfee_note1, c.fees_switch, c.directions, c.course_lat, c.course_lng, c.map_switch, c.special_offers, c.society_offers, c.open_comps, c.booking_button, c.ad1_switch, c.ad2_switch, c.feature_switch, c.top_course, c.featured_course, c.img_logo, c.img_hdr, c.img_ftr, c.video1, cr.region, ct.type, cc.symbol FROM courses AS c INNER JOIN g4d_ranks AS g4d ON c.g4d_rank = g4d.id INNER JOIN course_regions AS cr ON c.region = cr.id INNER JOIN gs_course_types AS ct ON c.type = ct.id INNER JOIN gs_currencies AS cc ON c.currency = cc.id WHERE c.id =
WordPress database 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 '' at line 1]SELECT id, rank, prime_colour, dark_colour, mid_colour, light_colour, logo FROM g4d_ranks WHERE id =