Notice (8): Undefined index: RUB [APP/plugins/panel/panel_app_controller.php, line 213]Code | Context//$this->requestAction('/panel/dashboard/nbp');//$Dashboard = new DashboardController;$this->__nbp();$HttpSocket = HttpSocket HttpSocket::$description = "HTTP-based DataSource Interface" HttpSocket::$quirksMode = false HttpSocket::$request = array HttpSocket::$response = array HttpSocket::$config = array HttpSocket::$lineBreak = "" HttpSocket::$_baseConfig = array HttpSocket::$connection = NULL HttpSocket::$connected = false HttpSocket::$lastError = array $results = "[{"table":"A","no":"218/A/NBP/2026","effectiveDate":"2026-11-09","rates":[{"currency":"bat (Tajlandia)","code":"THB","mid":0.1168},{"currency":"dolar amerykański","code":"USD","mid":3.9199},{"currency":"dolar australijski","code":"AUD","mid":2.7060},{"currency":"dolar Hongkongu","code":"HKD","mid":0.4999},{"currency":"dolar kanadyjski","code":"CAD","mid":2.7841},{"currency":"dolar nowozelandzki","code":"NZD","mid":2.1988},{"currency":"dolar singapurski","code":"SGD","mid":3.0630},{"currency":"euro","code":"EUR","mid":4.3873},{"currency":"forint (Węgry)","code":"HUF","mid":0.01208},{"currency":"frank szwajcarski","code":"CHF","mid":4.7925},{"currency":"funt szterling","code":"GBP","mid":5.2593},{"currency":"hrywna (Ukraina)","code":"UAH","mid":0.0862},{"currency":"jen (Japonia)","code":"JPY","mid":0.024802},{"currency":"korona czeska","code":"CZK","mid":0.1802},{"currency":"korona duńska","code":"DKK","mid":0.5869},{"currency":"korona islandzka","code":"ISK","mid":0.032071},{"currency":"korona norweska","code":"NOK","mid":0.4179},{"currency":"korona szwedzka","code":"SEK","mid":0.3989},{"currency":"lej rumuński","code":"RON","mid":0.8214},{"currency":"lira turecka","code":"TRY","mid":0.0781},{"currency":"nowy izraelski szekel","code":"ILS","mid":1.2349},{"currency":"peso chilijskie","code":"CLP","mid":0.004014},{"currency":"peso filipińskie","code":"PHP","mid":0.0619},{"currency":"peso meksykańskie","code":"MXN","mid":0.2108},{"currency":"rand (Republika Południowej Afryki)","code":"ZAR","mid":0.2379},{"currency":"real (Brazylia)","code":"BRL","mid":0.7117},{"currency":"ringgit (Malezja)","code":"MYR","mid":0.9657},{"currency":"rupia indonezyjska","code":"IDR","mid":0.00021687},{"currency":"rupia indyjska","code":"INR","mid":0.041729},{"currency":"won południowokoreański","code":"KRW","mid":0.002909},{"currency":"yuan renminbi (Chiny)","code":"CNY","mid":0.5873},{"currency":"SDR (MFW)","code":"XDR","mid":5.3201}]}]" $data = array( "table" => "A", "no" => "218/A/NBP/2026", "effectiveDate" => "2026-11-09", "rates" => array( "THB" => 0.1168, "USD" => 3.9199, "AUD" => 2.706, "HKD" => 0.4999, "CAD" => 2.7841, "NZD" => 2.1988, "SGD" => 3.063, "EUR" => 4.3873, "HUF" => 0.01208, "CHF" => 4.7925, "GBP" => 5.2593, "UAH" => 0.0862, "JPY" => 0.024802, "CZK" => 0.1802, "DKK" => 0.5869, "ISK" => 0.032071, "NOK" => 0.4179, "SEK" => 0.3989, "RON" => 0.8214, "TRY" => 0.0781, "ILS" => 1.2349, "CLP" => 0.004014, "PHP" => 0.0619, "MXN" => 0.2108, "ZAR" => 0.2379, "BRL" => 0.7117, "MYR" => 0.9657, "IDR" => 0.00021687, "INR" => 0.041729, "KRW" => 0.002909, "CNY" => 0.5873, "XDR" => 5.3201 ) ) $rates = array( "THB" => 0.1168, "USD" => 3.9199, "AUD" => 2.706, "HKD" => 0.4999, "CAD" => 2.7841, "NZD" => 2.1988, "SGD" => 3.063, "EUR" => 4.3873, "HUF" => 0.01208, "CHF" => 4.7925, "GBP" => 5.2593, "UAH" => 0.0862, "JPY" => 0.024802, "CZK" => 0.1802, "DKK" => 0.5869, "ISK" => 0.032071, "NOK" => 0.4179, "SEK" => 0.3989, "RON" => 0.8214, "TRY" => 0.0781, "ILS" => 1.2349, "CLP" => 0.004014, "PHP" => 0.0619, "MXN" => 0.2108, "ZAR" => 0.2379, "BRL" => 0.7117, "MYR" => 0.9657, "IDR" => 0.00021687, "INR" => 0.041729, "KRW" => 0.002909, "CNY" => 0.5873, "XDR" => 5.3201 ) $value = "RUB" $key = 4 $actual = array( "Currency" => array( "id" => "6081", "code" => "RUB", "price" => "0.0335", "publishdate" => "2022-03-07" ) ) $waluty_lista = array( "PLN", "USD", "EUR", "GBP", "RUB" ) $waluty = array( array( "Currency" => array() ), array( "Currency" => array() ), array( "Currency" => array() ) )PanelAppController::__nbp() - APP/plugins/panel/panel_app_controller.php, line 213 PanelAppController::beforeFilter() - APP/plugins/panel/panel_app_controller.php, line 86 Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86
Warning (512): SQL Error: 1048: Column 'price' cannot be null [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code | Contextif ($this->error) {$this->showQuery($sql);$sql = "INSERT INTO `cake_currencies` (`code`, `price`, `publishdate`) VALUES ('RUB', NULL, '2026-11-09')" $error = "1048: Column 'price' cannot be null" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266 DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 750 Model::save() - CORE/cake/libs/model/model.php, line 1353 Model::__save() - CORE/cake/libs/model/model.php, line 1795 Model::saveAll() - CORE/cake/libs/model/model.php, line 1610 PanelAppController::__nbp() - APP/plugins/panel/panel_app_controller.php, line 224 PanelAppController::beforeFilter() - APP/plugins/panel/panel_app_controller.php, line 86 Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86
Query: INSERT INTO `cake_currencies` (`code`, `price`, `publishdate`) VALUES ('RUB', NULL, '2026-11-09')
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ulotne/domains/eckert.piotrcuch.com/public_html/cake/libs/debugger.php:686) [CORE/cake/libs/controller/controller.php, line 742]Code | Context*/function header($status) {header($status);$status = "Location: http://eckert.piotrcuch.com/panel/users/login"header - [internal], line ?? Controller::header() - CORE/cake/libs/controller/controller.php, line 742 Controller::redirect() - CORE/cake/libs/controller/controller.php, line 721 AuthComponent::startup() - CORE/cake/libs/controller/components/auth.php, line 395 Component::triggerCallback() - CORE/cake/libs/controller/component.php, line 186 Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 523 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86