Severity: Warning
Message: Undefined array key 0
Filename: controllers/Single_Ad.php
Line Number: 53
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 53
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Attempt to read property "Ad_Title" on null
Filename: controllers/Single_Ad.php
Line Number: 53
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 53
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Undefined array key 0
Filename: controllers/Single_Ad.php
Line Number: 54
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 54
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Attempt to read property "Ad_Cat_ID" on null
Filename: controllers/Single_Ad.php
Line Number: 54
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 54
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Undefined array key 0
Filename: controllers/Single_Ad.php
Line Number: 55
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 55
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Attempt to read property "Ad_sub_Cat_ID" on null
Filename: controllers/Single_Ad.php
Line Number: 55
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 55
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Undefined array key 0
Filename: controllers/Single_Ad.php
Line Number: 56
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 56
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Attempt to read property "AD_ID" on null
Filename: controllers/Single_Ad.php
Line Number: 56
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 56
Function: _error_handler
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/vftsolution/public_html/sellfree.lk/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 570
Backtrace:
File: /home/vftsolution/public_html/sellfree.lk/application/models/Db_model.php
Line: 59
Function: query
File: /home/vftsolution/public_html/sellfree.lk/application/controllers/Single_Ad.php
Line: 114
Function: getfilteredData
File: /home/vftsolution/public_html/sellfree.lk/index.php
Line: 315
Function: require_once
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 'ORDER BY RAND() LIMIT 5' at line 11
SELECT * FROM tbl_ads INNER JOIN `tbl_ad_category` ON `tbl_ads`.`Ad_Cat_ID` = `tbl_ad_category`.`Ad_Cat_ID` INNER JOIN `tbl_users` ON `tbl_users`.`U_ID` = `tbl_ads`.`U_ID` INNER JOIN `tbl_districts` ON `tbl_districts`.`DST_ID` =`tbl_ads`.`DST_ID` INNER JOIN `tbl_city` ON `tbl_city`.`CTY_ID` = `tbl_ads`.`CTY_ID` INNER JOIN `tbl_ad_sub_category` ON `tbl_ad_sub_category`.`Ad_sub_Cat_ID`= `tbl_ads`.`Ad_sub_Cat_ID` WHERE tbl_ads.Ad_sub_Cat_ID = ORDER BY RAND() LIMIT 5
Filename: models/Db_model.php
Line Number: 59