17. Symfony\Component\HttpKernel\Exception\NotFoundHttpException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php909
16. Illuminate\Foundation\Application abort
…/­vendor/­laravel/­framework/­src/­Illuminate/­Support/­Facades/­Facade.php208
15. Illuminate\Support\Facades\Facade __callStatic
…/­app/­modules/­content/­Router/­Routes/­Direct.php55
14. Illuminate\Support\Facades\App abort
…/­app/­modules/­content/­Router/­Routes/­Direct.php55
13. APP\Modules\Content\Router\Routes\Direct APP\Modules\Content\Router\Routes\{closure}
<#unknown>0
12. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1088
11. Illuminate\Routing\Router performBinding
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1071
10. Illuminate\Routing\Router substituteBindings
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1056
9. Illuminate\Routing\Router findRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1022
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
/­home/­bethlehemcity/­public_html/­index.php65

Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Symfony\Component\HttpKernel\Exception\NotFoundHttpException thrown with message "" Stacktrace: #17 Symfony\Component\HttpKernel\Exception\NotFoundHttpException in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:909 #16 Illuminate\Foundation\Application:abort in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:208 #15 Illuminate\Support\Facades\Facade:__callStatic in /home/bethlehemcity/core/v1/app/modules/content/Router/Routes/Direct.php:55 #14 Illuminate\Support\Facades\App:abort in /home/bethlehemcity/core/v1/app/modules/content/Router/Routes/Direct.php:55 #13 APP\Modules\Content\Router\Routes\Direct:APP\Modules\Content\Router\Routes\{closure} in <#unknown>:0 #12 call_user_func in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1088 #11 Illuminate\Routing\Router:performBinding in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1071 #10 Illuminate\Routing\Router:substituteBindings in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1056 #9 Illuminate\Routing\Router:findRoute in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1022 #8 Illuminate\Routing\Router:dispatchToRoute in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001 #7 Illuminate\Routing\Router:dispatch in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775 #6 Illuminate\Foundation\Application:dispatch in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745 #5 Illuminate\Foundation\Application:handle in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /home/bethlehemcity/core/v1/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /home/bethlehemcity/core/v1/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /home/bethlehemcity/public_html/index.php:65

	 * @throws \Symfony\Component\HttpKernel\Exception\HttpException
	 * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
	 */
	public function abort($code, $message = '', array $headers = array())
	{
		if ($code == 404)
		{
			throw new NotFoundHttpException($message);
		}
 
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
     * @param $class
     */
    protected function bindContentModel($name,$class){
        Route::model($name, $class);
        Route::bind($name,function($value, $route){
            $res = Content::join('content_lang','content_lang.id','=','content.id')->where('content_lang.deleted_at','=',null)->where('language','=',Lang::getLocale())->where('slug',$value)->where('status','=',1)->first();
            if(!$res){
                App::abort(404);
            }
            return $res;
     * @param $class
     */
    protected function bindContentModel($name,$class){
        Route::model($name, $class);
        Route::bind($name,function($value, $route){
            $res = Content::join('content_lang','content_lang.id','=','content.id')->where('content_lang.deleted_at','=',null)->where('language','=',Lang::getLocale())->where('slug',$value)->where('status','=',1)->first();
            if(!$res){
                App::abort(404);
            }
            return $res;
<#unknown>
	 * @param  string  $key
	 * @param  string  $value
	 * @param  \Illuminate\Routing\Route  $route
	 * @return mixed
	 */
	protected function performBinding($key, $value, $route)
	{
		return call_user_func($this->binders[$key], $value, $route);
	}
 
	 */
	protected function substituteBindings($route)
	{
		foreach ($route->parameters() as $key => $value)
		{
			if (isset($this->binders[$key]))
			{
				$route->setParameter($key, $this->performBinding($key, $value, $route));
			}
		}
	 * @param  \Illuminate\Http\Request  $request
	 * @return \Illuminate\Routing\Route
	 */
	protected function findRoute($request)
	{
		$this->current = $route = $this->routes->match($request);
 
		return $this->substituteBindings($route);
	}
 
	 * Dispatch the request to a route and return the response.
	 *
	 * @param  \Illuminate\Http\Request  $request
	 * @return mixed
	 */
	public function dispatchToRoute(Request $request)
	{
		$route = $this->findRoute($request);
 
		$this->events->fire('router.matched', array($route, $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
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br
HTTP_HOST www.bethlehem-city.org
HTTP_USER_AGENT claudebot
HTTP_X_FORWARDED_FOR 54.172.169.199, 172.70.134.88
HTTP_X_REAL_IP 54.172.169.199
HTTP_X_REMOTE_IP 172.70.134.88
HTTP_CF_RAY 866c59e99c047f9e-IAD
HTTP_X_FORWARDED_PROTO https
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_CF_CONNECTING_IP 54.172.169.199
HTTP_CDN_LOOP cloudflare
HTTP_CF_IPCOUNTRY US
DOCUMENT_ROOT /home/bethlehemcity/public_html
REMOTE_ADDR 54.172.169.199
REMOTE_PORT 54482
SERVER_ADDR 170.249.236.196
SERVER_NAME www.bethlehem-city.org
SERVER_ADMIN [email protected]
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /heritageofmankind.htm
REDIRECT_URL /heritageofmankind.htm
REDIRECT_REQUEST_METHOD GET
PROXY_REMOTE_ADDR 127.0.0.1
HTTPS on
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/bethlehemcity/public_html/index.php
QUERY_STRING
SCRIPT_URI https://www.bethlehem-city.org/heritageofmankind.htm
SCRIPT_URL /heritageofmankind.htm
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710839655.9765
REQUEST_TIME 1710839655
argv Array ( )
argc 0
empty
empty
empty
empty
empty
empty
0. Whoops\Handler\PrettyPageHandler