A PHP Error was encountered

Severity: Warning

Message: Undefined variable $blogs

Filename: views/blogs.php

Line Number: 71

Backtrace:

File: /home/saruhospital/public_html/application/views/blogs.php
Line: 71
Function: _error_handler

File: /home/saruhospital/public_html/application/controllers/Home.php
Line: 138
Function: view

File: /home/saruhospital/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: foreach() argument must be of type array|object, null given

Filename: views/blogs.php

Line Number: 71

Backtrace:

File: /home/saruhospital/public_html/application/views/blogs.php
Line: 71
Function: _error_handler

File: /home/saruhospital/public_html/application/controllers/Home.php
Line: 138
Function: view

File: /home/saruhospital/public_html/index.php
Line: 315
Function: require_once