CRITICAL - 2025-05-17 16:07:55 --> syntax error, unexpected 'echo' (T_ECHO), expecting function (T_FUNCTION) or const (T_CONST)
in APPPATH/Controllers/Home.php on line 24.
 1 SYSTEMPATH/Autoloader/Autoloader.php(291): CodeIgniter\Autoloader\Autoloader->includeFile('/home/busvalle/data.busvalley.com/busvalley_new/app/Controllers/Home.php')
 2 SYSTEMPATH/Autoloader/Autoloader.php(269): CodeIgniter\Autoloader\Autoloader->loadInNamespace('App\\Controllers\\Home')
 3 [internal function]: CodeIgniter\Autoloader\Autoloader->loadClass('App\\Controllers\\Home')
 4 [internal function]: spl_autoload_call('App\\Controllers\\Home')
 5 SYSTEMPATH/CodeIgniter.php(890): class_exists('\\App\\Controllers\\Home', true)
 6 SYSTEMPATH/CodeIgniter.php(484): CodeIgniter\CodeIgniter->startController()
 7 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 8 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 9 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 16:07:56 --> syntax error, unexpected 'echo' (T_ECHO), expecting function (T_FUNCTION) or const (T_CONST)
in APPPATH/Controllers/Home.php on line 24.
 1 SYSTEMPATH/Autoloader/Autoloader.php(291): CodeIgniter\Autoloader\Autoloader->includeFile('/home/busvalle/data.busvalley.com/busvalley_new/app/Controllers/Home.php')
 2 SYSTEMPATH/Autoloader/Autoloader.php(269): CodeIgniter\Autoloader\Autoloader->loadInNamespace('App\\Controllers\\Home')
 3 [internal function]: CodeIgniter\Autoloader\Autoloader->loadClass('App\\Controllers\\Home')
 4 [internal function]: spl_autoload_call('App\\Controllers\\Home')
 5 SYSTEMPATH/CodeIgniter.php(890): class_exists('\\App\\Controllers\\Home', true)
 6 SYSTEMPATH/CodeIgniter.php(484): CodeIgniter\CodeIgniter->startController()
 7 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 8 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 9 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 16:45:45 --> unlink(/home/busvalle/data.busvalley.com/busvalley_new/writable/debugbar/debugbar_1747478639.986612.json): No such file or directory
in SYSTEMPATH/Debug/Toolbar/Collectors/History.php on line 78.
 1 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'unlink(/home/busvalle/data.busvalley.com/busvalley_new/writable/debugbar/debugbar_1747478639.986612.json): No such file or directory', '/home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Debug/Toolbar/Collectors/History.php', 78, [...])
 2 SYSTEMPATH/Debug/Toolbar/Collectors/History.php(78): unlink('/home/busvalle/data.busvalley.com/busvalley_new/writable/debugbar/debugbar_1747478639.986612.json')
 3 SYSTEMPATH/Debug/Toolbar.php(502): CodeIgniter\Debug\Toolbar\Collectors\History->setFiles('1747478744.835708', 20)
 4 SYSTEMPATH/Debug/Toolbar.php(479): CodeIgniter\Debug\Toolbar->format([...], 'html')
 5 APPPATH/Config/Events.php(52): CodeIgniter\Debug\Toolbar->respond()
 6 SYSTEMPATH/Events/Events.php(152): CodeIgniter\Events\Events::Config\{closure}()
 7 SYSTEMPATH/CodeIgniter.php(348): CodeIgniter\Events\Events::trigger('pre_system')
 8 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 9 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 18:14:56 --> Invalid argument supplied for foreach()
in ROOTPATH/modules/Trip/Controllers/Trip.php on line 876.
 1 ROOTPATH/modules/Trip/Controllers/Trip.php(876): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Invalid argument supplied for foreach()', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Controllers/Trip.php', 876, [...])
 2 ROOTPATH/modules/Trip/Controllers/Trip.php(451): Modules\Trip\Controllers\Trip->getSeatClasses(null, [...])
 3 SYSTEMPATH/CodeIgniter.php(932): Modules\Trip\Controllers\Trip->update('62')
 4 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Trip\Controllers\Trip))
 5 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 6 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 7 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 18:16:36 --> Invalid argument supplied for foreach()
in ROOTPATH/modules/Trip/Controllers/Trip.php on line 876.
 1 ROOTPATH/modules/Trip/Controllers/Trip.php(876): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Invalid argument supplied for foreach()', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Controllers/Trip.php', 876, [...])
 2 ROOTPATH/modules/Trip/Controllers/Trip.php(451): Modules\Trip\Controllers\Trip->getSeatClasses(null, [...])
 3 SYSTEMPATH/CodeIgniter.php(932): Modules\Trip\Controllers\Trip->update('62')
 4 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Trip\Controllers\Trip))
 5 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 6 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 7 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 18:26:38 --> Invalid argument supplied for foreach()
