A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: models/Mod_products.php

Line Number: 92

Backtrace:

File: /home/kemindoi/kemindo.id/website/private/application/models/Mod_products.php
Line: 92
Function: _error_handler

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 37
Function: getListByKey

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 16
Function: index

File: /home/kemindoi/kemindo.id/website/public/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: models/Mod_products.php

Line Number: 98

Backtrace:

File: /home/kemindoi/kemindo.id/website/private/application/models/Mod_products.php
Line: 98
Function: _error_handler

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 37
Function: getListByKey

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 16
Function: index

File: /home/kemindoi/kemindo.id/website/public/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/kemindoi/kemindo.id/website/private/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/kemindoi/kemindo.id/website/private/application/models/Mod_products.php
Line: 110
Function: query

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 37
Function: getListByKey

File: /home/kemindoi/kemindo.id/website/private/application/controllers/Products.php
Line: 16
Function: index

File: /home/kemindoi/kemindo.id/website/public/index.php
Line: 315
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 'and parentSource = 'product'' at line 2

select * from tb_gallery where parentId = and parentSource = 'product'

Filename: models/Mod_products.php

Line Number: 110