Competition Not Found!
You have an error in your SQL syntax
1064 - 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 'limt 1' at line 4

select c.*,if(expiry_date<(now()),1,0) competition_expired from sff_competitions c inner join sff_competition_to_countries co on (co.competitions_id=c.competitions_id and co.countries_id in (222,103) ) where direct_url='fruitvale' and isActive>0 limt 1

Filename: /competition_details.php
Line: 24