Notice: Trying to get property of non-object in /home/seryak/web/blog.wtolk.ru/public_html/public/middleware/CheckPublish.php on line 20

Fatal error: Call to a member function toArray() on null in /home/seryak/web/blog.wtolk.ru/public_html/public/controllers/PostController.php on line 84