20. Illuminate\Database\Eloquent\ModelNotFoundException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Database/­Eloquent/­Builder.php140
19. Illuminate\Database\Eloquent\Builder firstOrFail
…/­app/­controllers/­AdressbuchController.php13
18. AdressbuchController __construct
<#unknown>0
17. ReflectionClass newInstanceArgs
…/­vendor/­laravel/­framework/­src/­Illuminate/­Container/­Container.php539
16. Illuminate\Container\Container build
…/­vendor/­laravel/­framework/­src/­Illuminate/­Container/­Container.php428
15. Illuminate\Container\Container make
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php462
14. Illuminate\Foundation\Application make
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php78
13. Illuminate\Routing\ControllerDispatcher makeController
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­ControllerDispatcher.php51
12. Illuminate\Routing\ControllerDispatcher dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php967
11. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
10. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php109
9. Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1033
8. Illuminate\Routing\Router dispatchToRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1001
7. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php775
6. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php745
5. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. Illuminate\Foundation\Application run
…/­public/­index.php50

Illuminate \ Database \ Eloquent \ ModelNotFoundException Illuminate\Database\Eloquent\ModelNotFoundException thrown with message "No query results for model [Urls]." Stacktrace: #20 Illuminate\Database\Eloquent\ModelNotFoundException in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:140 #19 Illuminate\Database\Eloquent\Builder:firstOrFail in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/app/controllers/AdressbuchController.php:13 #18 AdressbuchController:__construct in <#unknown>:0 #17 ReflectionClass:newInstanceArgs in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 #16 Illuminate\Container\Container:build in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Container/Container.php:428 #15 Illuminate\Container\Container:make in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:462 #14 Illuminate\Foundation\Application:make in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:78 #13 Illuminate\Routing\ControllerDispatcher:makeController in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:51 #12 Illuminate\Routing\ControllerDispatcher:dispatch in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/Router.php:967 #11 Illuminate\Routing\Router:Illuminate\Routing\{closure} in <#unknown>:0 #10 call_user_func_array in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/Route.php:109 #9 Illuminate\Routing\Route:run in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1033 #8 Illuminate\Routing\Router:dispatchToRoute in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001 #7 Illuminate\Routing\Router:dispatch in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775 #6 Illuminate\Foundation\Application:dispatch in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745 #5 Illuminate\Foundation\Application:handle in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/public/index.php:50

No query results for model [Urls].

	 *
	 * @throws \Illuminate\Database\Eloquent\ModelNotFoundException
	 */
	public function firstOrFail($columns = array('*'))
	{
		if ( ! is_null($model = $this->first($columns))) return $model;
 
		throw (new ModelNotFoundException)->setModel(get_class($this->model));
	}
 
class AdressbuchController extends \BaseController {
 
	protected $city;
	protected $adressbuch;
	protected $CitySelect;
	
	function __construct(DbAdressbuchRepository $adressbuch) {
	  $this->city = Urls::where('url','=',preg_replace('/^www./', '', $_SERVER['HTTP_HOST']))->firstOrFail();
	  $this->adressbuch = $adressbuch;
	  $this->CitySelect = Buch::orderBy('name','asc')->get();
<#unknown>
			$dependencies, $parameters
		);
 
		$instances = $this->getDependencies(
			$dependencies, $parameters
		);
 
		return $reflector->newInstanceArgs($instances);
	}
 
		$concrete = $this->getConcrete($abstract);
 
		// We're ready to instantiate an instance of the concrete type registered for
		// the binding. This will instantiate the types, as well as resolve any of
		// its "nested" dependencies recursively until all have gotten resolved.
		if ($this->isBuildable($concrete, $abstract))
		{
			$object = $this->build($concrete, $parameters);
		}
		else
		$abstract = $this->getAlias($abstract);
 
		if (isset($this->deferredServices[$abstract]))
		{
			$this->loadDeferredProvider($abstract);
		}
 
		return parent::make($abstract, $parameters);
	}
 
	 * @param  string  $controller
	 * @return mixed
	 */
	protected function makeController($controller)
	{
		Controller::setFilterer($this->filterer);
 
		return $this->container->make($controller);
	}
 
	 * @return mixed
	 */
	public function dispatch(Route $route, Request $request, $controller, $method)
	{
		// First we will make an instance of this controller via the IoC container instance
		// so that we can call the methods on it. We will also apply any "after" filters
		// to the route so that they will be run by the routers after this processing.
		$instance = $this->makeController($controller);
 
		$this->assignAfter($instance, $route, $request, $method);
			$request = $this->getCurrentRequest();
 
			// Now we can split the controller and method out of the action string so that we
			// can call them appropriately on the class. This controller and method are in
			// in the Class@method format and we need to explode them out then use them.
			list($class, $method) = explode('@', $controller);
 
			return $d->dispatch($route, $request, $class, $method);
		};
	}
<#unknown>
	 *
	 * @return mixed
	 */
	public function run()
	{
		$parameters = array_filter($this->parameters(), function($p) { return isset($p); });

		return call_user_func_array($this->action['uses'], $parameters);
	}

		// Once we have successfully matched the incoming request to a given route we
		// can call the before filters on that route. This works similar to global
		// filters in that if a response is returned we will not call the route.
		$response = $this->callRouteBefore($route, $request);
 
		if (is_null($response))
		{
			$response = $route->run($request);
		}
 
		// If no response was returned from the before filter, we will call the proper
		// route instance to get the response. If no route is found a response will
		// still get returned based on why no routes were found for this request.
		$response = $this->callFilter('before', $request);
 
		if (is_null($response))
		{
			$response = $this->dispatchToRoute($request);
		}
 
		}
 
		if ($this->runningUnitTests() && ! $this['session']->isStarted())
		{
			$this['session']->start();
		}
 
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
		}
		catch (\Exception $e)
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
Key Value
REMOTE_ADDR_ANON 54.158.219.0
HOME /is/htdocs/wp11241563_8KLHH184JP/
USER wp11241563
MAGICK_TEMPORARY_PATH /is/htdocs/user_tmp/wp11241563_8KLHH184JP
MAGICK_TMPDIR /is/htdocs/user_tmp/wp11241563_8KLHH184JP
TMP /is/htdocs/user_tmp/wp11241563_8KLHH184JP
TMPDIR /is/htdocs/user_tmp/wp11241563_8KLHH184JP
HTTP_HOST www.adressbuch-markgroeningen.de
HTTP_X_REAL_IP 54.158.219.248
HTTP_X_FORWARDED_FOR 54.158.219.248
HTTP_CONNECTION close
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE Sun, 21 Jan 2018 12:20:01 GMT
PATH /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.adressbuch-markgroeningen.de
SERVER_ADDR 127.0.0.70
SERVER_PORT 80
REMOTE_ADDR 54.158.219.248
DOCUMENT_ROOT /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/public/
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/public/
SERVER_ADMIN hotelmails@preiswert-uebernachten.de
SCRIPT_FILENAME /is/htdocs/wp11241563_8KLHH184JP/www/adressbuch/public/index.php
REMOTE_PORT 36918
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1527141951.569
REQUEST_TIME 1527141951
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
APACHE_PID_FILE /var/run/apache2/apache2.pid
APACHE_LOG_DIR /var/log/apache2
PWD /root
LANG en_US.UTF-8
SHLVL 1
DAVLOCKFILE /var/lock/apache2/DavLockDB-modphp70
APACHE_LOCK_DIR /var/lock/apache2
APACHE_RUN_DIR /var/run/apache2
_ /usr/sbin/apache2
0. Whoops\Handler\PrettyPageHandler