A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Query.php

Line Number: 133

Backtrace:

File: /home/zzn50t4mwhmh/public_html/ask/application/controllers/Query.php
Line: 133
Function: _error_handler

File: /home/zzn50t4mwhmh/public_html/ask/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Query.php

Line Number: 134

Backtrace:

File: /home/zzn50t4mwhmh/public_html/ask/application/controllers/Query.php
Line: 134
Function: _error_handler

File: /home/zzn50t4mwhmh/public_html/ask/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Query.php

Line Number: 135

Backtrace:

File: /home/zzn50t4mwhmh/public_html/ask/application/controllers/Query.php
Line: 135
Function: _error_handler

File: /home/zzn50t4mwhmh/public_html/ask/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/zzn50t4mwhmh/public_html/ask/application/models/Comment_model.php
Line: 10
Function: query

File: /home/zzn50t4mwhmh/public_html/ask/application/controllers/Query.php
Line: 346
Function: tree_all

File: /home/zzn50t4mwhmh/public_html/ask/application/controllers/Query.php
Line: 139
Function: show_tree

File: /home/zzn50t4mwhmh/public_html/ask/index.php
Line: 317
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 deleted = '0' order by comment_id desc' at line 1

SELECT * FROM comment LEFT JOIN web_users ON web_users.id=comment.user_id where ne_id = AND deleted = '0' order by comment_id desc

Filename: models/Comment_model.php

Line Number: 10