A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "cat" on null

Filename: controllers/Index.php

Line Number: 42

Backtrace:

File: /home/websiteexar/public_html/application/modules/index/controllers/Index.php
Line: 42
Function: _error_handler

File: /home/websiteexar/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "cat" on null

Filename: controllers/Index.php

Line Number: 43

Backtrace:

File: /home/websiteexar/public_html/application/modules/index/controllers/Index.php
Line: 43
Function: _error_handler

File: /home/websiteexar/public_html/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/websiteexar/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/websiteexar/public_html/application/modules/index/models/Mdl_index.php
Line: 84
Function: query

File: /home/websiteexar/public_html/application/modules/index/controllers/Index.php
Line: 167
Function: _custom_query

File: /home/websiteexar/public_html/application/modules/index/controllers/Index.php
Line: 43
Function: _custom_query

File: /home/websiteexar/public_html/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 '' at line 1

SELECT * FROM cat where id=

Filename: modules/index/models/Mdl_index.php

Line Number: 84