A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_model.php

Line Number: 208

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/models/Product_model.php
Line: 208
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 198
Function: getLink

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Product_model.php

Line Number: 208

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/models/Product_model.php
Line: 208
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 198
Function: getLink

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: frontend/Categories.php

Line Number: 199

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 199
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$name

Filename: frontend/Categories.php

Line Number: 230

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 230
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 200
Function: loadSeo

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$image

Filename: frontend/Categories.php

Line Number: 232

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 232
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 200
Function: loadSeo

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$description

Filename: frontend/Categories.php

Line Number: 236

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 236
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 200
Function: loadSeo

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$id

Filename: frontend/Categories.php

Line Number: 205

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 205
Function: _error_handler

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/casperelec/domains/casper-electric.com/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/casperelec/domains/casper-electric.com/public_html/application/core/MY_Model.php
Line: 31
Function: query

File: /home/casperelec/domains/casper-electric.com/public_html/application/models/Product_photo_model.php
Line: 21
Function: query_cache

File: /home/casperelec/domains/casper-electric.com/public_html/application/controllers/frontend/Categories.php
Line: 205
Function: SelectByProductId

File: /home/casperelec/domains/casper-electric.com/public_html/index.php
Line: 321
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 '' at line 1

SELECT * FROM product_photo WHERE product_id =

Filename: core/MY_Model.php

Line Number: 31