A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Website.php

Line Number: 19

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 19
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Website.php

Line Number: 20

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 20
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Website.php

Line Number: 28

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 28
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Website.php

Line Number: 29

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 29
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Website.php

Line Number: 31

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 31
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Website.php

Line Number: 32

Backtrace:

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 32
Function: _error_handler

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/jobincs/public_html/application/models/Website_model.php
Line: 44
Function: query

File: /home/jobincs/public_html/application/controllers/Website.php
Line: 34
Function: get_catwebsite

File: /home/jobincs/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 'AND a.id=b.website_id and a.winner_status='yes' and a.website_status='publ' at line 2

SELECT a.*,DATE_FORMAT(feachered_date,'%d %b %Y') AS edt FROM websites_reel a,website_category b WHERE b.category_id= AND a.id=b.website_id and a.winner_status='yes' and a.website_status='publish' order by a.feachered_date desc LIMIT 6

Filename: models/Website_model.php

Line Number: 44