<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2025-03-26 00:28:37 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:28:54 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:29:12 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:29:18 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:29:23 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:29:34 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:29:55 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 00:30:21 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:38:00 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat, f.per_km 
				FROM (
					SELECT driver_id,
						ROUND((6371 * ACOS(
							COS(RADIANS(ROUND(21.2340229,2))) * COS(RADIANS(curr_lat)) *
							COS(RADIANS(curr_long) - RADIANS(ROUND(72.8168875,2))) + 
							SIN(RADIANS(ROUND(21.2340229,2))) * SIN(RADIANS(curr_lat))
						)), 2) AS distance
					FROM tbl_driver_currentLocation d 
					GROUP BY driver_id
				) AS tmp
				INNER JOIN tbl_driver d ON d.id = tmp.driver_id
				INNER JOIN tbl_vehicle tv ON tv.driver_id = d.id
				INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id = tv.id
				INNER JOIN tbl_vehicletype vt ON vt.id = dmt.type_id
				INNER JOIN tbl_fare f ON f.vehicle_type = vt.id 
				WHERE vt.status = 1 AND d.is_online = 1 AND d.status = 1
				AND tmp.distance <= d.pickup_radius 
				GROUP BY vt.id 
				ORDER BY tmp.distance, f.per_km ASC
ERROR - 2025-03-26 15:39:12 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(21.2340241,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(72.8168868,2)) ) + sin( radians(round(21.2340241,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-03-26 15:39:13 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(21.234024175209,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(72.816886939108,2)) ) + sin( radians(round(21.234024175209,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-03-26 15:41:05 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(21.2340252,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(72.8168851,2)) ) + sin( radians(round(21.2340252,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-03-26 15:41:06 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(21.23402511275,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(72.816885262728,2)) ) + sin( radians(round(21.23402511275,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-03-26 15:48:15 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat, f.per_km 
				FROM (
					SELECT driver_id,
						ROUND((6371 * ACOS(
							COS(RADIANS(ROUND(21.23402511275,2))) * COS(RADIANS(curr_lat)) *
							COS(RADIANS(curr_long) - RADIANS(ROUND(72.816885262728,2))) + 
							SIN(RADIANS(ROUND(21.23402511275,2))) * SIN(RADIANS(curr_lat))
						)), 2) AS distance
					FROM tbl_driver_currentLocation d 
					GROUP BY driver_id
				) AS tmp
				INNER JOIN tbl_driver d ON d.id = tmp.driver_id
				INNER JOIN tbl_vehicle tv ON tv.driver_id = d.id
				INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id = tv.id
				INNER JOIN tbl_vehicletype vt ON vt.id = dmt.type_id
				INNER JOIN tbl_fare f ON f.vehicle_type = vt.id 
				WHERE vt.status = 1 AND d.is_online = 1 AND d.status = 1
				AND tmp.distance <= d.pickup_radius 
				GROUP BY vt.id 
				ORDER BY tmp.distance, f.per_km ASC
ERROR - 2025-03-26 15:48:35 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*,d.id as driver_id,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,tmp.curr_lat,tmp.curr_long,
		    f.per_km FROM (SELECT driver_id,curr_lat, curr_long,
    	    round(( 6371 * acos( cos( radians(round(21.233695722777,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(72.817338220775,2)) ) + sin( radians(round(21.233695722777,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation d GROUP BY driver_id) AS tmp
    	    INNER JOIN tbl_driver d ON d.id=tmp.driver_id
    	    INNER JOIN tbl_vehicle tv ON tv.driver_id=d.id
     	    INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id=tv.id
     	    INNER JOIN tbl_vehicletype vt ON vt.id=dmt.type_id
     	    INNER JOIN promocode prmo ON prmo.vehicletype_id=vt.id
     	    INNER JOIN tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1
     	    
     	    AND tmp.distance <= '5' GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2025-03-26 15:49:02 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat, f.per_km 
				FROM (
					SELECT driver_id,
						ROUND((6371 * ACOS(
							COS(RADIANS(ROUND(21.2340229,2))) * COS(RADIANS(curr_lat)) *
							COS(RADIANS(curr_long) - RADIANS(ROUND(72.8168875,2))) + 
							SIN(RADIANS(ROUND(21.2340229,2))) * SIN(RADIANS(curr_lat))
						)), 2) AS distance
					FROM tbl_driver_currentLocation d 
					GROUP BY driver_id
				) AS tmp
				INNER JOIN tbl_driver d ON d.id = tmp.driver_id
				INNER JOIN tbl_vehicle tv ON tv.driver_id = d.id
				INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id = tv.id
				INNER JOIN tbl_vehicletype vt ON vt.id = dmt.type_id
				INNER JOIN tbl_fare f ON f.vehicle_type = vt.id 
				WHERE vt.status = 1 AND d.is_online = 1 AND d.status = 1
				AND tmp.distance <= d.pickup_radius 
				GROUP BY vt.id 
				ORDER BY tmp.distance, f.per_km ASC
ERROR - 2025-03-26 15:53:53 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:55:31 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:56:16 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:56:36 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:56:40 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:57:00 --> Query error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'akshay_cab_db.d.curr_lat' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat, f.per_km 
				FROM (
					SELECT driver_id,
						ROUND((6371 * ACOS(
							COS(RADIANS(ROUND(21.2340229,2))) * COS(RADIANS(curr_lat)) *
							COS(RADIANS(curr_long) - RADIANS(ROUND(72.8168875,2))) + 
							SIN(RADIANS(ROUND(21.2340229,2))) * SIN(RADIANS(curr_lat))
						)), 2) AS distance
					FROM tbl_driver_currentLocation d 
					GROUP BY driver_id
				) AS tmp
				INNER JOIN tbl_driver d ON d.id = tmp.driver_id
				INNER JOIN tbl_vehicle tv ON tv.driver_id = d.id
				INNER JOIN tbl_map_vehicletype dmt ON dmt.vehicle_id = tv.id
				INNER JOIN tbl_vehicletype vt ON vt.id = dmt.type_id
				INNER JOIN tbl_fare f ON f.vehicle_type = vt.id 
				WHERE vt.status = 1 AND d.is_online = 1 AND d.status = 1
				AND tmp.distance <= d.pickup_radius 
				GROUP BY vt.id 
				ORDER BY tmp.distance, f.per_km ASC
ERROR - 2025-03-26 15:57:33 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:59:15 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
ERROR - 2025-03-26 15:59:24 --> Severity: error --> Exception: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 786
