A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Product.php

Line Number: 51

Backtrace:

File: /home/qubitec/cavi/application/modules/products/controllers/Product.php
Line: 51
Function: _error_handler

File: /home/qubitec/cavi/index.php
Line: 305
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Product.php

Line Number: 51

Backtrace:

File: /home/qubitec/cavi/application/modules/products/controllers/Product.php
Line: 51
Function: _error_handler

File: /home/qubitec/cavi/index.php
Line: 305
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 59

Backtrace:

File: /home/qubitec/cavi/application/modules/products/controllers/Product.php
Line: 59
Function: _error_handler

File: /home/qubitec/cavi/index.php
Line: 305
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: controllers/Product.php

Line Number: 62

Backtrace:

File: /home/qubitec/cavi/application/modules/products/controllers/Product.php
Line: 62
Function: _error_handler

File: /home/qubitec/cavi/index.php
Line: 305
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/qubitec/cavi/system/core/Exceptions.php:274)

Filename: core/Common.php

Line Number: 589

Backtrace:

File: /home/qubitec/cavi/application/core/IF_Model.php
Line: 321
Function: query

File: /home/qubitec/cavi/application/modules/products/models/Product_admin_model.php
Line: 102
Function: getWhere

File: /home/qubitec/cavi/application/modules/products/controllers/Product.php
Line: 62
Function: getWhere

File: /home/qubitec/cavi/index.php
Line: 305
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 MariaDB server version for the right syntax to use near 'AND ps.id<> AND ps.type='p' AND cat_lng.lang='english' AND lng.lang='english' ' at line 14

SELECT ps.*, cat_lng.name AS category, lng.* FROM in_products_services ps LEFT JOIN in_cnf_categories cat ON (ps.category_id = cat.id) LEFT JOIN in_products_services_lang lng ON (ps.id = lng.id) LEFT JOIN in_cnf_categories_lang cat_lng ON (cat.id = cat_lng.id) WHERE ps.category_id= AND ps.id<> AND ps.type='p' AND cat_lng.lang='english' AND lng.lang='english' ORDER BY ps.id ASC LIMIT 0,9999

Filename: core/IF_Model.php

Line Number: 321