A PHP Error was encountered

Severity: Notice

Message: Undefined variable: subcat

Filename: controllers/User.php

Line Number: 952

Backtrace:

File: /home/makemzoo/public_html/cadhouzz.com/application/controllers/User.php
Line: 952
Function: _error_handler

File: /home/makemzoo/public_html/cadhouzz.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: cat

Filename: controllers/User.php

Line Number: 952

Backtrace:

File: /home/makemzoo/public_html/cadhouzz.com/application/controllers/User.php
Line: 952
Function: _error_handler

File: /home/makemzoo/public_html/cadhouzz.com/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/makemzoo/public_html/cadhouzz.com/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/makemzoo/public_html/cadhouzz.com/application/controllers/User.php
Line: 952
Function: query

File: /home/makemzoo/public_html/cadhouzz.com/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

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 'and status=1 and category_id= order by product_id DESC limit 8,8' at line 1

select * from products where status = 1 and subcategory_id= and status=1 and category_id= order by product_id DESC limit 8,8

Filename: controllers/User.php

Line Number: 952