Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/englandstats/ on line 140

Warning: Undefined variable $nextoppid in /home/englandstats/ on line 166

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 'order by mid DESC' at line 1 in /home/englandstats/ Stack trace: #0 /home/englandstats/ mysqli->query('SELECT mid, dat...') #1 {main} thrown in /home/englandstats/ on line 166