A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 27

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 28

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 29

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 36

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 39

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 39

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 'ORDER BY `category1_id` asc' at line 5

SELECT `name`, `id`, `url_key` FROM (`tbl_category2`) WHERE `category1_id` IS NULL AND `id` != ORDER BY `category1_id` asc