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

ERROR - 2024-05-08 09:00:38 --> 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,f.per_km FROM (SELECT driver_id,
    	    round(( 6371 * acos( cos( radians(round(28.5903614,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(78.5717631,2)) ) + sin( radians(round(28.5903614,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 tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1 GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2024-05-08 09:00:52 --> 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,f.per_km FROM (SELECT driver_id,
    	    round(( 6371 * acos( cos( radians(round(28.5903614,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(78.5717631,2)) ) + sin( radians(round(28.5903614,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 tbl_fare f ON f.vehicle_type=vt.id WHERE vt.status=1 AND d.is_online=1 AND d.status=1 GROUP BY vt.id ORDER BY tmp.distance,f.per_km ASC
ERROR - 2024-05-08 14:56:15 --> Severity: Notice --> Undefined property: stdClass::$daterange /home/akshay/public_html/cab/application/controllers/Api/User.php 824
ERROR - 2024-05-08 17:12:08 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 12
ERROR - 2024-05-08 17:37:56 --> Severity: Notice --> Undefined property: stdClass::$booking_id /home/akshay/public_html/cab/application/controllers/Api/User.php 946
