Severity: Warning
Message: Missing argument 4 for Products::display()
Filename: controllers/Products.php
Line Number: 19
Backtrace:
File: /home/sparkp9/public_html/clubplug.net/application/controllers/Products.php
Line: 19
Function: _error_handler
File: /home/sparkp9/public_html/clubplug.net/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Undefined variable: method
Filename: controllers/Products.php
Line Number: 28
Backtrace:
File: /home/sparkp9/public_html/clubplug.net/application/controllers/Products.php
Line: 28
Function: _error_handler
File: /home/sparkp9/public_html/clubplug.net/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Undefined variable: method
Filename: controllers/Products.php
Line Number: 55
Backtrace:
File: /home/sparkp9/public_html/clubplug.net/application/controllers/Products.php
Line: 55
Function: _error_handler
File: /home/sparkp9/public_html/clubplug.net/index.php
Line: 292
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/sparkp9/public_html/clubplug.net/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/sparkp9/public_html/clubplug.net/application/models/Product_model.php
Line: 107
Function: get
File: /home/sparkp9/public_html/clubplug.net/application/controllers/Products.php
Line: 55
Function: get_products
File: /home/sparkp9/public_html/clubplug.net/index.php
Line: 292
Function: require_once
Error Number: 1054
Unknown column '240' in 'order clause'
SELECT `tbl_products`.`fk_id_brand`, `stock_number`, `part_number`, `description`, `notes`, `jobber`, `qty`, `class`, `weight`, `markup` FROM `tbl_products` LEFT JOIN `tbl_markup` ON `tbl_products`.`class` = `tbl_markup`.`fk_class` and `tbl_products`.`fk_id_brand` = `tbl_markup`.`fk_id_brand` WHERE tbl_products.fk_id_brand = '1' AND `fk_id_sub_category` = '1' ORDER BY 240 LIMIT 20
Filename: models/Product_model.php
Line Number: 107