Unhandled Exception

Message:

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 ') GROUP BY `vendor` ORDER BY `vendor` ASC' at line 1

SQL: SELECT `vendor`, `vendor_num` FROM `products` WHERE `category` IN () GROUP BY `vendor` ORDER BY `vendor` ASC

Bindings: array (
)

Location:

/var/www/atlas-live/laravel/database/connection.php on line 505

Stack Trace:

#0 /var/www/atlas-live/laravel/database/connection.php(359): Laravel\Database\Connection->execute('SELECT `vendor`...', Array)
#1 /var/www/atlas-live/laravel/database/query.php(1294): Laravel\Database\Connection->query('SELECT `vendor`...', Array)
#2 /var/www/atlas-live/application/routes.php(536): Laravel\Database\Query->get(Array)
#3 [internal function]: Laravel\Bundle::{closure}('drills-cordless...')
#4 /var/www/atlas-live/laravel/routing/route.php(163): call_user_func_array(Object(Closure), Array)
#5 /var/www/atlas-live/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#6 /var/www/atlas-live/laravel/laravel.php(125): Laravel\Routing\Route->call()
#7 /var/www/atlas-live/public/index.php(34): require('/var/www/atlas-...')
#8 {main}