A PHP Error was encountered

Severity: Notice

Message: Undefined index: user_id

Filename: models/Article_type.php

Line Number: 462

Backtrace:

File: /home/webadmin/public_html/toyota/app/models/Article_type.php
Line: 462
Function: _error_handler

File: /home/webadmin/public_html/toyota/app/controllers/CategoryController.php
Line: 141
Function: getCategoryRecords

File: /home/webadmin/public_html/toyota/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/webadmin/public_html/toyota/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/webadmin/public_html/toyota/app/models/User.php
Line: 211
Function: query

File: /home/webadmin/public_html/toyota/app/models/Article_type.php
Line: 465
Function: getRecord

File: /home/webadmin/public_html/toyota/app/controllers/CategoryController.php
Line: 141
Function: getCategoryRecords

File: /home/webadmin/public_html/toyota/index.php
Line: 293
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 * FROM user WHERE deleted = 0 AND id =

Filename: models/User.php

Line Number: 211