[2026-04-30 05:04:21] PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\'CONSULTANT\' AND um.is_active = 1 ORDER BY up.d...' at line 13 in /var/www/html/api/core/BaseRepository.php:93 Stack trace: #0 /var/www/html/api/core/BaseRepository.php(93): PDOStatement->execute(Array) #1 /var/www/html/api/app/Repositories/Cases/CaseRequestRepository.php(140): App\Api\Repositories\BaseRepository->query('SELECT DISTINCT...', Array) #2 /var/www/html/api/app/Services/Cases/CaseRequestService.php(360): App\Api\Repositories\Cases\CaseRequestRepository->findEligibleConsultantsForArea('app_development') #3 /var/www/html/api/app/Controllers/Cases/CaseRequestController.php(102): App\Api\Services\Cases\CaseRequestService->getEligibleConsultants(Array, 1) #4 /var/www/html/api/v1/Routes/Cases/casesRoutes.php(78): App\Api\Controllers\Cases\CaseRequestController->eligibleConsultants(1) #5 [internal function]: {closure}('1') #6 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(458): call_user_func_array(Object(Closure), Array) #7 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #8 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(287): Bramus\Router\Router->handle(Array, true) #9 /var/www/html/api/v1/index.php(778): Bramus\Router\Router->run() #10 {main} [2026-04-30 05:04:54] PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\'CONSULTANT\' AND um.is_active = 1 ORDER BY up.d...' at line 13 in /var/www/html/api/core/BaseRepository.php:93 Stack trace: #0 /var/www/html/api/core/BaseRepository.php(93): PDOStatement->execute(Array) #1 /var/www/html/api/app/Repositories/Cases/CaseRequestRepository.php(140): App\Api\Repositories\BaseRepository->query('SELECT DISTINCT...', Array) #2 /var/www/html/api/app/Services/Cases/CaseRequestService.php(360): App\Api\Repositories\Cases\CaseRequestRepository->findEligibleConsultantsForArea('app_development') #3 /var/www/html/api/app/Controllers/Cases/CaseRequestController.php(102): App\Api\Services\Cases\CaseRequestService->getEligibleConsultants(Array, 1) #4 /var/www/html/api/v1/Routes/Cases/casesRoutes.php(78): App\Api\Controllers\Cases\CaseRequestController->eligibleConsultants(1) #5 [internal function]: {closure}('1') #6 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(458): call_user_func_array(Object(Closure), Array) #7 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(440): Bramus\Router\Router->invoke(Object(Closure), Array) #8 /var/www/html/api/vendor/bramus/router/src/Bramus/Router/Router.php(287): Bramus\Router\Router->handle(Array, true) #9 /var/www/html/api/v1/index.php(778): Bramus\Router\Router->run() #10 {main}