A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/SearchModel.php

Line Number: 206

Backtrace:

File: /home/bigemart/public_html/hellokalaburagi.com/search/models/SearchModel.php
Line: 206
Function: _error_handler

File: /home/bigemart/public_html/hellokalaburagi.com/search/controllers/Search.php
Line: 105
Function: categoryRelatedServices

File: /home/bigemart/public_html/hellokalaburagi.com/index.php
Line: 298
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/bigemart/public_html/hellokalaburagi.com/search/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/bigemart/public_html/hellokalaburagi.com/search/models/SearchModel.php
Line: 210
Function: query

File: /home/bigemart/public_html/hellokalaburagi.com/search/controllers/Search.php
Line: 105
Function: categoryRelatedServices

File: /home/bigemart/public_html/hellokalaburagi.com/index.php
Line: 298
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 'GROUP BY sr.`serviceName` ORDER BY sr.`serviceName` ' at line 8

SELECT sr.*,a.name as area FROM services_provided sr JOIN vendor v ON v.id = sr.`vendorId` JOIN category c ON c.`id` = v.`category` JOIN areas a ON a.`id` = v.`area` AND c.id = '10' AND v.city = GROUP BY sr.`serviceName` ORDER BY sr.`serviceName` LIMIT 10

Filename: models/SearchModel.php

Line Number: 210