in ROOTPATH/modules/Trip/Controllers/Trip.php on line 876.
 1 ROOTPATH/modules/Trip/Controllers/Trip.php(876): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Invalid argument supplied for foreach()', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Controllers/Trip.php', 876, [...])
 2 ROOTPATH/modules/Trip/Controllers/Trip.php(451): Modules\Trip\Controllers\Trip->getSeatClasses(null, [...])
 3 SYSTEMPATH/CodeIgniter.php(932): Modules\Trip\Controllers\Trip->update('75')
 4 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Trip\Controllers\Trip))
 5 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 6 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 7 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 18:48:27 --> Array to string conversion
in ROOTPATH/modules/Trip/Views/trip/editarrival.php on line 33.
 1 ROOTPATH/modules/Trip/Views/trip/editarrival.php(33): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Array to string conversion', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Views/trip/editarrival.php', 33, [...])
 2 SYSTEMPATH/View/View.php(226): include('/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Views/trip/editarrival.php')
 3 SYSTEMPATH/View/View.php(229): CodeIgniter\View\View->CodeIgniter\View\{closure}()
 4 SYSTEMPATH/View/View.php(462): CodeIgniter\View\View->render('Modules\\Trip\\Views/trip/editarrival', null, true)
 5 ROOTPATH/modules/Trip/Views/trip/edit.php(157): CodeIgniter\View\View->include('Modules\\Trip\\Views/trip/editarrival')
 6 SYSTEMPATH/View/View.php(226): include('/home/busvalle/data.busvalley.com/busvalley_new/modules/Trip/Views/trip/edit.php')
 7 SYSTEMPATH/View/View.php(229): CodeIgniter\View\View->CodeIgniter\View\{closure}()
 8 SYSTEMPATH/Common.php(1174): CodeIgniter\View\View->render('Modules\\Trip\\Views\\trip/edit', [], true)
 9 ROOTPATH/modules/Trip/Controllers/Trip.php(430): view('Modules\\Trip\\Views\\trip/edit', [...])
10 SYSTEMPATH/CodeIgniter.php(932): Modules\Trip\Controllers\Trip->edit('75')
11 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Trip\Controllers\Trip))
12 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
13 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
14 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-05-17 19:11:46 --> mysqli_sql_exception: Unknown column 'as' in 'SELECT' in /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php:295
Stack trace:
#0 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `tickets...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `tickets...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `tickets...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `tickets...', Array, false)
#4 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
#5 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
#6 /home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Ticket.php(1259): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Ticket.php(1219): Modules\Ticket\Controllers\Ticket->filterBooking()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Ticket\Controllers\Ticket->allbookinglist()
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Ticket\Controllers\Ticket))
#10 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#11 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#12 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#13 {main}
CRITICAL - 2025-05-17 19:11:46 --> Unknown column 'as' in 'SELECT'
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `tickets`.*, CONCAT(user_details.first_name, " ", user_details.last_name) as passengerName, CONCAT(COALESCE(booker.first_name, booker_agents.first_name), " ", COALESCE(booker.last_name, booker_agents.last_name)) as booked_by, `as` `booked_by`, `companies`.`name` as `company_name`
FROM `tickets`
JOIN `user_details` ON `user_details`.`user_id` = `tickets`.`passanger_id`
LEFT JOIN `user_details` AS `booker` ON `booker`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `agents` AS `booker_agents` ON `booker_agents`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `trips` ON `trips`.`id` = `tickets`.`trip_id`
LEFT JOIN `companies` ON `trips`.`company_id` = `companies`.`id`
WHERE `cancel_status` = 0
AND `refund` = 0
ORDER BY `id` DESC', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `tickets`.*, CONCAT(user_details.first_name, " ", user_details.last_name) as passengerName, CONCAT(COALESCE(booker.first_name, booker_agents.first_name), " ", COALESCE(booker.last_name, booker_agents.last_name)) as booked_by, `as` `booked_by`, `companies`.`name` as `company_name`
FROM `tickets`
JOIN `user_details` ON `user_details`.`user_id` = `tickets`.`passanger_id`
LEFT JOIN `user_details` AS `booker` ON `booker`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `agents` AS `booker_agents` ON `booker_agents`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `trips` ON `trips`.`id` = `tickets`.`trip_id`
LEFT JOIN `companies` ON `trips`.`company_id` = `companies`.`id`
WHERE `cancel_status` = 0
AND `refund` = 0
ORDER BY `id` DESC')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `tickets`.*, CONCAT(user_details.first_name, " ", user_details.last_name) as passengerName, CONCAT(COALESCE(booker.first_name, booker_agents.first_name), " ", COALESCE(booker.last_name, booker_agents.last_name)) as booked_by, `as` `booked_by`, `companies`.`name` as `company_name`
FROM `tickets`
JOIN `user_details` ON `user_details`.`user_id` = `tickets`.`passanger_id`
LEFT JOIN `user_details` AS `booker` ON `booker`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `agents` AS `booker_agents` ON `booker_agents`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `trips` ON `trips`.`id` = `tickets`.`trip_id`
LEFT JOIN `companies` ON `trips`.`company_id` = `companies`.`id`
WHERE `cancel_status` = 0
AND `refund` = 0
ORDER BY `id` DESC')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `tickets`.*, CONCAT(user_details.first_name, " ", user_details.last_name) as passengerName, CONCAT(COALESCE(booker.first_name, booker_agents.first_name), " ", COALESCE(booker.last_name, booker_agents.last_name)) as booked_by, `as` `booked_by`, `companies`.`name` as `company_name`
FROM `tickets`
JOIN `user_details` ON `user_details`.`user_id` = `tickets`.`passanger_id`
LEFT JOIN `user_details` AS `booker` ON `booker`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `agents` AS `booker_agents` ON `booker_agents`.`user_id` = `tickets`.`bookby_user_id`
LEFT JOIN `trips` ON `trips`.`id` = `tickets`.`trip_id`
LEFT JOIN `companies` ON `trips`.`company_id` = `companies`.`id`
WHERE `cancel_status` = :cancel_status:
AND `refund` = :refund:
ORDER BY `id` DESC', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Ticket/Controllers/Ticket.php(1259): CodeIgniter\BaseModel->findAll()
 8 ROOTPATH/modules/Ticket/Controllers/Ticket.php(1219): Modules\Ticket\Controllers\Ticket->filterBooking()
 9 SYSTEMPATH/CodeIgniter.php(932): Modules\Ticket\Controllers\Ticket->allbookinglist()
