[2017-06-05 13:12:40] lumen.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Namespace declaration statement has to be the very first statement or after any declare call in the script in /data/www/6fm/api/app/Http/Controllers/NewsController.php:6
Stack trace:
#0 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RegistersExceptionHandlers.php(54): Laravel\Lumen\Application->handleShutdown()
#1 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#2 {main}  
[2017-06-05 13:13:06] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\NewsItem' not found in /data/www/6fm/api/app/Http/Controllers/NewsController.php:24
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list()
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:13:16] lumen.ERROR: ErrorException: Undefined variable: item in /data/www/6fm/api/app/Http/Controllers/NewsController.php:25
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(25): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/6fm/a...', 25, Array)
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-05 13:13:53] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\NewsItem' not found in /data/www/6fm/api/app/Http/Controllers/NewsController.php:24
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list()
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:15:14] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\NewsItem' not found in /data/www/6fm/api/app/Http/Controllers/NewsController.php:24
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list()
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:16:00] lumen.ERROR: UnexpectedValueException: The Response content must be a string or object implementing __toString(), "object" given. in /data/www/6fm/api/vendor/symfony/http-foundation/Response.php:409
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/http/Response.php(41): Symfony\Component\HttpFoundation\Response->setContent(Object(Model\NewsItem))
#1 /data/www/6fm/api/vendor/symfony/http-foundation/Response.php(201): Illuminate\Http\Response->setContent(Object(Model\NewsItem))
#2 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(795): Symfony\Component\HttpFoundation\Response->__construct(Object(Model\NewsItem))
#3 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Laravel\Lumen\Application->prepareResponse(Object(Model\NewsItem))
#4 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#12 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#13 {main}  
[2017-06-05 13:29:09] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'uses' (T_STRING), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:20] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'use' (T_USE), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:21] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'use' (T_USE), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:22] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'use' (T_USE), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:22] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'use' (T_USE), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:31] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ';', expecting ',' or ')' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:29
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:29:42] lumen.ERROR: ErrorException: Undefined variable: app in /data/www/6fm/api/app/Http/Controllers/NewsController.php:24
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(24): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/6fm/a...', 24, Array)
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-05 13:29:51] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'use' (T_USE), expecting ';' or '{' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:23
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-05 13:30:15] lumen.ERROR: PDOException: 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 '.`title`, `news_target_content`.`content`, `news_target_content`.`creationdt`, `' at line 2 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('        SELECT ...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('        SELECT ...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('        SELECT ...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('        SELECT ...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('        SELECT ...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(25): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 '.`title`, `news_target_content`.`content`, `news_target_content`.`creationdt`, `' at line 2 (SQL:         SELECT `news`.`id`, `news`.`region`, `news`.`theme`, `news`.`source`, `news`.`program`, `news`.`video`
            `news_target_content`.`title`, `news_target_content`.`content`, `news_target_content`.`creationdt`, `news_target_content`.`editingdt`, `news_target_content`.`creator`, `news_target_content`.`editor`
        FROM `news` LEFT JOIN `news_target_content` ON `news`.`id` = `news_target_content`.`news`
        WHERE `news_target_content`.`published` = 1 AND `news_target_content`.`target` = 1 AND `news_target_content`.`active` = 1;) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('        SELECT ...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('        SELECT ...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('        SELECT ...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(25): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-05 13:31:28] lumen.ERROR: PDOException: 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 'AND `news_target_content`.`target` = 1 AND `news_target_content`.`active` = 1' at line 4 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('        SELECT ...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('        SELECT ...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('        SELECT ...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('        SELECT ...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('        SELECT ...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(25): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 'AND `news_target_content`.`target` = 1 AND `news_target_content`.`active` = 1' at line 4 (SQL:         SELECT `news`.`id`, `news`.`region`, `news`.`theme`, `news`.`source`, `news`.`program`, `news`.`video`,
            `news_target_content`.`title`, `news_target_content`.`content`, `news_target_content`.`creationdt`, `news_target_content`.`editingdt`, `news_target_content`.`creator`, `news_target_content`.`editor`
        FROM `news` LEFT JOIN `news_target_content` ON `news`.`id` = `news_target_content`.`news`
        WHERE `news_target_content`.`published` = 1 --AND `news_target_content`.`target` = 1 AND `news_target_content`.`active` = 1;) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('        SELECT ...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('        SELECT ...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('        SELECT ...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(25): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:08:03] lumen.ERROR: ErrorException: Undefined variable: BASE_SQL in /data/www/6fm/api/app/Http/Controllers/NewsController.php:38
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/6fm/a...', 38, Array)
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-06 21:08:26] lumen.ERROR: PDOException: 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 '0, 30' at line 11 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('SELECT `news`.`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 '0, 30' at line 11 (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`,     `news`.`podcast`, `news`.`video`, `news`.`keywords`, `news`.`titlewithdate`, 
       `content`.`creationdt`, `content`.`creator`, `content`.`editingdt`, `content`.`editor`, 
       `content`.`showsource`, `sources`.`title` AS `source`, `sources`.`url` AS `source_url`, 
       `categories`.`title` AS `category`, `themes`.`title` AS `theme`, `themes`.`thumbnail` AS `theme_thumbnail`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
        LEFT JOIN `news_sources` AS `sources` ON  `sources`.`id` = `news`.`source`
        LEFT JOIN `news_categories` AS `categories` ON  `categories`.`id` = `news`.`category`
        LEFT JOIN `news_themes` AS `themes` ON  `themes`.`id` = `news`.`theme`
    WHERE `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1LIMIT 0, 30) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:08:35] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /data/www/6fm/api/app/Http/Controllers/NewsController.php:10
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-06 21:08:44] lumen.ERROR: ErrorException: Accessing static property App\Http\Controllers\NewsController::$BASE_SQL as non static in /data/www/6fm/api/app/Http/Controllers/NewsController.php:38
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Accessing stati...', '/data/www/6fm/a...', 38, Array)
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-06 21:08:55] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Undefined class constant 'BASE_SQL' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:38
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list()
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-06 21:09:22] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'BASE_SQL' (T_STRING), expecting variable (T_VARIABLE) in /data/www/6fm/api/app/Http/Controllers/NewsController.php:10
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-06 21:09:40] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /data/www/6fm/api/app/Http/Controllers/NewsController.php:10
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-06 21:10:10] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Undefined class constant 'BASE_SQL' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:38
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list()
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#14 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#15 {main}  
[2017-06-06 21:10:16] lumen.ERROR: PDOException: 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 '0, 30' at line 11 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('SELECT `news`.`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 '0, 30' at line 11 (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`,     `news`.`podcast`, `news`.`video`, `news`.`keywords`, `news`.`titlewithdate`, 
       `content`.`creationdt`, `content`.`creator`, `content`.`editingdt`, `content`.`editor`, 
       `content`.`showsource`, `sources`.`title` AS `source`, `sources`.`url` AS `source_url`, 
       `categories`.`title` AS `category`, `themes`.`title` AS `theme`, `themes`.`thumbnail` AS `theme_thumbnail`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
        LEFT JOIN `news_sources` AS `sources` ON  `sources`.`id` = `news`.`source`
        LEFT JOIN `news_categories` AS `categories` ON  `categories`.`id` = `news`.`category`
        LEFT JOIN `news_themes` AS `themes` ON  `themes`.`id` = `news`.`theme`
    WHERE `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1LIMIT 0, 30) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(38): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:17:42] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected 'class' (T_CLASS), expecting function (T_FUNCTION) in /data/www/6fm/common/classes/NewsItem.php:6
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Model\\NewsItem')
#2 /data/www/6fm/api/app/Http/Controllers/NewsController.php(44): spl_autoload_call('Model\\NewsItem')
#3 [internal function]: App\Http\Controllers\NewsController->list()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#7 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-06 21:18:46] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Cannot use object of type stdClass as array in /data/www/6fm/common/classes/NewsItem.php:39
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(44): Model\NewsItem->__construct(Object(stdClass))
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-06 21:19:54] lumen.ERROR: PDOException: 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 'DESCLIMIT 0, 30' at line 12 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('SELECT `news`.`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(40): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 'DESCLIMIT 0, 30' at line 12 (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`,     `news`.`podcast`, `news`.`video`, `news`.`keywords`, `news`.`titlewithdate`, 
       `content`.`creationdt`, `content`.`creator`, `content`.`editingdt`, `content`.`editor`, 
       `content`.`showsource`, `sources`.`title` AS `source`, `sources`.`url` AS `source_url`, 
       `categories`.`title` AS `category`, `themes`.`title` AS `theme`, `themes`.`thumbnail` AS `theme_thumbnail`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
        LEFT JOIN `news_sources` AS `sources` ON  `sources`.`id` = `news`.`source`
        LEFT JOIN `news_categories` AS `categories` ON  `categories`.`id` = `news`.`category`
        LEFT JOIN `news_themes` AS `themes` ON  `themes`.`id` = `news`.`theme`
    WHERE `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1
    ORDER BY `content`.`publishdt` DESCLIMIT 0, 30) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(40): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:20:26] lumen.ERROR: PDOException: 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 'DESCLIMIT 0, 30' at line 12 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('SELECT `news`.`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(40): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 'DESCLIMIT 0, 30' at line 12 (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`,     `news`.`podcast`, `news`.`video`, `news`.`keywords`, `news`.`titlewithdate`, 
       `content`.`creationdt`, `content`.`creator`, `content`.`editingdt`, `content`.`editor`, 
       `content`.`showsource`, `sources`.`title` AS `source`, `sources`.`url` AS `source_url`, 
       `categories`.`title` AS `category`, `themes`.`title` AS `theme`, `themes`.`thumbnail` AS `theme_thumbnail`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
        LEFT JOIN `news_sources` AS `sources` ON  `sources`.`id` = `news`.`source`
        LEFT JOIN `news_categories` AS `categories` ON  `categories`.`id` = `news`.`category`
        LEFT JOIN `news_themes` AS `themes` ON  `themes`.`id` = `news`.`theme`
    WHERE `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1
    ORDER BY `content`.`publishingdt` DESCLIMIT 0, 30) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(40): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:21:40] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\DateTime' not found in /data/www/6fm/common/classes/Model.php:8
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(36): Model\Model->ConvertToDateTime('2017-06-06 22:2...')
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->list()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#16 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#17 {main}  
[2017-06-06 21:24:27] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\Podcast' not found in /data/www/6fm/common/classes/NewsItem.php:41
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Model\NewsItem->__construct(Object(stdClass))
#1 [internal function]: App\Http\Controllers\NewsController->list()
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-06 21:32:29] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '}', expecting end of file in /data/www/6fm/common/classes/Model.php:31
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Model\\Model')
#2 /data/www/6fm/common/classes/NewsItem.php(17): spl_autoload_call('Model\\Model')
#3 /data/www/6fm/api/vendor/composer/ClassLoader.php(412): include('/data/www/6fm/c...')
#4 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Model\\NewsItem')
#6 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): spl_autoload_call('Model\\NewsItem')
#7 [internal function]: App\Http\Controllers\NewsController->list()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}  
[2017-06-06 21:32:40] lumen.ERROR: ErrorException: preg_replace(): Delimiter must not be alphanumeric or backslash in /data/www/6fm/common/classes/Model.php:25
Stack trace:
#0 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(2, 'preg_replace():...', '/data/www/6fm/c...', 25, Array)
#1 /data/www/6fm/common/classes/Model.php(25): preg_replace('\\b(in|op|en|de|...', '', 'Zanger Patrick ...')
#2 /data/www/6fm/common/classes/NewsItem.php(45): Model\Model->url_slug('Zanger Patrick ...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Model\NewsItem->__construct(Object(stdClass))
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:33:12] lumen.ERROR: ErrorException: preg_replace(): Delimiter must not be alphanumeric or backslash in /data/www/6fm/common/classes/Model.php:25
Stack trace:
#0 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(2, 'preg_replace():...', '/data/www/6fm/c...', 25, Array)
#1 /data/www/6fm/common/classes/Model.php(25): preg_replace('\\b(in|op|en|de|...', '', 'Zanger Patrick ...')
#2 /data/www/6fm/common/classes/NewsItem.php(45): Model\Model->url_slug('Zanger Patrick ...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Model\NewsItem->__construct(Object(stdClass))
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:33:19] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '/' in /data/www/6fm/common/classes/Model.php:27
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Model\\Model')
#2 /data/www/6fm/common/classes/NewsItem.php(17): spl_autoload_call('Model\\Model')
#3 /data/www/6fm/api/vendor/composer/ClassLoader.php(412): include('/data/www/6fm/c...')
#4 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Model\\NewsItem')
#6 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): spl_autoload_call('Model\\NewsItem')
#7 [internal function]: App\Http\Controllers\NewsController->list()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}  
[2017-06-06 21:33:24] lumen.ERROR: ErrorException: preg_replace(): Delimiter must not be alphanumeric or backslash in /data/www/6fm/common/classes/Model.php:25
Stack trace:
#0 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(2, 'preg_replace():...', '/data/www/6fm/c...', 25, Array)
#1 /data/www/6fm/common/classes/Model.php(25): preg_replace('\\b(in|op|en|de|...', '', 'Zanger Patrick ...')
#2 /data/www/6fm/common/classes/NewsItem.php(45): Model\Model->url_slug('Zanger Patrick ...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Model\NewsItem->__construct(Object(stdClass))
#4 [internal function]: App\Http\Controllers\NewsController->list()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-06 21:54:35] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, string given, called in /data/www/6fm/api/vendor/illuminate/database/Connection.php on line 648 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:569
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(648): Illuminate\Database\Connection->prepareBindings('2, 1')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', '2, 1', Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', '2, 1', Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...', '2, 1')
#4 /data/www/6fm/api/app/Http/Controllers/NewsController.php(46): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 [internal function]: App\Http\Controllers\NewsController->list('1', '2')
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-06 21:54:36] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, string given, called in /data/www/6fm/api/vendor/illuminate/database/Connection.php on line 648 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:569
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(648): Illuminate\Database\Connection->prepareBindings('1, 1')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', '1, 1', Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', '1, 1', Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...', '1, 1')
#4 /data/www/6fm/api/app/Http/Controllers/NewsController.php(46): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 [internal function]: App\Http\Controllers\NewsController->list('1', '1')
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-06 21:54:56] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, string given, called in /data/www/6fm/api/vendor/illuminate/database/Connection.php on line 648 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:569
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(648): Illuminate\Database\Connection->prepareBindings('1, 1')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', '1, 1', Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', '1, 1', Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...', '1, 1')
#4 /data/www/6fm/api/app/Http/Controllers/NewsController.php(46): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 [internal function]: App\Http\Controllers\NewsController->list('1', '1')
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-06 21:55:11] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Illuminate\Database\Connection::prepareBindings() must be of the type array, string given, called in /data/www/6fm/api/vendor/illuminate/database/Connection.php on line 648 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:569
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(648): Illuminate\Database\Connection->prepareBindings('1, 1')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', '1, 1', Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', '1, 1', Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...', '1, 1')
#4 /data/www/6fm/api/app/Http/Controllers/NewsController.php(45): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 [internal function]: App\Http\Controllers\NewsController->list('1', '1')
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-06 21:56:02] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ')' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:45
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-06 21:58:50] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to App\Http\Controllers\NewsController::list() must be of the type integer, string given in /data/www/6fm/api/app/Http/Controllers/NewsController.php:42
Stack trace:
#0 [internal function]: App\Http\Controllers\NewsController->list('a', 1)
#1 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-07 06:02:19] lumen.ERROR: PDOException: SQLSTATE[HY000]: General error: 2031  in /data/www/6fm/api/vendor/illuminate/database/Connection.php:323
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(323): PDOStatement->execute()
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(63): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->item(48920)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}

Next Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 2031  (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`,     `news`.`podcast`, `news`.`video`, `news`.`keywords`, `news`.`titlewithdate`, 
       `content`.`publishingdt` AS `published`, `content`.`creator`, `content`.`editingdt` AS `edited`, `content`.`editor`, 
       `content`.`showsource`, `sources`.`title` AS `source`, `sources`.`url` AS `source_url`, 
       `categories`.`title` AS `category`, `themes`.`title` AS `theme`, `themes`.`thumbnail` AS `theme_thumbnail`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
        LEFT JOIN `news_sources` AS `sources` ON  `sources`.`id` = `news`.`source`
        LEFT JOIN `news_categories` AS `categories` ON  `categories`.`id` = `news`.`category`
        LEFT JOIN `news_themes` AS `themes` ON  `themes`.`id` = `news`.`theme`
    WHERE `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1 AND `news`.`id` = :id LIMIT 0, 1) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(63): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->item(48920)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#19 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#20 {main}  
[2017-06-07 06:04:47] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ';' in /data/www/6fm/api/app/Http/Controllers/NewsController.php:69
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-07 06:05:10] lumen.ERROR: ErrorException: Trying to get property of non-object in /data/www/6fm/common/classes/NewsItem.php:57
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(57): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Trying to get p...', '/data/www/6fm/c...', 57, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Model\NewsItem->__construct(Array)
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:05:43] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:61
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(61): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 61, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:06:11] lumen.ERROR: PDOException: SQLSTATE[HY000]: General error: 2031  in /data/www/6fm/api/vendor/illuminate/database/Connection.php:323
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(323): PDOStatement->execute()
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `id`, `f...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->item(48920)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}

