Warning: fopen(LOG_PATH/log_sql_21May2018.txt): failed to open stream: No such file or directory in /home/ballhd24/domains/ballhd24.com/public_html/backoffice/plugin/libraries/class.database.php on line 137

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/ballhd24/domains/ballhd24.com/public_html/backoffice/plugin/libraries/class.database.php on line 138

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/ballhd24/domains/ballhd24.com/public_html/backoffice/plugin/libraries/class.database.php on line 139
SELECT * FROM ballhd_hilight WHERE ref_league_id = and hilight_id != 315 ORDER BY hilight_id DESC
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 hilight_id != 315 ORDER BY hilight_id DESC' at line 1