20. Illuminate\View\Engines\CompilerEngine handleViewException
…/­bootstrap/­compiled.php7957
19. ErrorException
…/­app/­storage/­views/­171cd4f654296b270be2a95fdd930d1b4
18. Illuminate\Exception\Handler handleError
…/­app/­storage/­views/­171cd4f654296b270be2a95fdd930d1b4
17. include
…/­bootstrap/­compiled.php7955
16. Illuminate\View\Engines\PhpEngine evaluatePath
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Engines/­CompilerEngine.php57
15. Illuminate\View\Engines\CompilerEngine get
…/­bootstrap/­compiled.php7833
14. Illuminate\View\View getContents
…/­bootstrap/­compiled.php7820
13. Illuminate\View\View renderContents
…/­bootstrap/­compiled.php7807
12. Illuminate\View\View render
…/­bootstrap/­compiled.php8003
11. Illuminate\Http\Response setContent
…/­vendor/­symfony/­http-foundation/­Response.php202
10. Symfony\Component\HttpFoundation\Response __construct
…/­bootstrap/­compiled.php3230
9. Illuminate\Routing\Router prepareResponse
…/­bootstrap/­compiled.php3039
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.php8367
1. Stack\StackedHttpKernel handle
…/­bootstrap/­compiled.php639
0. Illuminate\Foundation\Application run
…/­public/­index.php29