10 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Ticket\Controllers\Ticket))
11 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
12 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
13 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 19:12:37 --> syntax error, unexpected end of file
in ROOTPATH/modules/Ticket/Controllers/Ticket.php on line 745.
 1 SYSTEMPATH/Autoloader/Autoloader.php(291): CodeIgniter\Autoloader\Autoloader->includeFile('/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Ticket.php')
 2 SYSTEMPATH/Autoloader/Autoloader.php(269): CodeIgniter\Autoloader\Autoloader->loadInNamespace('Modules\\Ticket\\Controllers\\Ticket')
 3 [internal function]: CodeIgniter\Autoloader\Autoloader->loadClass('Modules\\Ticket\\Controllers\\Ticket')
 4 [internal function]: spl_autoload_call('Modules\\Ticket\\Controllers\\Ticket')
 5 SYSTEMPATH/CodeIgniter.php(890): class_exists('\\Modules\\Ticket\\Controllers\\Ticket', true)
 6 SYSTEMPATH/CodeIgniter.php(484): CodeIgniter\CodeIgniter->startController()
 7 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 8 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 9 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 19:12:47 --> syntax error, unexpected end of file
in ROOTPATH/modules/Ticket/Controllers/Ticket.php on line 745.
 1 SYSTEMPATH/Autoloader/Autoloader.php(291): CodeIgniter\Autoloader\Autoloader->includeFile('/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Ticket.php')
 2 SYSTEMPATH/Autoloader/Autoloader.php(269): CodeIgniter\Autoloader\Autoloader->loadInNamespace('Modules\\Ticket\\Controllers\\Ticket')
 3 [internal function]: CodeIgniter\Autoloader\Autoloader->loadClass('Modules\\Ticket\\Controllers\\Ticket')
 4 [internal function]: spl_autoload_call('Modules\\Ticket\\Controllers\\Ticket')
 5 SYSTEMPATH/CodeIgniter.php(890): class_exists('\\Modules\\Ticket\\Controllers\\Ticket', true)
 6 SYSTEMPATH/CodeIgniter.php(484): CodeIgniter\CodeIgniter->startController()
 7 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 8 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 9 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-05-17 19:30:20 --> Undefined variable: seatinfo
in ROOTPATH/modules/Ticket/Views/ticket/seatlayouts/default3.php on line 62.
 1 ROOTPATH/modules/Ticket/Views/ticket/seatlayouts/default3.php(62): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Undefined variable: seatinfo', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Views/ticket/seatlayouts/default3.php', 62, [...])
 2 SYSTEMPATH/View/View.php(226): include('/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Views/ticket/seatlayouts/default3.php')
 3 SYSTEMPATH/View/View.php(229): CodeIgniter\View\View->CodeIgniter\View\{closure}()
 4 SYSTEMPATH/Common.php(1174): CodeIgniter\View\View->render('Modules\\Ticket\\Views\\ticket\\seatlayouts\\default3', [], true)
 5 ROOTPATH/modules/Ticket/Controllers/Ticket.php(654): view('Modules\\Ticket\\Views\\ticket\\seatlayouts\\default3', [...])
 6 SYSTEMPATH/CodeIgniter.php(932): Modules\Ticket\Controllers\Ticket->getSeatLayout()
 7 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Ticket\Controllers\Ticket))
 8 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 9 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
10 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
