A PHP Error was encountered

Severity: Notice

Message: Undefined variable: checkNews

Filename: controllers/Author.php

Line Number: 8

Backtrace:

File: /home/propertytv/public_html/application/controllers/Author.php
Line: 8
Function: _error_handler

File: /home/propertytv/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/Author.php

Line Number: 8

Backtrace:

File: /home/propertytv/public_html/application/controllers/Author.php
Line: 8
Function: _error_handler

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: author_data

Filename: controllers/Author.php

Line Number: 9

Backtrace:

File: /home/propertytv/public_html/application/controllers/Author.php
Line: 9
Function: _error_handler

File: /home/propertytv/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/Author.php

Line Number: 9

Backtrace:

File: /home/propertytv/public_html/application/controllers/Author.php
Line: 9
Function: _error_handler

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/propertytv/public_html/application/models/Comman_model.php
Line: 184
Function: query

File: /home/propertytv/public_html/application/controllers/Author.php
Line: 10
Function: get_query

File: /home/propertytv/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 section in ('Blazers','Featured Video','Editorial') and enabled =1 and s_dat' at line 1

select * from news where author_id= and section in ('Blazers','Featured Video','Editorial') and enabled =1 and s_date <= '2020-04-02' AND e_date>= '2020-04-02' order by id desc limit 15

Filename: models/Comman_model.php

Line Number: 184