A PHP Error was encountered

Severity: Notice

Message: Undefined variable: blogs

Filename: views/blog_detail.php

Line Number: 40

Backtrace:

File: /var/www/html/elcare.co/public_html/application/views/blog_detail.php
Line: 40
Function: _error_handler

File: /var/www/html/elcare.co/public_html/application/core/MY_Controller.php
Line: 64
Function: view

File: /var/www/html/elcare.co/public_html/application/controllers/Blogs.php
Line: 77
Function: render_page

File: /var/www/html/elcare.co/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'description' of non-object

Filename: views/blog_detail.php

Line Number: 40

Backtrace:

File: /var/www/html/elcare.co/public_html/application/views/blog_detail.php
Line: 40
Function: _error_handler

File: /var/www/html/elcare.co/public_html/application/core/MY_Controller.php
Line: 64
Function: view

File: /var/www/html/elcare.co/public_html/application/controllers/Blogs.php
Line: 77
Function: render_page

File: /var/www/html/elcare.co/public_html/index.php
Line: 315
Function: require_once