A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Query.php

Line Number: 135

Backtrace:

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

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Query.php

Line Number: 135

Backtrace:

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

File: /home/compliance123/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: 136

Backtrace:

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 136
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Query.php

Line Number: 136

Backtrace:

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 136
Function: _error_handler

File: /home/compliance123/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: 137

Backtrace:

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 137
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Query.php

Line Number: 137

Backtrace:

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 137
Function: _error_handler

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

Filename: core/Common.php

Line Number: 570

Backtrace:

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

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 358
Function: tree_all

File: /home/compliance123/public_html/ask/application/controllers/Query.php
Line: 141
Function: show_tree

File: /home/compliance123/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 MariaDB 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