Error We're sorry, but an unhandled error occurred. Please see the details below. Trying to get property of non-object /home2/yrealviw/public_html/plugins/indikator/news/components/Post.php line 47 Type PHP Content Exception ErrorException $post = $post->isClassExtendedWith('RainLab.Translate.Behaviors.TranslatableModel') ? $post->transWhere('slug', $slug) : $post->where('slug', $slug); $post = $post->isPublished()->first(); $meta_description = strip_tags($post->introductory); if (strlen($meta_description) > 252) { $meta_description = substr($meta_description, 0, 252).'...'; } $this->page->title = $post->title; $this->page->meta_title = $post->title; Stack trace # Called Code Document Line 48 Indikator\News\Components\Post->loadPost() ~/plugins/indikator/news/components/Post.php 32 47 Indikator\News\Components\Post->onRun() ~/modules/cms/classes/CmsCompoundObject.php 170 46 Cms\Classes\CmsCompoundObject->runComponents() ~/modules/cms/classes/Controller.php 439 45 Cms\Classes\Controller->execPageCycle() ~/modules/cms/classes/Controller.php 357 44 Cms\Classes\Controller->runPage(…) ~/modules/cms/classes/Controller.php 215 43 Cms\Classes\Controller->run(…) ~/modules/cms/classes/CmsController.php 48 42 Cms\Classes\CmsController->run(…) 41 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 256 40 Illuminate\Routing\Controller->callAction(…) ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 164 39 Illuminate\Routing\ControllerDispatcher->call(…) ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 112 38 Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(…) 37 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139 36 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) 35 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 103 34 Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 114 33 Illuminate\Routing\ControllerDispatcher->callWithinStack(…) ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 69 32 Illuminate\Routing\ControllerDispatcher->dispatch(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 203 31 Illuminate\Routing\Route->runWithCustomDispatcher(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 134 30 Illuminate\Routing\Route->run(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 708 29 Illuminate\Routing\Router->Illuminate\Routing\{closure}(…) 28 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139 27 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) 26 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 103 25 Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 710 24 Illuminate\Routing\Router->runRouteWithinStack(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 675 23 Illuminate\Routing\Router->dispatchToRoute(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 635 22 Illuminate\Routing\Router->dispatch(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 236 21 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(…) 20 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 139 19 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49 18 Illuminate\View\Middleware\ShareErrorsFromSession->handle(…) 17 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124 16 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 62 15 Illuminate\Session\Middleware\StartSession->handle(…) 14 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124 13 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37 12 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(…) 11 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124 10 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 59 9 Illuminate\Cookie\Middleware\EncryptCookies->handle(…) 8 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124 7 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 44 6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(…) 5 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124 4 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) 3 call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 103 2 Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 122 1 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 87 0 Illuminate\Foundation\Http\Kernel->handle(…) ~/index.php 44