2025-02-25 10:35:54: ERROR DETAILSarray(4) { ["type"]=> int(1) ["message"]=> string(1024) "Uncaught PDOException: SQLSTATE[23000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot insert the value NULL into column 'DateString', table '@Result'; column does not allow nulls. INSERT fails. in D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php:117 Stack trace: #0 D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php(117): PDOStatement->execute() #1 D:\Apps\AIPM-CP2\BN\Screens\AnalysisReports\SolarPerformance\PowerBalance.pxp(18): Helpers\DB::executeQuery('EXEC I_getPower...', Array, false, NULL) #2 [internal function]: DataService\getData(Array) #3 D:\Apps\AIPM-CP2\BN\_base\ServiceBase\DataService.php(66): call_user_func('DataService\\get...', Array) #4 [internal function]: unknown() #5 D:\Apps\AIPM-CP2\BN\_base\ServiceBase\DataService.php(2): sg_load('639086E74756B02...') #6 D:\Apps\AIPM-CP2\BN\Screens\AnalysisReports\SolarPerformance\PowerBalance.pxp(21): require_once('D:\\Apps\\AIPM-CP...') #7 [internal function]: unknown() #8 D:\Apps\AIPM-CP2\BN\Screens\AnalysisReports\SolarPerformance\PowerBalance.pxp(" ["file"]=> string(43) "D:\Apps\AIPM-CP2\BN\_base\PhpHelpers\DB.php" ["line"]=> int(167) }
REQUEST
array(3) { ["aVBLSWQ9LTEmaVNpdGU9NDg3JmJjPVt7Im5hbWUiOiJEYXNoYm9hcmQgQWxsIFNpdGVzIiwiaHJlZiI6IiMvU2NyZWVucy9BbGxTaXRlc0dyaWQucGh0bWwifV0"]=> string(0) "" ["sFunctionName"]=> string(7) "getData" ["oData"]=> string(64) "{"iSite":"487","dFrom":null,"dTo":"2025-02-25","nInterval":"15"}" }
COOKIES
array(6) { ["PHPSESSID"]=> string(26) "ogi8qgclgqlde60a0l5rr4ocd7" ["SU_ID"]=> string(2) "28" ["sLang"]=> string(2) "en" ["sAppVersion"]=> string(17) "2024.12.02.082416" ["iSiteSelected"]=> string(1) "4" ["sFullUrl"]=> string(63) "https://aipm-cpall2-bn.enmax.co.th/#/Screens/AllSitesGrid.phtml" }

################################################################################################################