A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'newsHead' of non-object

Filename: controllers/Welcome.php

Line Number: 113

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 113
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'newsPic' of non-object

Filename: controllers/Welcome.php

Line Number: 116

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 116
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'cateId' of non-object

Filename: controllers/Welcome.php

Line Number: 118

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 118
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'category' of non-object

Filename: controllers/Welcome.php

Line Number: 119

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 119
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Welcome.php

Line Number: 120

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 120
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'cateId' of non-object

Filename: controllers/Welcome.php

Line Number: 125

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 125
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'cateId' of non-object

Filename: controllers/Welcome.php

Line Number: 129

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 129
Function: _error_handler

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\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 D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\system\core\Exceptions.php:271)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\models\Welcome_Model.php
Line: 17
Function: query

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\application\controllers\Welcome.php
Line: 129
Function: getQuery

File: D:\Inetpub\vhosts\imprintspreschool.com\voiceofbastar.com\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 MariaDB server version for the right syntax to use near 'group by `t1`.`id` order by `t1`.`id` desc limit 10' at line 5

select `t1`.`id` AS `id`,`t1`.`newsHead` AS `newsHead`,`t1`.`cateId` AS `cateId`,`t1`.`newsPic` AS `newsPic`, `t1`.`place` AS `place`,`t1`.`datetime` AS `datetime`,`t1`.`deleted` AS `deleted`,`t2`.`id` AS `subId`,`t2`.`subHead` AS `subHead`, `t2`.`newsText` AS `newsText` from (`tblnewshead` `t1` left join `tblnewshead2` `t2` on((`t1`.`id` = `t2`.`newsId`))) where t1.id <> index.php and t1.cateId = group by `t1`.`id` order by `t1`.`id` desc limit 10

Filename: D:/Inetpub/vhosts/imprintspreschool.com/voiceofbastar.com/system/database/DB_driver.php

Line Number: 691