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

ERROR - 2024-12-05 16:35:42 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/User.php 41
ERROR - 2024-12-05 16:35:42 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/User.php 42
ERROR - 2024-12-05 16:41:48 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/User.php 164
ERROR - 2024-12-05 16:41:48 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/User.php 165
ERROR - 2024-12-05 16:47:59 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 15
ERROR - 2024-12-05 16:48:57 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 15
ERROR - 2024-12-05 16:56:11 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 15
ERROR - 2024-12-05 17:33:31 --> Severity: Notice --> Undefined index: PHP_AUTH_USER /home/akshay/public_html/cab/application/controllers/Api/User.php 15
ERROR - 2024-12-05 17:40:42 --> Query error: 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 '.per_km FROM (SELECT driver_id,
    	    round(( 6371 * acos( cos( radians(roun' at line 3 - Invalid query: SELECT tmp.*,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,dc.curr_lat,dc.curr_long
		    f.per_km FROM (SELECT driver_id,
    	    round(( 6371 * acos( cos( radians(round(24.854975080601,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(74.612969195319,2)) ) + sin( radians(round(24.854975080601,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation dc 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 - 2024-12-05 17:41:02 --> Query error: Unknown column 'dc.curr_lat' in 'field list' - Invalid query: SELECT tmp.*,vt.id,vt.image,vt.name,vt.description,vt.type,
		    prmo.promo_code_discount,prmo.status as promo_status,dc.curr_lat,dc.curr_long,
		    f.per_km FROM (SELECT driver_id,
    	    round(( 6371 * acos( cos( radians(round(24.854975080601,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(74.612969195319,2)) ) + sin( radians(round(24.854975080601,2)) ) * sin( radians(curr_lat) ) ) )) AS distance
    	    FROM tbl_driver_currentLocation dc 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 - 2024-12-05 17:44:40 --> Query error: Unknown column 'tmp.curr_lat' in 'field list' - Invalid query: SELECT tmp.*,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,
    	    round(( 6371 * acos( cos( radians(round(24.854975080601,2)) ) * cos( radians(curr_lat) ) *
            cos( radians(curr_long) - radians(round(74.612969195319,2)) ) + sin( radians(round(24.854975080601,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 - 2024-12-05 17:45:59 --> Severity: Notice --> Undefined variable: qry /home/akshay/public_html/cab/application/controllers/Api/User.php 209
ERROR - 2024-12-05 17:45:59 --> Severity: Warning --> mysqli::query(): Empty query /home/akshay/public_html/cab/system/database/drivers/mysqli/mysqli_driver.php 315
ERROR - 2024-12-05 17:45:59 --> Query error:  - Invalid query: 