ErrorException (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
ErrorException thrown with message "Trying to get property of non-object (View: /var/www/salao/app/views/site/noticia.blade.php)" Stacktrace: #20 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/salao/bootstrap/compiled.php:7957 #19 ErrorException in /var/www/salao/app/storage/views/171cd4f654296b270be2a95fdd930d1b:4 #18 Illuminate\Exception\Handler:handleError in /var/www/salao/app/storage/views/171cd4f654296b270be2a95fdd930d1b:4 #17 include in /var/www/salao/bootstrap/compiled.php:7955 #16 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/salao/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:57 #15 Illuminate\View\Engines\CompilerEngine:get in /var/www/salao/bootstrap/compiled.php:7833 #14 Illuminate\View\View:getContents in /var/www/salao/bootstrap/compiled.php:7820 #13 Illuminate\View\View:renderContents in /var/www/salao/bootstrap/compiled.php:7807 #12 Illuminate\View\View:render in /var/www/salao/bootstrap/compiled.php:8003 #11 Illuminate\Http\Response:setContent in /var/www/salao/vendor/symfony/http-foundation/Response.php:202 #10 Symfony\Component\HttpFoundation\Response:__construct in /var/www/salao/bootstrap/compiled.php:3230 #9 Illuminate\Routing\Router:prepareResponse in /var/www/salao/bootstrap/compiled.php:3039 #8 Illuminate\Routing\Router:dispatchToRoute in /var/www/salao/bootstrap/compiled.php:3025 #7 Illuminate\Routing\Router:dispatch in /var/www/salao/bootstrap/compiled.php:702 #6 Illuminate\Foundation\Application:dispatch in /var/www/salao/bootstrap/compiled.php:678 #5 Illuminate\Foundation\Application:handle in /var/www/salao/bootstrap/compiled.php:5797 #4 Illuminate\Session\Middleware:handle in /var/www/salao/bootstrap/compiled.php:6404 #3 Illuminate\Cookie\Queue:handle in /var/www/salao/bootstrap/compiled.php:6351 #2 Illuminate\Cookie\Guard:handle in /var/www/salao/bootstrap/compiled.php:8367 #1 Stack\StackedHttpKernel:handle in /var/www/salao/bootstrap/compiled.php:639 #0 Illuminate\Foundation\Application:run in /var/www/salao/public/index.php:29

Trying to get property of non-object (View: /var/www/salao/app/views/site/noticia.blade.php)

    {
        $obLevel = ob_get_level();
        ob_start();
        extract($__data);
        try {
            include $__path;
        } catch (\Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (\Throwable $e) {
            $this->handleViewException($e, $obLevel);
<?php $__env->startSection('meta'); ?>
	<meta property="og:locale" content="pt_BR" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="<?php echo $noticia->titulo; ?>" />
    <meta property="og:description" content="<?php echo $noticia->conteudo_limit_site; ?>" />
    <meta property="og:url" content="<?php echo $_SERVER['PHP_SELF']; ?>" />
    <meta property="og:site_name" content="Salão do Livro 2021" />
    <meta property="og:image" content="<?php echo $noticia->link_img; ?>" />
<?php $__env->appendSection(); ?>
 
Exception message: Trying to get property of non-object
<?php $__env->startSection('meta'); ?>
	<meta property="og:locale" content="pt_BR" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="<?php echo $noticia->titulo; ?>" />
    <meta property="og:description" content="<?php echo $noticia->conteudo_limit_site; ?>" />
    <meta property="og:url" content="<?php echo $_SERVER['PHP_SELF']; ?>" />
    <meta property="og:site_name" content="Salão do Livro 2021" />
    <meta property="og:image" content="<?php echo $noticia->link_img; ?>" />
<?php $__env->appendSection(); ?>
 
    }
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
        ob_start();
        extract($__data);
        try {
            include $__path;
        } catch (\Exception $e) {
            $this->handleViewException($e, $obLevel);
		}
 
		$compiled = $this->compiler->getCompiledPath($path);
 
		// Once we have the path to the compiled file, we will evaluate the paths with
		// typical PHP just like any other templates. We also keep a stack of views
		// which have been rendered for right exception messages to be generated.
		$results = $this->evaluatePath($compiled, $data);
 
		array_pop($this->lastCompiled);
        $env = $this->factory;
        return $this->render(function ($view) use($env) {
            return $env->getSections();
        });
    }
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
    protected function gatherData()
            throw $e;
        }
    }
    protected function renderContents()
    {
        $this->factory->incrementRender();
        $this->factory->callComposer($this);
        $contents = $this->getContents();
        $this->factory->decrementRender();
        return $contents;
        $this->engine = $engine;
        $this->factory = $factory;
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
    public function render(Closure $callback = null)
    {
        try {
            $contents = $this->renderContents();
            $response = isset($callback) ? $callback($this, $contents) : null;
            $this->factory->flushSectionsIfDoneRendering();
    public function setContent($content)
    {
        $this->original = $content;
        if ($this->shouldBeJson($content)) {
            $this->headers->set('Content-Type', 'application/json');
            $content = $this->morphToJson($content);
        } elseif ($content instanceof RenderableInterface) {
            $content = $content->render();
        }
        return parent::setContent($content);
     * @param array $headers An array of response headers
     *
     * @throws \InvalidArgumentException When the HTTP status code is not valid
     */
    public function __construct($content = '', $status = 200, $headers = array())
    {
        $this->headers = new ResponseHeaderBag($headers);
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
        return array_filter($parameters, function ($p) {
            return !is_null($p) && $p !== '';
        });
    }
    protected function prepareResponse($request, $response)
    {
        if (!$response instanceof SymfonyResponse) {
            $response = new Response($response);
        }
        return $response->prepare($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);
        $this->callRouteAfter($route, $request, $response);
        return $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);
 
 
/*
 * |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | 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
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI salaodolivro.com.br
REDIRECT_STATUS 200
HTTPS on
SSL_TLS_SNI salaodolivro.com.br
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_REFERER http://salaodolivro.com.br/noticia/9/Sal%C3%A3o+do+Livro+Infantil+e+Juvenil+de+Minas+Gerais+acontece+em+momento+de+alta+do+mercado+editorial
HTTP_HOST salaodolivro.com.br
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE <address>Apache/2.4.18 (Ubuntu) Server at salaodolivro.com.br Port 443</address>
SERVER_SOFTWARE Apache/2.4.18 (Ubuntu)
SERVER_NAME salaodolivro.com.br
SERVER_ADDR 10.142.0.5
SERVER_PORT 443
REMOTE_ADDR 18.209.229.59
DOCUMENT_ROOT /var/www/salao/public
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/salao/public
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /var/www/salao/public/index.php
REMOTE_PORT 44000
REDIRECT_URL /noticia/9/Salão+do+Livro+Infantil+e+Juvenil+de+Minas+Gerais+acontece+em+momento+de+alta+do+mercado+editorial
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /noticia/9/Sal%C3%A3o+do+Livro+Infantil+e+Juvenil+de+Minas+Gerais+acontece+em+momento+de+alta+do+mercado+editorial
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711705736.38
REQUEST_TIME 1711705736
empty
0. Whoops\Handler\PrettyPageHandler