20. Symfony\Component\Debug\Exception\FatalThrowableError
…/­app/­controllers/­Base/­PageBaseController.php24
19. App\Controllers\Base\PageBaseController __construct
…/­app/­controllers/­PageProfileController.php56
18. App\Controllers\PageProfileController __construct
<#unknown>0
17. ReflectionClass newInstanceArgs
…/­bootstrap/­compiled.php247
16. Illuminate\Container\Container build
…/­bootstrap/­compiled.php205
15. Illuminate\Container\Container make
…/­bootstrap/­compiled.php565
14. Illuminate\Foundation\Application make
…/­bootstrap/­compiled.php3814
13. Illuminate\Routing\ControllerDispatcher makeController
…/­bootstrap/­compiled.php3803
12. Illuminate\Routing\ControllerDispatcher dispatch
…/­bootstrap/­compiled.php3012
11. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
10. call_user_func_array
…/­bootstrap/­compiled.php3370
9. Illuminate\Routing\Route run
…/­bootstrap/­compiled.php3037
8. Illuminate\Routing\Router dispatchToRoute
…/­bootstrap/­compiled.php3025
7. Illuminate\Routing\Router dispatch
…/­bootstrap/­compiled.php702
6. Illuminate\Foundation\Application dispatch
…/­bootstrap/­compiled.php678
5. Illuminate\Foundation\Application handle
…/­bootstrap/­compiled.php5797
4. Illuminate\Session\Middleware handle
…/­bootstrap/­compiled.php6404
3. Illuminate\Cookie\Queue handle
…/­bootstrap/­compiled.php6351
2. Illuminate\Cookie\Guard handle
…/­bootstrap/­compiled.php8446
1. Stack\StackedHttpKernel handle
…/­bootstrap/­compiled.php639
0. Illuminate\Foundation\Application run
…/­index.php55

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)

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\Debug\Exception\FatalThrowableError thrown with message "Call to a member function present() on null" Stacktrace: #20 Symfony\Component\Debug\Exception\FatalThrowableError in /var/www/html/app/controllers/Base/PageBaseController.php:24 #19 App\Controllers\Base\PageBaseController:__construct in /var/www/html/app/controllers/PageProfileController.php:56 #18 App\Controllers\PageProfileController:__construct in <#unknown>:0 #17 ReflectionClass:newInstanceArgs in /var/www/html/bootstrap/compiled.php:247 #16 Illuminate\Container\Container:build in /var/www/html/bootstrap/compiled.php:205 #15 Illuminate\Container\Container:make in /var/www/html/bootstrap/compiled.php:565 #14 Illuminate\Foundation\Application:make in /var/www/html/bootstrap/compiled.php:3814 #13 Illuminate\Routing\ControllerDispatcher:makeController in /var/www/html/bootstrap/compiled.php:3803 #12 Illuminate\Routing\ControllerDispatcher:dispatch in /var/www/html/bootstrap/compiled.php:3012 #11 Illuminate\Routing\Router:Illuminate\Routing\{closure} in <#unknown>:0 #10 call_user_func_array in /var/www/html/bootstrap/compiled.php:3370 #9 Illuminate\Routing\Route:run in /var/www/html/bootstrap/compiled.php:3037 #8 Illuminate\Routing\Router:dispatchToRoute in /var/www/html/bootstrap/compiled.php:3025 #7 Illuminate\Routing\Router:dispatch in /var/www/html/bootstrap/compiled.php:702 #6 Illuminate\Foundation\Application:dispatch in /var/www/html/bootstrap/compiled.php:678 #5 Illuminate\Foundation\Application:handle in /var/www/html/bootstrap/compiled.php:5797 #4 Illuminate\Session\Middleware:handle in /var/www/html/bootstrap/compiled.php:6404 #3 Illuminate\Cookie\Queue:handle in /var/www/html/bootstrap/compiled.php:6351 #2 Illuminate\Cookie\Guard:handle in /var/www/html/bootstrap/compiled.php:8446 #1 Stack\StackedHttpKernel:handle in /var/www/html/bootstrap/compiled.php:639 #0 Illuminate\Foundation\Application:run in /var/www/html/index.php:55

