A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: models/Product_model.php

Line Number: 554

Backtrace:

File: /var/www/0/211955/ergospaceno/application/models/Product_model.php
Line: 554
Function: _error_handler

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 24
Function: fetch_category

File: /var/www/0/211955/ergospaceno/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: 28

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 28
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 31

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 31
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 33

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 33
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 54

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 54
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 54

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 54
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 54

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 54
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 70

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 70
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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: 78

Backtrace:

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 78
Function: _error_handler

File: /var/www/0/211955/ergospaceno/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/ergospaceno/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/0/211955/ergospaceno/application/models/Product_model.php
Line: 648
Function: get

File: /var/www/0/211955/ergospaceno/application/controllers/Product.php
Line: 78
Function: num_products_by_category_id

File: /var/www/0/211955/ergospaceno/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: 648