Notice: Trying to get property 'title' of non-object in /var/www/lfc.pl/www/app/controllers/IndexController.php on line 98

Notice: Trying to get property 'title' of non-object in /var/www/lfc.pl/www/app/controllers/IndexController.php on line 104

Notice: Trying to get property 'descr' of non-object in /var/www/lfc.pl/www/app/controllers/IndexController.php on line 105

Fatal error: Uncaught TypeError: Argument 1 passed to TrimNewsBody::apply() must be of the type string, null given, called in /var/www/lfc.pl/www/app/controllers/IndexController.php on line 105 and defined in /var/www/lfc.pl/www/app/functions/TrimNewsBody.php:5 Stack trace: #0 /var/www/lfc.pl/www/app/controllers/IndexController.php(105): TrimNewsBody::apply() #1 [internal function]: IndexController->postAction() #2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod() #3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #4 /var/www/lfc.pl/www/public/index.php(60): Phalcon\Mvc\Application->handle() #5 {main} thrown in /var/www/lfc.pl/www/app/functions/TrimNewsBody.php on line 5