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

ERROR - 2025-03-03 10:31:05 --> Severity: Warning --> trim() expects parameter 1 to be string, array given /home/akshay/public_html/cab/application/helpers/common_helper.php 42
ERROR - 2025-03-03 10:32:07 --> Severity: Warning --> trim() expects parameter 1 to be string, array given /home/akshay/public_html/cab/application/helpers/common_helper.php 42
ERROR - 2025-03-03 10:32:15 --> Severity: Warning --> trim() expects parameter 1 to be string, array given /home/akshay/public_html/cab/application/helpers/common_helper.php 42
ERROR - 2025-03-03 10:37:51 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 309
ERROR - 2025-03-03 10:39:42 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 309
ERROR - 2025-03-03 10:41:14 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 309
ERROR - 2025-03-03 10:41:17 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 309
ERROR - 2025-03-03 10:44:30 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 310
ERROR - 2025-03-03 10:44:41 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 310
ERROR - 2025-03-03 10:46:04 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 315
ERROR - 2025-03-03 10:46:22 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 315
ERROR - 2025-03-03 10:49:46 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 325
ERROR - 2025-03-03 10:49:46 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 326
ERROR - 2025-03-03 10:49:46 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 327
ERROR - 2025-03-03 10:49:46 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 328
ERROR - 2025-03-03 10:49:46 --> 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 ',2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(cu' at line 6 - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat,
                        prmo.promo_code_discount, prmo.status as promo_status, f.per_km 
                    FROM (
                        SELECT driver_id,
                            ROUND((6371 * ACOS(
                                COS(RADIANS(ROUND(,2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(curr_long) - RADIANS(ROUND(,2))) + 
                                SIN(RADIANS(ROUND(,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 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-03 10:50:47 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 334
ERROR - 2025-03-03 10:50:47 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 335
ERROR - 2025-03-03 10:50:47 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 336
ERROR - 2025-03-03 10:50:47 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 337
ERROR - 2025-03-03 10:50:47 --> 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 ',2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(cu' at line 6 - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat,
                        prmo.promo_code_discount, prmo.status as promo_status, f.per_km 
                    FROM (
                        SELECT driver_id,
                            ROUND((6371 * ACOS(
                                COS(RADIANS(ROUND(,2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(curr_long) - RADIANS(ROUND(,2))) + 
                                SIN(RADIANS(ROUND(,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 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-03 10:51:20 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 322
ERROR - 2025-03-03 10:54:10 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 334
ERROR - 2025-03-03 10:54:10 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 335
ERROR - 2025-03-03 10:54:10 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 336
ERROR - 2025-03-03 10:54:10 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 337
ERROR - 2025-03-03 10:54:10 --> 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 ',2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(cu' at line 6 - Invalid query: SELECT tmp.*, vt.id, vt.image, vt.name, vt.description, vt.type, vt.seat,
                        prmo.promo_code_discount, prmo.status as promo_status, f.per_km 
                    FROM (
                        SELECT driver_id,
                            ROUND((6371 * ACOS(
                                COS(RADIANS(ROUND(,2))) * COS(RADIANS(curr_lat)) *
                                COS(RADIANS(curr_long) - RADIANS(ROUND(,2))) + 
                                SIN(RADIANS(ROUND(,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 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-03 10:59:48 --> Severity: error --> Exception: Cannot use object of type stdClass as array /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 385
ERROR - 2025-03-03 11:00:23 --> Severity: error --> Exception: Cannot use object of type stdClass as array /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 385
ERROR - 2025-03-03 11:17:37 --> Severity: error --> Exception: Unsupported operand types /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 362
ERROR - 2025-03-03 11:18:52 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 362
ERROR - 2025-03-03 11:18:52 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 362
ERROR - 2025-03-03 11:18:52 --> Severity: Notice --> Trying to get property of non-object /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 368
ERROR - 2025-03-03 13:09:24 --> Severity: Notice --> Undefined variable: pickup_address /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 464
ERROR - 2025-03-03 13:10:24 --> Query error: Unknown column 'waypoints' in 'field list' - Invalid query: INSERT INTO `tbl_userwise_cabrequest` (`req_id`, `waypoints`, `user_id`, `booking_type`, `driver_id`, `type_id`, `driver_away`, `user_journey_distance`, `per_km_fare`, `entry_date`, `added_by_web`) VALUES ('REQ-00125426', '[{\"lat\":18.517063,\"long\":73.846546},{\"lat\":18.517063,\"long\":73.856546},{\"lat\":18.517063,\"long\":73.846546},{\"lat\":18.517063,\"long\":73.846546}]', 6, 'bike', '4', '8', '0', 2.1, '12', '2025-03-03 13:10:24', 'abc')
ERROR - 2025-03-03 16:07:03 --> Severity: Notice --> Undefined property: stdClass::$waypoints /home/akshay/public_html/cab/application/controllers/Api/UserApi/UserController.php 308