Call to a member function present() on null

        $this->pageRepository = app('App\\Repositories\\PageRepository');
        $slug = \Request::segment(2);

        $this->page = $this->pageRepository->get($slug);

        $this->theme->share('page', $this->page);
		
		$this->theme->share('feviconImage', $this->page->present()->getFeviconAvatar());
    }

   		BusinessProductsCategoryValuesRepository $businessProductsCategoryValuesRepository,
		BusinessProductsCategoriesRepository $businessProductsCategoriesRepository,
		BusinessDesignSettingsRepository $businessDesignSettingsRepository,
		CommunitySpaceUsedRepository $communitySpaceUsedRepository,
		Filesystem $filesystem
   	 )
    {
        parent::__construct();
        $this->customFiedRepository = $customFieldRepository;
        $this->categoryRepository = $categoryRepository;
<#unknown>
        $constructor = $reflector->getConstructor();
        if (is_null($constructor)) {
            return new $concrete();
        }
        $dependencies = $constructor->getParameters();
        $parameters = $this->keyParametersByArgument($dependencies, $parameters);
        $instances = $this->getDependencies($dependencies, $parameters);
        return $reflector->newInstanceArgs($instances);
    }
    protected function getDependencies($parameters, array $primitives = array())
    {
        $abstract = $this->getAlias($abstract);
        if (isset($this->instances[$abstract])) {
            return $this->instances[$abstract];
        }
        $concrete = $this->getConcrete($abstract);
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete, $parameters);
        } else {
            $object = $this->make($concrete, $parameters);
    }
    public function make($abstract, $parameters = array())
    {
        $abstract = $this->getAlias($abstract);
        if (isset($this->deferredServices[$abstract])) {
            $this->loadDeferredProvider($abstract);
        }
        return parent::make($abstract, $parameters);
    }
    public function bound($abstract)
            $response = $this->call($instance, $route, $method);
        }
        return $response;
    }
    protected function makeController($controller)
    {
        Controller::setFilterer($this->filterer);
        return $this->container->make($controller);
    }
    protected function call($instance, $route, $method)
    public function __construct(RouteFiltererInterface $filterer, Container $container = null)
    {
        $this->filterer = $filterer;
        $this->container = $container;
    }
    public function dispatch(Route $route, Request $request, $controller, $method)
    {
        $instance = $this->makeController($controller);
        $this->assignAfter($instance, $route, $request, $method);
        $response = $this->before($instance, $route, $request, $method);
    protected function getClassClosure($controller)
    {
        $d = $this->getControllerDispatcher();
        return function () use($d, $controller) {
            $route = $this->current();
            $request = $this->getCurrentRequest();
            list($class, $method) = explode('@', $controller);
            return $d->dispatch($route, $request, $class, $method);
        };
    }
<#unknown>
        }
    }
    public function run()
    {
        $parameters = array_filter($this->parameters(), function ($p) {
            return isset($p);
        });
        return call_user_func_array($this->action['uses'], $parameters);
    }
    public function matches(Request $request, $includingMethod = true)
    }
    public function dispatchToRoute(Request $request)
    {
        $route = $this->findRoute($request);
        $this->events->fire('router.matched', array($route, $request));
        $response = $this->callRouteBefore($route, $request);
        if (is_null($response)) {
            $response = $route->run($request);
        }
        $response = $this->prepareResponse($request, $response);
        return isset($group['namespace']) ? $group['namespace'] . '\\' . $uses : $uses;
    }
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
        $response = $this->callFilter('before', $request);
        if (is_null($response)) {
            $response = $this->dispatchToRoute($request);
        }
        $response = $this->prepareResponse($request, $response);
            if (!is_null($response)) {
                return $this->prepareResponse($response, $request);
            }
        }
        if ($this->runningUnitTests() && !$this['session']->isStarted()) {
            $this['session']->start();
        }
        return $this['router']->dispatch($this->prepareRequest($request));
    }
    public function terminate(SymfonyRequest $request, SymfonyResponse $response)
        });
    }
    public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        try {
            $this->refreshRequest($request = Request::createFromBase($request));
            $this->boot();
            return $this->dispatch($request);
        } catch (\Exception $e) {
            if (!$catch || $this->runningUnitTests()) {
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $this->checkRequestForArraySessions($request);
        if ($this->sessionConfigured()) {
            $session = $this->startSession($request);
            $request->setSession($session);
        }
        $response = $this->app->handle($request, $type, $catch);
        if ($this->sessionConfigured()) {
            $this->closeSession($session);
    public function __construct(HttpKernelInterface $app, CookieJar $cookies)
    {
        $this->app = $app;
        $this->cookies = $cookies;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $response = $this->app->handle($request, $type, $catch);
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
    public function __construct(HttpKernelInterface $app, Encrypter $encrypter)
    {
        $this->app = $app;
        $this->encrypter = $encrypter;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
    }
    protected function decrypt(Request $request)
    public function __construct(HttpKernelInterface $app, array $middlewares)
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
    public function terminate(Request $request, Response $response)
        if ($this->isBooted()) {
            $this->fireAppCallbacks(array($callback));
        }
    }
    public function run(SymfonyRequest $request = null)
    {
        $request = $request ?: $this['request'];
        $response = with($stack = $this->getStackedClient())->handle($request);
        $response->send();
        $stack->terminate($request, $response);
|
| 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();
 
empty
empty
empty
empty
empty
Key Value
USER apache
HOME /usr/share/httpd
SCRIPT_NAME /index.php
REQUEST_URI /page/LamjingMeira
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /page/LamjingMeira
REMOTE_PORT 39494
SCRIPT_FILENAME /var/www/html/index.php
SERVER_ADMIN admin@wakhal.com
CONTEXT_DOCUMENT_ROOT /var/www/html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/html
REMOTE_ADDR 3.236.139.73
SERVER_PORT 443
SERVER_ADDR 172.31.21.221
SERVER_NAME www.wakhal.com
SERVER_SOFTWARE Apache/2.4.37 (CentOS Stream) OpenSSL/1.1.1k
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.wakhal.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI www.wakhal.com
HTTPS on
SCRIPT_URI https://www.wakhal.com/page/LamjingMeira
SCRIPT_URL /page/LamjingMeira
UNIQUE_ID ZgXbTmT2PYS0kuOZcqNHZQAAAJU
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI www.wakhal.com
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.wakhal.com/page/LamjingMeira
REDIRECT_SCRIPT_URL /page/LamjingMeira
REDIRECT_UNIQUE_ID ZgXbTmT2PYS0kuOZcqNHZQAAAJU
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711659854.6713
REQUEST_TIME 1711659854
empty
0. Whoops\Handler\PrettyPageHandler