A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: models/Product_model.php

Line Number: 567

Backtrace:

File: /var/www/0/211955/ergospacese/application/models/Product_model.php
Line: 567
Function: _error_handler

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 58
Function: fetch_category

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 62

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 62
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 65

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 65
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 67

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 67
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$title

Filename: controllers/Product.php

Line Number: 88

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 88
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$meta_description

Filename: controllers/Product.php

Line Number: 88

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 88
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$meta_keywords

Filename: controllers/Product.php

Line Number: 88

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 88
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 104

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 104
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category_id

Filename: controllers/Product.php

Line Number: 112

Backtrace:

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 112
Function: _error_handler

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/0/211955/ergospacese/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/0/211955/ergospacese/application/models/Product_model.php
Line: 637
Function: get

File: /var/www/0/211955/ergospacese/application/controllers/Product.php
Line: 112
Function: num_products_by_category_id

File: /var/www/0/211955/ergospacese/index.php
Line: 294
Function: require_once

Database Error

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 'WHERE `p`.`product_visible` = 1 AND `p`.`active` = 1' at line 4

SELECT `p`.`id` FROM `webshop_product` `p` JOIN `webshop_product_category` `c` ON `p`.`id`=`c`.`product_id` AND `c`.`category_id`= WHERE `p`.`product_visible` = 1 AND `p`.`active` = 1

Filename: models/Product_model.php

Line Number: 637