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

ERROR - 2025-04-05 13:31:29 --> Severity: error --> Exception: Call to undefined method CI_DB_mysqli_driver::selectSum() /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 886
ERROR - 2025-04-05 13:33:28 --> Query error: Unknown column 'is_cancel' in 'where clause' - Invalid query: SELECT *
FROM `tbl_booking`
WHERE `driver_id` = '4'
AND `ride_status` = 2
AND `is_cancel` = 0
ERROR - 2025-04-05 13:33:33 --> Query error: Unknown column 'is_cancel' in 'where clause' - Invalid query: SELECT *
FROM `tbl_booking`
WHERE `driver_id` = '4'
AND `ride_status` = 2
AND `is_cancel` = 0
ERROR - 2025-04-05 13:34:05 --> Severity: Notice --> Undefined variable: booking_id /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 910
ERROR - 2025-04-05 13:34:05 --> Severity: Notice --> Array to string conversion /home/akshay/public_html/cab/system/database/DB_driver.php 1532
ERROR - 2025-04-05 13:34:05 --> Query error: Unknown column 'total_earning' in 'field list' - Invalid query: UPDATE `tbl_booking` SET `total_earning` = '120', `active_hours` = '0 minute(s)', `total_completed_ride` = 6, `upcoming_bookings` = Array
WHERE `book_id` IS NULL
ERROR - 2025-04-05 14:27:28 --> Severity: Notice --> Undefined variable: name /home/akshay/public_html/cab/application/controllers/Api/DriverApi/DriverController.php 64
