A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/Basic_Controller.php

Line Number: 172

Backtrace:

File: /hansenkorea/www/frontend/core/Basic_Controller.php
Line: 172
Function: _error_handler

File: /hansenkorea/www/frontend/controllers/Detail.php
Line: 35
Function: fetchDetailData

File: /hansenkorea/www/index.php
Line: 316
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 3

SELECT * FROM category LEFT JOIN category_template ON category.category_template_index = category_template.category_template_index WHERE category.category_index =

Filename: models/Category_model.php

Line Number: 59