A PHP Error was encountered

Severity: Notice

Message: Undefined index: playoffs

Filename: basketball/competitions.php

Line Number: 56

Database Error

A Database Error Occurred

Error Number: 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 'and p.playoffsID = s.playoffsID and r.playoffsSeriesID =s.id and t1.id =g.homeTe' at line 1

select g.*,t1.image as homeImage , t2.image as awayImage from basketball_match g , basketball_team t1 , basketball_team t2, basketball_leagueSeasonPlayoffsRound r ,basketball_leagueSeasonPlayoffs p ,basketball_leagueSeasonPlayoffsSeries s where p.playoffsID = and p.playoffsID = s.playoffsID and r.playoffsSeriesID =s.id and t1.id =g.homeTeamID and t2.id=g.awayTeamID and g.id = r.matchID and p.leagueSeasonID =3707

Filename: /var/www/html/website/sportepoch/models/basketballleague.php

Line Number: 67