A PHP Error was encountered

Severity: Warning

Message: Undefined array key 1

Filename: controllers/Index.php

Line Number: 42

Backtrace:

File: /home4/dhoomnvr/public_html/application/controllers/Index.php
Line: 42
Function: _error_handler

File: /home4/dhoomnvr/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: controllers/Index.php

Line Number: 43

Backtrace:

File: /home4/dhoomnvr/public_html/application/controllers/Index.php
Line: 43
Function: _error_handler

File: /home4/dhoomnvr/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "id" on null

Filename: controllers/Index.php

Line Number: 43

Backtrace:

File: /home4/dhoomnvr/public_html/application/controllers/Index.php
Line: 43
Function: _error_handler

File: /home4/dhoomnvr/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "type" on null

Filename: front/artworks_detail.php

Line Number: 64

Backtrace:

File: /home4/dhoomnvr/public_html/application/views/front/artworks_detail.php
Line: 64
Function: _error_handler

File: /home4/dhoomnvr/public_html/application/controllers/Index.php
Line: 45
Function: view

File: /home4/dhoomnvr/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 'ORDER BY `id` ASC' at line 5

SELECT * FROM `tbl_artwork` WHERE `type` IS NULL AND `id` > ORDER BY `id` ASC

Filename: models/Index_model.php

Line Number: 195