ERROR - 2025-08-22 00:10:26 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 00:10:26 --> 
ERROR - 2025-08-22 00:36:28 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 00:36:28 --> 
CRITICAL - 2025-08-22 06:26:28 --> Trying to get property 'trip_id' of non-object
in ROOTPATH/modules/Ticket/Controllers/Api/TemporaryBook.php on line 199.
 1 ROOTPATH/modules/Ticket/Controllers/Api/TemporaryBook.php(199): CodeIgniter\Debug\Exceptions->errorHandler(8, 'Trying to get property \'trip_id\' of non-object', '/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Api/TemporaryBook.php', 199, [...])
 2 SYSTEMPATH/CodeIgniter.php(932): Modules\Ticket\Controllers\Api\TemporaryBook->bookingcheck()
 3 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Ticket\Controllers\Api\TemporaryBook))
 4 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
 5 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
 6 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
CRITICAL - 2025-08-22 06:56:54 --> syntax error, unexpected '$results' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)
in ROOTPATH/modules/Ticket/Controllers/Api/TemporaryBook.php on line 222.
 1 SYSTEMPATH/Autoloader/Autoloader.php(291): CodeIgniter\Autoloader\Autoloader->includeFile('/home/busvalle/data.busvalley.com/busvalley_new/modules/Ticket/Controllers/Api/TemporaryBook.php')
 2 SYSTEMPATH/Autoloader/Autoloader.php(269): CodeIgniter\Autoloader\Autoloader->loadInNamespace('Modules\\Ticket\\Controllers\\Api\\TemporaryBook')
 3 [internal function]: CodeIgniter\Autoloader\Autoloader->loadClass('Modules\\Ticket\\Controllers\\Api\\TemporaryBook')
 4 [internal function]: spl_autoload_call('Modules\\Ticket\\Controllers\\Api\\TemporaryBook')
 5 SYSTEMPATH/CodeIgniter.php(890): class_exists('\\Modules\\Ticket\\Controllers\\Api\\TemporaryBook', 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')
ERROR - 2025-08-22 12:37:52 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 12:37:52 --> 
ERROR - 2025-08-22 13:11:54 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 13:11:54 --> 
ERROR - 2025-08-22 13:21:09 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 13:21:09 --> 
ERROR - 2025-08-22 13:26:39 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 13:26:39 --> 
ERROR - 2025-08-22 13:36:55 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 13:36:55 --> 
ERROR - 2025-08-22 13:43:20 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 13:43:20 --> 
ERROR - 2025-08-22 14:54:18 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 14:54:18 --> 
ERROR - 2025-08-22 15:10:03 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 15:10:03 --> 
ERROR - 2025-08-22 15:37:23 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 15:37:23 --> 
ERROR - 2025-08-22 15:46:10 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 15:46:10 --> 
ERROR - 2025-08-22 16:09:14 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 16:09:14 --> 
ERROR - 2025-08-22 16:56:44 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 16:56:44 --> 
ERROR - 2025-08-22 17:42:24 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 17:42:24 --> 
ERROR - 2025-08-22 17:42:56 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 17:42:56 --> 
ERROR - 2025-08-22 17:56:57 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 17:56:57 --> 
ERROR - 2025-08-22 17:58:30 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 17:58:30 --> 
ERROR - 2025-08-22 18:00:25 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:00:25 --> 
ERROR - 2025-08-22 18:07:42 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:07:42 --> 
ERROR - 2025-08-22 18:09:25 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:09:25 --> 
ERROR - 2025-08-22 18:10:54 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:10:54 --> 
ERROR - 2025-08-22 18:32:04 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:32:04 --> 
ERROR - 2025-08-22 18:34:17 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:34:17 --> 
ERROR - 2025-08-22 18:37:49 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 18:37:49 --> 
ERROR - 2025-08-22 19:21:37 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 19:21:37 --> 
ERROR - 2025-08-22 19:44:58 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 19:44:58 --> 
ERROR - 2025-08-22 19:45:44 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 19:45:44 --> 
ERROR - 2025-08-22 20:23:14 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 20:23:14 --> 
ERROR - 2025-08-22 20:33:59 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 20:33:59 --> 
ERROR - 2025-08-22 20:34:00 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 20:34:00 --> 
ERROR - 2025-08-22 20:40:43 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 20:40:43 --> 
ERROR - 2025-08-22 21:35:22 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 21:35:22 --> 
ERROR - 2025-08-22 21:41:41 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 21:41:41 --> 
ERROR - 2025-08-22 21:42:51 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 21:42:51 --> 
ERROR - 2025-08-22 22:09:27 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 22:09:27 --> 
ERROR - 2025-08-22 22:10:52 --> mysqli_sql_exception: Column 'company_id' in WHERE is ambiguous 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 `agents`...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`...', 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/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#11 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#12 {main}
CRITICAL - 2025-08-22 22:10:52 --> Column 'company_id' in WHERE is ambiguous
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= :DATE(payagents.created_at):
AND DATE(payagents.created_at) <= :DATE(payagents.created_at).1:
AND   (
`agent_id` = :agent_id:
OR `company_id` = :company_id:
 )
AND `payagents`.`deleted_at` IS NULL', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
 8 SYSTEMPATH/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
 9 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
10 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
11 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
12 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-08-22 22:11:00 --> mysqli_sql_exception: Column 'company_id' in WHERE is ambiguous 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 `agents`...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`...', 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/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#11 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#12 {main}
CRITICAL - 2025-08-22 22:11:00 --> Column 'company_id' in WHERE is ambiguous
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= :DATE(payagents.created_at):
AND DATE(payagents.created_at) <= :DATE(payagents.created_at).1:
AND   (
`agent_id` = :agent_id:
OR `company_id` = :company_id:
 )
AND `payagents`.`deleted_at` IS NULL', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
 8 SYSTEMPATH/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
 9 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
10 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
11 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
12 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-08-22 22:12:33 --> mysqli_sql_exception: Column 'company_id' in WHERE is ambiguous 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 `agents`...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`...', 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/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#11 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#12 {main}
CRITICAL - 2025-08-22 22:12:33 --> Column 'company_id' in WHERE is ambiguous
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= :DATE(payagents.created_at):
AND DATE(payagents.created_at) <= :DATE(payagents.created_at).1:
AND   (
`agent_id` = :agent_id:
OR `company_id` = :company_id:
 )
AND `payagents`.`deleted_at` IS NULL', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
 8 SYSTEMPATH/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
 9 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
10 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
11 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
12 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-08-22 22:12:41 --> mysqli_sql_exception: Column 'company_id' in WHERE is ambiguous 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 `agents`...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`...', 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/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#11 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#12 {main}
CRITICAL - 2025-08-22 22:12:41 --> Column 'company_id' in WHERE is ambiguous
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= :DATE(payagents.created_at):
AND DATE(payagents.created_at) <= :DATE(payagents.created_at).1:
AND   (
`agent_id` = :agent_id:
OR `company_id` = :company_id:
 )
AND `payagents`.`deleted_at` IS NULL', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
 8 SYSTEMPATH/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
 9 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
10 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
11 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
12 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-08-22 22:12:58 --> mysqli_sql_exception: Column 'company_id' in WHERE is ambiguous 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 `agents`...', 0)
#1 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`...')
#2 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`...')
#3 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`...', 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/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
#7 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
#8 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
#9 /home/busvalle/data.busvalley.com/busvalley_new/vendor/codeigniter4/framework/system/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /home/busvalle/data.busvalley.com/busvalley_new/public/index.php(65): CodeIgniter\CodeIgniter->run()
#11 /home/busvalle/data.busvalley.com/busvalley_new/index.php(2): require_once('/home/busvalle/...')
#12 {main}
CRITICAL - 2025-08-22 22:12:58 --> Column 'company_id' in WHERE is ambiguous
in SYSTEMPATH/Database/MySQLi/Connection.php on line 295.
 1 SYSTEMPATH/Database/MySQLi/Connection.php(295): mysqli->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL', 0)
 2 SYSTEMPATH/Database/BaseConnection.php(692): CodeIgniter\Database\MySQLi\Connection->execute('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 3 SYSTEMPATH/Database/BaseConnection.php(606): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= \'2025-08-22 00:00:00\'
AND DATE(payagents.created_at) <= \'2025-08-22 00:00:00\'
AND   (
`agent_id` = \'16\'
OR `company_id` = \'3,4,5\'
 )
AND `payagents`.`deleted_at` IS NULL')
 4 SYSTEMPATH/Database/BaseBuilder.php(1616): CodeIgniter\Database\BaseConnection->query('SELECT `agents`.`id` as `agentId`, `agents`.*, `payagents`.*, `companies`.`name` AS `company_name`, concat(user_details.first_name, " ", user_details.last_name) AS approved_by
FROM `payagents`
LEFT JOIN `agents` ON `agents`.`id` = `payagents`.`agent_id`
LEFT JOIN `companies` ON `companies`.`id` = `payagents`.`company_id`
LEFT JOIN `user_details` ON `user_details`.`user_id` = `payagents`.`approved_id`
WHERE DATE(payagents.created_at) >= :DATE(payagents.created_at):
AND DATE(payagents.created_at) <= :DATE(payagents.created_at).1:
AND   (
`agent_id` = :agent_id:
OR `company_id` = :company_id:
 )
AND `payagents`.`deleted_at` IS NULL', [...], false)
 5 SYSTEMPATH/Model.php(237): CodeIgniter\Database\BaseBuilder->get()
 6 SYSTEMPATH/BaseModel.php(624): CodeIgniter\Model->doFindAll(0, 0)
 7 ROOTPATH/modules/Account/Controllers/Payagent.php(430): CodeIgniter\BaseModel->findAll()
 8 SYSTEMPATH/CodeIgniter.php(932): Modules\Account\Controllers\Payagent->range()
 9 SYSTEMPATH/CodeIgniter.php(497): CodeIgniter\CodeIgniter->runController(Object(Modules\Account\Controllers\Payagent))
10 SYSTEMPATH/CodeIgniter.php(366): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
11 FCPATH/index.php(65): CodeIgniter\CodeIgniter->run()
12 ROOTPATH/index.php(2): require_once('/home/busvalle/data.busvalley.com/busvalley_new/public/index.php')
ERROR - 2025-08-22 22:36:51 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 22:36:51 --> 
ERROR - 2025-08-22 22:42:24 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 22:42:24 --> 
ERROR - 2025-08-22 23:28:44 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 23:28:44 --> 
ERROR - 2025-08-22 23:37:19 --> Email: Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.
ERROR - 2025-08-22 23:37:19 --> 
