A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/Items_model.php

Line Number: 786

Backtrace:

File: /var/www/public_html/chabsons.com/web/application/models/Items_model.php
Line: 786
Function: _error_handler

File: /var/www/public_html/chabsons.com/web/application/controllers/Items.php
Line: 205
Function: read_item

File: /var/www/public_html/chabsons.com/web/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Items_model.php

Line Number: 786

Backtrace:

File: /var/www/public_html/chabsons.com/web/application/models/Items_model.php
Line: 786
Function: _error_handler

File: /var/www/public_html/chabsons.com/web/application/controllers/Items.php
Line: 205
Function: read_item

File: /var/www/public_html/chabsons.com/web/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 1

SELECT * FROM item_picture WHERE item_id =

Filename: models/Items_model.php

Line Number: 786