Severity: Warning
Message: array_keys() expects parameter 1 to be array, null given
Filename: models/Ec_model.php
Line Number: 245
Backtrace:
File: /srv/app/application/models/Ec_model.php
Line: 245
Function: array_keys
File: /srv/app/application/controllers/Ec.php
Line: 87
Function: show_sw_selector
File: /srv/app/index.php
Line: 315
Function: require_once
Severity: Warning
Message: implode(): Invalid arguments passed
Filename: models/Ec_model.php
Line Number: 245
Backtrace:
File: /srv/app/application/models/Ec_model.php
Line: 245
Function: implode
File: /srv/app/application/controllers/Ec.php
Line: 87
Function: show_sw_selector
File: /srv/app/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /srv/app/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /srv/app/application/models/Ec_model.php
Line: 245
Function: query
File: /srv/app/application/controllers/Ec.php
Line: 87
Function: show_sw_selector
File: /srv/app/index.php
Line: 315
Function: require_once
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 ') ORDER BY category_id ASC' at line 1
SELECT distinct category_id FROM ec_category_products WHERE product_id IN () ORDER BY category_id ASC
Filename: models/Ec_model.php
Line Number: 245