A PHP Error was encountered

Severity: Notice

Message: Undefined variable: blog

Filename: website/blog-single.php

Line Number: 11

Backtrace:

File: /home/jagluck/public_html/application/views/website/blog-single.php
Line: 11
Function: _error_handler

File: /home/jagluck/public_html/application/controllers/Website.php
Line: 225
Function: view

File: /home/jagluck/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: website/blog-single.php

Line Number: 11

Backtrace:

File: /home/jagluck/public_html/application/views/website/blog-single.php
Line: 11
Function: _error_handler

File: /home/jagluck/public_html/application/controllers/Website.php
Line: 225
Function: view

File: /home/jagluck/public_html/index.php
Line: 317
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 MariaDB server version for the right syntax to use near '' at line 1

SELECT cat_title FROM blog_category WHERE cat_id=

Filename: views/website/blog-single.php

Line Number: 15