Next Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 2031  (SQL: SELECT `id`, `file`, `description` AS `title` FROM `news_pictures` WHERE `news` = 48920 AND `active` = 1) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->item(48920)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#19 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#20 {main}  
[2017-06-07 06:06:39] lumen.ERROR: PDOException: SQLSTATE[HY000]: General error: 2031  in /data/www/6fm/api/vendor/illuminate/database/Connection.php:323
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(323): PDOStatement->execute()
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `id`, `f...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->item(48920)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}

Next Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 2031  (SQL: SELECT `id`, `file`, `description` AS `title` FROM `news_pictures` WHERE `news` = 48920 AND `active` = 1) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(69): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->item(48920)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#19 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#20 {main}  
[2017-06-07 06:06:45] lumen.ERROR: PDOException: SQLSTATE[HY000]: General error: 2031  in /data/www/6fm/api/vendor/illuminate/database/Connection.php:323
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(323): PDOStatement->execute()
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `id`, `f...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#5 /data/www/6fm/api/app/Http/Controllers/NewsController.php(51): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#21 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#22 {main}

Next Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 2031  (SQL: SELECT `id`, `file`, `description` AS `title` FROM `news_pictures` WHERE `news` = 48920 AND `active` = 1) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#3 /data/www/6fm/api/app/Http/Controllers/NewsController.php(51): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#19 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#20 {main}  
[2017-06-07 06:07:16] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:61
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(61): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 61, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(70): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:08:00] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:61
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(61): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 61, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(70): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:08:13] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(70): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:09:06] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(70): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:09:14] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(70): Model\NewsItem->__construct(Object(stdClass))
#2 [internal function]: App\Http\Controllers\NewsController->item(48920)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'item', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:10:42] lumen.ERROR: ErrorException: Use of undefined constant images - assumed 'images' in /data/www/6fm/common/classes/NewsItem.php:61
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(61): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Use of undefine...', '/data/www/6fm/c...', 61, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:10:50] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:10:58] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:11:44] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:12:03] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:12:21] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:12:29] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-07 06:13:19] lumen.ERROR: ErrorException: Undefined property: stdClass::$images in /data/www/6fm/common/classes/NewsItem.php:62
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(62): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 62, Array)
#1 /data/www/6fm/api/app/Http/Controllers/NewsController.php(52): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\NewsController->list(1, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\NewsController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-08 05:57:16] lumen.ERROR: FastRoute\BadRouteException: Optional segments can only occur at the end of a route in /data/www/6fm/api/vendor/nikic/fast-route/src/RouteParser/Std.php:33
Stack trace:
#0 /data/www/6fm/api/vendor/nikic/fast-route/src/RouteCollector.php(33): FastRoute\RouteParser\Std->parse('/nieuws/overzic...')
#1 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(568): FastRoute\RouteCollector->addRoute('GET', '/nieuws/overzic...', Array)
#2 /data/www/6fm/api/vendor/nikic/fast-route/src/functions.php(24): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(FastRoute\RouteCollector))
#3 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(570): FastRoute\simpleDispatcher(Object(Closure))
#4 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->createDispatcher()
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#8 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#9 {main}  
[2017-06-08 05:57:48] lumen.ERROR: ReflectionException: Class App\Http\Controllers\AgendaController does not exist in /data/www/6fm/api/vendor/illuminate/container/Container.php:719
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#1 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#2 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#11 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#12 {main}  
[2017-06-08 06:01:43] lumen.ERROR: ErrorException: Undefined property: stdClass::$source in /data/www/6fm/common/classes/NewsItem.php:57
Stack trace:
#0 /data/www/6fm/common/classes/NewsItem.php(57): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined prope...', '/data/www/6fm/c...', 57, Array)
#1 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(46): Model\NewsItem->__construct(Object(stdClass), Array)
#2 [internal function]: App\Http\Controllers\AgendaController->list(10, 1)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'list', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#16 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#17 {main}  
[2017-06-08 06:04:53] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Model\NewsImage' not found in /data/www/6fm/common/classes/CalendarEvent.php:25
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(46): Model\CalendarEvent->__construct(Object(stdClass), Array)
#1 [internal function]: App\Http\Controllers\AgendaController->list(10, 1)
#2 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'list', Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
[2017-06-08 06:07:37] lumen.ERROR: ErrorException: preg_replace(): Compilation failed: range out of order in character class at offset 7 in /data/www/6fm/common/classes/Model.php:45
Stack trace:
#0 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(2, 'preg_replace():...', '/data/www/6fm/c...', 45, Array)
#1 /data/www/6fm/common/classes/Model.php(45): preg_replace('/[^\\w_-\\+\\s]/', '', '\\'iktoon\xE2\x80\x99 exp...')
#2 /data/www/6fm/common/classes/CalendarEvent.php(29): Model\Model->url_slug('\\'iktoon\xE2\x80\x99 exp...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(46): Model\CalendarEvent->__construct(Object(stdClass), NULL)
#4 [internal function]: App\Http\Controllers\AgendaController->list(10, 1)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-08 06:10:05] lumen.ERROR: PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in /data/www/6fm/api/vendor/illuminate/database/MySqlConnection.php:80
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/MySqlConnection.php(80): PDOStatement->bindValue('calendarId', 48879, 1)
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(321): Illuminate\Database\MySqlConnection->bindValues(Object(PDOStatement), Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `id`, `f...', Array)
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#5 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(63): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 [internal function]: App\Http\Controllers\AgendaController->item(48879)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'item', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined (SQL: SELECT `id`, `file`, `description` AS `title` FROM `news_pictures` WHERE `news` = :newsId AND `active` = 1) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `id`, `f...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `id`, `f...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `id`, `f...', Array)
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(63): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\AgendaController->item(48879)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'item', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#19 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#20 {main}  
[2017-06-08 06:23:34] lumen.ERROR: PDOException: 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 'WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAY) ' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' WHERE (`starts...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' WHERE (`starts...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAY) ' at line 1 (SQL:  WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAY) OR (`starts` > NOW() AND `ends` < NOW() + INTERVAL 7 DAY ORDER BY `starts` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:24:08] lumen.ERROR: PDOException: 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 'WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAYS)' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' WHERE (`starts...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' WHERE (`starts...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAYS)' at line 1 (SQL:  WHERE (`starts` < NOW() AND `ends` > NOW() AND `ends` < NOW() + INTERVAL 7 DAYS) OR (`starts` > NOW() AND `ends` < NOW() + INTERVAL 7 DAYS ORDER BY `starts` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:24:47] lumen.ERROR: PDOException: 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 'WHERE (`starts` < CURDATE() AND `ends` > CURDATE() AND `ends` < NOW() + INTERVAL' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' WHERE (`starts...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' WHERE (`starts...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'WHERE (`starts` < CURDATE() AND `ends` > CURDATE() AND `ends` < NOW() + INTERVAL' at line 1 (SQL:  WHERE (`starts` < CURDATE() AND `ends` > CURDATE() AND `ends` < NOW() + INTERVAL 7 DAY) OR (`starts` > CURDATE() AND `ends` < NOW() + INTERVAL 7 DAY) ORDER BY `starts` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`starts...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`starts...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`starts...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:25:24] lumen.ERROR: PDOException: 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 'WHERE (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTER' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' WHERE (`startd...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' WHERE (`startd...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`startd...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`startd...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`startd...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'WHERE (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTER' at line 1 (SQL:  WHERE (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTERVAL 7 DAY) OR (`startdt` > CURDATE() AND `enddt` < NOW() + INTERVAL 7 DAY) ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' WHERE (`startd...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' WHERE (`startd...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' WHERE (`startd...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:26:08] lumen.ERROR: PDOException: 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 'AND (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTERVA' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' AND (`startdt`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' AND (`startdt`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'AND (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTERVA' at line 1 (SQL:  AND (`startdt` < CURDATE() AND `enddt` > CURDATE() AND `enddt` < NOW() + INTERVAL 7 DAY) OR (`startdt` > CURDATE() AND `enddt` < NOW() + INTERVAL 7 DAY) ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:27:05] lumen.ERROR: PDOException: 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 'AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < NOW()' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' AND (`startdt`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' AND (`startdt`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < NOW()' at line 1 (SQL:  AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < NOW() + INTERVAL 7 DAY) OR (`startdt` > CURRENT_DATE() AND `enddt` < NOW() + INTERVAL 7 DAY) ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:27:21] lumen.ERROR: PDOException: 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 'AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < CURRE' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' AND (`startdt`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' AND (`startdt`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < CURRE' at line 1 (SQL:  AND (`startdt` < CURRENT_DATE() AND `enddt` > CURRENT_DATE() AND `enddt` < CURRENT_DATE() + INTERVAL 7 DAY) OR (`startdt` > CURRENT_DATE() AND `enddt` < CURRENT_DATE() + INTERVAL 7 DAY) ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:27:46] lumen.ERROR: PDOException: 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 'AND (`startdt` <= CURRENT_DATE() AND `enddt` >= CURRENT_DATE() AND `enddt` <= CU' at line 1 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare(' AND (`startdt`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}(' AND (`startdt`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#7 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#10 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#11 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#20 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#21 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#22 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#23 {main}

Next Illuminate\Database\QueryException: 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 'AND (`startdt` <= CURRENT_DATE() AND `enddt` >= CURRENT_DATE() AND `enddt` <= CU' at line 1 (SQL:  AND (`startdt` <= CURRENT_DATE() AND `enddt` >= CURRENT_DATE() AND `enddt` <= CURRENT_DATE() + INTERVAL 7 DAY) OR (`startdt` >= CURRENT_DATE() AND `enddt` <= CURRENT_DATE() + INTERVAL 7 DAY) ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback(' AND (`startdt`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run(' AND (`startdt`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select(' AND (`startdt`...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(42): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(54): App\Http\Controllers\AgendaController->list(7)
#5 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#9 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}  
[2017-06-08 06:28:11] lumen.ERROR: ErrorException: Undefined variable: page in /data/www/6fm/api/app/Http/Controllers/AgendaController.php:51
Stack trace:
#0 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(51): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/6fm/a...', 51, Array)
#1 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(55): App\Http\Controllers\AgendaController->list(7)
#2 [internal function]: App\Http\Controllers\AgendaController->listWeek()
#3 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#4 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#6 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'listWeek', Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#17 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#18 {main}  
[2017-06-08 06:34:26] lumen.ERROR: PDOException: 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 '`enddt` >= CURRENT_DATE() ORDER BY `startdt` DESC' at line 5 in /data/www/6fm/api/vendor/illuminate/database/Connection.php:319
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(319): PDO->prepare('SELECT `news`.`...')
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(640): Illuminate\Database\Connection->Illuminate\Database\{closure}('SELECT `news`.`...', Array)
#2 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#3 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#4 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#5 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(45): Illuminate\Database\DatabaseManager->__call('select', Array)
#6 [internal function]: App\Http\Controllers\AgendaController->list(0)
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#8 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#9 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#10 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'list', Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#18 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#19 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#20 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#21 {main}

Next Illuminate\Database\QueryException: 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 '`enddt` >= CURRENT_DATE() ORDER BY `startdt` DESC' at line 5 (SQL: SELECT `news`.`id`, `content`.`title`, `content`.`content`, `news`.`startdt` AS `starts`, `news`.`enddt` AS `ends`, `regions`.`title` AS `region`
    FROM `news`    
        LEFT JOIN `news_target_content` AS `content` ON `content`.`news` = `news`.`id`
        LEFT JOIN `news_regions` AS `regions` ON  `regions`.`id` = `news`.`region`
    WHERE `news`.`category` = 42 AND `content`.`target` = 1 AND `news`.`active` = 1 AND `content`.`active` = 1AND `enddt` >= CURRENT_DATE() ORDER BY `startdt` DESC) in /data/www/6fm/api/vendor/illuminate/database/Connection.php:647
Stack trace:
#0 /data/www/6fm/api/vendor/illuminate/database/Connection.php(607): Illuminate\Database\Connection->runQueryCallback('SELECT `news`.`...', Array, Object(Closure))
#1 /data/www/6fm/api/vendor/illuminate/database/Connection.php(326): Illuminate\Database\Connection->run('SELECT `news`.`...', Array, Object(Closure))
#2 /data/www/6fm/api/vendor/illuminate/database/DatabaseManager.php(324): Illuminate\Database\Connection->select('SELECT `news`.`...')
#3 /data/www/6fm/api/app/Http/Controllers/AgendaController.php(45): Illuminate\Database\DatabaseManager->__call('select', Array)
#4 [internal function]: App\Http\Controllers\AgendaController->list(0)
#5 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(29): call_user_func_array(Array, Array)
#6 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#7 /data/www/6fm/api/vendor/illuminate/container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#8 /data/www/6fm/api/vendor/illuminate/container/Container.php(531): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(741): Illuminate\Container\Container->call(Array, Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(707): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(681): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\AgendaController), 'list', Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(528): Laravel\Lumen\Application->handleFoundRoute(Array)
#15 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#16 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#17 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#18 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#19 {main}  
[2017-06-08 06:37:30] lumen.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ')', expecting ']' in /data/www/6fm/api/app/Http/Controllers/AgendaController.php:53
Stack trace:
#0 /data/www/6fm/api/vendor/composer/ClassLoader.php(301): Composer\Autoload\includeFile('/data/www/6fm/a...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('App\\Http\\Contro...')
#2 [internal function]: spl_autoload_call('App\\Http\\Contro...')
#3 /data/www/6fm/api/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('App\\Http\\Contro...')
#4 /data/www/6fm/api/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('App\\Http\\Contro...')
#5 /data/www/6fm/api/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('App\\Http\\Contro...')
#6 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Application.php(208): Illuminate\Container\Container->make('App\\Http\\Contro...')
#7 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(676): Laravel\Lumen\Application->make('App\\Http\\Contro...')
#8 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(643): Laravel\Lumen\Application->callControllerAction(Array)
#9 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(628): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#10 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(598): Laravel\Lumen\Application->handleFoundRoute(Array)
#11 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#12 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(781): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}()
#13 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#14 /data/www/6fm/api/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#15 /data/www/6fm/api/public/index.php(28): Laravel\Lumen\Application->run()
#16 {main}  
