Severity: Notice
Message: Undefined index: type
Filename: controllers/Categories.php
Line Number: 43
Backtrace:
File: /home/holycrosspandith/public_html/application/controllers/Categories.php
Line: 43
Function: _error_handler
File: /home/holycrosspandith/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Undefined index: name_lang0
Filename: controllers/Categories.php
Line Number: 50
Backtrace:
File: /home/holycrosspandith/public_html/application/controllers/Categories.php
Line: 50
Function: _error_handler
File: /home/holycrosspandith/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Undefined index: descr_lang0
Filename: controllers/Categories.php
Line Number: 51
Backtrace:
File: /home/holycrosspandith/public_html/application/controllers/Categories.php
Line: 51
Function: _error_handler
File: /home/holycrosspandith/public_html/index.php
Line: 315
Function: require_once
Content Categories Products
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/holycrosspandith/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/holycrosspandith/public_html/application/models/Product.php
Line: 62
Function: query
File: /home/holycrosspandith/public_html/application/models/Website.php
Line: 17
Function: get_products
File: /home/holycrosspandith/public_html/application/views/components/listing/1.php
Line: 41
Function: get_items
File: /home/holycrosspandith/public_html/application/helpers/loader_helper.php
Line: 108
Function: view
File: /home/holycrosspandith/public_html/application/controllers/Categories.php
Line: 53
Function: load_display_stack
File: /home/holycrosspandith/public_html/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 'AND a.status > 0 GROUP BY a.id ORDER BY a.priority ASC' at line 3
SELECT a.*, COALESCE(c.image,'default.jpg') AS image FROM `prod_items` a LEFT JOIN prod_categories b ON a.category=b.id LEFT JOIN prod_images c ON a.id = c.product WHERE a.type= AND a.status > 0 GROUP BY a.id ORDER BY a.priority ASC
Filename: models/Product.php
Line Number: 62