A PHP Error was encountered

Severity: Warning

Message: file_get_contents(https://maps.googleapis.com/maps/api/geocode/json?latlng=&key=AIzaSyAmCwd_j3Uv1sydRnl_o14jVdrqKFCzfpI&sensor=false): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

Filename: helpers/gioloaction_helper.php

Line Number: 8

Backtrace:

File: /home/pathgac4/public_html/indianstor.com/listing/application/helpers/gioloaction_helper.php
Line: 8
Function: file_get_contents

File: /home/pathgac4/public_html/indianstor.com/listing/application/models/Service_Model.php
Line: 12
Function: getaddress

File: /home/pathgac4/public_html/indianstor.com/listing/application/controllers/Home_Controller.php
Line: 246
Function: getAllservices

File: /home/pathgac4/public_html/indianstor.com/listing/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: helpers/gioloaction_helper.php

Line Number: 18

Backtrace:

File: /home/pathgac4/public_html/indianstor.com/listing/application/helpers/gioloaction_helper.php
Line: 18
Function: _error_handler

File: /home/pathgac4/public_html/indianstor.com/listing/application/models/Service_Model.php
Line: 12
Function: getaddress

File: /home/pathgac4/public_html/indianstor.com/listing/application/controllers/Home_Controller.php
Line: 246
Function: getAllservices

File: /home/pathgac4/public_html/indianstor.com/listing/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: helpers/gioloaction_helper.php

Line Number: 20

Backtrace:

File: /home/pathgac4/public_html/indianstor.com/listing/application/helpers/gioloaction_helper.php
Line: 20
Function: _error_handler

File: /home/pathgac4/public_html/indianstor.com/listing/application/models/Service_Model.php
Line: 12
Function: getaddress

File: /home/pathgac4/public_html/indianstor.com/listing/application/controllers/Home_Controller.php
Line: 246
Function: getAllservices

File: /home/pathgac4/public_html/indianstor.com/listing/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: helpers/gioloaction_helper.php

Line Number: 24

Backtrace:

File: /home/pathgac4/public_html/indianstor.com/listing/application/helpers/gioloaction_helper.php
Line: 24
Function: _error_handler

File: /home/pathgac4/public_html/indianstor.com/listing/application/models/Service_Model.php
Line: 12
Function: getaddress

File: /home/pathgac4/public_html/indianstor.com/listing/application/controllers/Home_Controller.php
Line: 246
Function: getAllservices

File: /home/pathgac4/public_html/indianstor.com/listing/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/pathgac4/public_html/indianstor.com/listing/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/pathgac4/public_html/indianstor.com/listing/application/models/Service_Model.php
Line: 48
Function: get

File: /home/pathgac4/public_html/indianstor.com/listing/application/controllers/Home_Controller.php
Line: 246
Function: getAllservices

File: /home/pathgac4/public_html/indianstor.com/listing/index.php
Line: 316
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 (`ps`.`ps_status` = 1 and `ps`.`type_id` = 23 ) LIMIT 6' at line 7

SELECT * FROM `posted_service` `ps` LEFT JOIN `services` `ss` ON `ss`.`service_id` = `ps`.`type_id` LEFT JOIN `cities` `c` ON `c`.`id` = `ps`.`city_id` LEFT JOIN `countries` `cn` ON `cn`.`id` = `ps`.`country_id` LEFT JOIN `states` `st` ON `st`.`id` = `ps`.`state_id` WHERE and (`ps`.`ps_status` = 1 and `ps`.`type_id` = 23 ) LIMIT 6

Filename: models/Service_Model.php

Line Number: 48