A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'name'

Filename: controllers/Blog.php

Line Number: 45

Backtrace:

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 45
Function: _error_handler

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'value'

Filename: controllers/Blog.php

Line Number: 46

Backtrace:

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 46
Function: _error_handler

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'value'

Filename: models/Blog_model.php

Line Number: 17

Backtrace:

File: /home1/maddmims/public_html/application/models/Blog_model.php
Line: 17
Function: _error_handler

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 49
Function: total_blog

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'name'

Filename: models/Blog_model.php

Line Number: 18

Backtrace:

File: /home1/maddmims/public_html/application/models/Blog_model.php
Line: 18
Function: _error_handler

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 49
Function: total_blog

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'name'

Filename: models/Blog_model.php

Line Number: 21

Backtrace:

File: /home1/maddmims/public_html/application/models/Blog_model.php
Line: 21
Function: _error_handler

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 49
Function: total_blog

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'name'

Filename: models/Blog_model.php

Line Number: 23

Backtrace:

File: /home1/maddmims/public_html/application/models/Blog_model.php
Line: 23
Function: _error_handler

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 49
Function: total_blog

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home1/maddmims/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home1/maddmims/public_html/application/models/Blog_model.php
Line: 30
Function: query

File: /home1/maddmims/public_html/application/controllers/Blog.php
Line: 49
Function: total_blog

File: /home1/maddmims/public_html/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

SELECT COUNT(*) as 'total' FROM tbl_blog blg where

Filename: models/Blog_model.php

Line Number: 30