From 467b206de039f06a13f39983032fe5e9c6eb7f29 Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Wed, 4 Mar 2026 16:14:36 +0530 Subject: [PATCH] FIX_syntax_error --- app/Controllers/ExcelExportController.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/Controllers/ExcelExportController.php b/app/Controllers/ExcelExportController.php index 4cf8046..6945348 100644 --- a/app/Controllers/ExcelExportController.php +++ b/app/Controllers/ExcelExportController.php @@ -1691,7 +1691,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -1762,7 +1762,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -1832,7 +1832,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -1910,7 +1910,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -2045,7 +2045,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -2360,7 +2360,7 @@ class ExcelExportController extends ResourceController $data[] = array_values($row); } - } catch (DatabaseException $e) { + } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) { log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); // Re-throw the exception so it is caught by the main function's catch block throw $e; @@ -2471,7 +2471,7 @@ class ExcelExportController extends ResourceController per.endorsement_description, per.financia_or_non_financial, per.endorsement_premium, - per.commission_amount, + per.commission_amount