Warning: Trying to access array offset on value of type null in /var/www/library3/classes/team/game.class.php on line 16
Warning: Trying to access array offset on value of type null in /var/www/library3/classes/team/game.class.php on line 42
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and (pl.teamID = or g.playerID = -1) order by pl.nr' at line 1 in /var/www/library3/classes/db.class.php:78
Stack trace:
#0 /var/www/library3/classes/db.class.php(78): mysqli->query()
#1 /var/www/library3/classes/team/game.class.php(133): DB->SQL_query()
#2 /var/www/www.valtorpsif.se/public/article/game.php(8): Game->setStats()
#3 /var/www/www.valtorpsif.se/public/game.php(4): include('...')
#4 {main}
thrown in /var/www/library3/classes/db.class.php on line 78