Slim Application Error

The application could not run because of the following error:

Details

Type: InvalidArgumentException
Message: Illegal operator and value combination.
File: /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/illuminate/database/Query/Builder.php
Line: 699

Trace

#0 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/illuminate/database/Query/Builder.php(609): Illuminate\Database\Query\Builder->prepareValueAndOperator(NULL, '<', false)
#1 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/illuminate/database/Eloquent/Builder.php(230): Illuminate\Database\Query\Builder->where('id', '<', NULL)
#2 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/app/Controllers/VoucherController.php(63): Illuminate\Database\Eloquent\Builder->where('id', '<', NULL)
#3 [internal function]: App\Controllers\VoucherController->showItem(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#4 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#6 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#7 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#9 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#10 [internal function]: RKA\Middleware\IpAddress->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#11 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(RKA\Middleware\IpAddress), Array)
#12 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#13 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#14 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#15 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#16 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/vendor/slim/slim/Slim/App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 /usr/www/users/fotostrm/fotostudio-sichtweisen.de/public/index.php(5): Slim\App->run()
#18 {main}