I recently bought a Quiz script but I was not able to install it. For LocalHost and for website Im getting the same error:
SQLSTATE[42000]: Syntax error or access violation: 1064 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 ')' at line 1 (SQL: select * from user_quiz_group where status = ? and group_id in ()) (Bindings: array ( 0 => 1, ))
protected function handleQueryException(\Exception $e, $query, $bindings)
{
$bindings = var_export($bindings, true);
$message = $e->getMessage()." (SQL: {$query}) (Bindings: {$bindings})";
throw new \Exception($message, 0, $e);
}
It is the first time when I'm dealing with Laravel framework, so unable to understand its functionality completely. AT first look, I can't find an error but, if you check this image there are hundreds of error on
https://s9.postimg.org/rwk5p7a4f/errors1101.jpg
a single file called Connection.php which I uploaded to
https://gist.github.com/anonymous/becc0a8f614d405e5eb6299d18383f24
The script came with its own .SQL file, I uploaded it without error, I configured the database, but I cant solve this error myself, and the developer which I contacted through Code Canyon and email, has never replied. A help would be amazing as I have already spent 6 hours dealing with it and understanding whats wrong with the code.