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":"072/A/NBP/2026","effectiveDate":"2026-04-15","rates":[{"currency":"bat (Tajlandia)","code":"THB","mid":0.1121},{"currency":"dolar amerykański","code":"USD","mid":3.5939},{"currency":"dolar australijski","code":"AUD","mid":2.5675},{"currency":"dolar Hongkongu","code":"HKD","mid":0.4587},{"currency":"dolar kanadyjski","code":"CAD","mid":2.6108},{"currency":"dolar nowozelandzki","code":"NZD","mid":2.1227},{"currency":"dolar singapurski","code":"SGD","mid":2.8275},{"currency":"euro","code":"EUR","mid":4.2370},{"currency":"forint (Węgry)","code":"HUF","mid":0.011648},{"currency":"frank szwajcarski","code":"CHF","mid":4.6024},{"currency":"funt szterling","code":"GBP","mid":4.8749},{"currency":"hrywna (Ukraina)","code":"UAH","mid":0.0826},{"currency":"jen (Japonia)","code":"JPY","mid":0.022635},{"currency":"korona czeska","code":"CZK","mid":0.1740},{"currency":"korona duńska","code":"DKK","mid":0.5670},{"currency":"korona islandzka","code":"ISK","mid":0.029465},{"currency":"korona norweska","code":"NOK","mid":0.3807},{"currency":"korona szwedzka","code":"SEK","mid":0.3913},{"currency":"lej rumuński","code":"RON","mid":0.8323},{"currency":"lira turecka","code":"TRY","mid":0.0803},{"currency":"nowy izraelski szekel","code":"ILS","mid":1.1948},{"currency":"peso chilijskie","code":"CLP","mid":0.004052},{"currency":"peso filipińskie","code":"PHP","mid":0.0598},{"currency":"peso meksykańskie","code":"MXN","mid":0.2084},{"currency":"rand (Republika Południowej Afryki)","code":"ZAR","mid":0.2202},{"currency":"real (Brazylia)","code":"BRL","mid":0.7211},{"currency":"ringgit (Malezja)","code":"MYR","mid":0.9096},{"currency":"rupia indonezyjska","code":"IDR","mid":0.00020974},{"currency":"rupia indyjska","code":"INR","mid":0.038482},{"currency":"won południowokoreański","code":"KRW","mid":0.002438},{"currency":"yuan renminbi (Chiny)","code":"CNY","mid":0.5271},{"currency":"SDR (MFW)","code":"XDR","mid":4.9396}]}]" $data = array( "table" => "A", "no" => "072/A/NBP/2026", "effectiveDate" => "2026-04-15", "rates" => array( "THB" => 0.1121, "USD" => 3.5939, "AUD" => 2.5675, "HKD" => 0.4587, "CAD" => 2.6108, "NZD" => 2.1227, "SGD" => 2.8275, "EUR" => 4.237, "HUF" => 0.011648, "CHF" => 4.6024, "GBP" => 4.8749, "UAH" => 0.0826, "JPY" => 0.022635, "CZK" => 0.174, "DKK" => 0.567, "ISK" => 0.029465, "NOK" => 0.3807, "SEK" => 0.3913, "RON" => 0.8323, "TRY" => 0.0803, "ILS" => 1.1948, "CLP" => 0.004052, "PHP" => 0.0598, "MXN" => 0.2084, "ZAR" => 0.2202, "BRL" => 0.7211, "MYR" => 0.9096, "IDR" => 0.00020974, "INR" => 0.038482, "KRW" => 0.002438, "CNY" => 0.5271, "XDR" => 4.9396 ) ) $rates = array( "THB" => 0.1121, "USD" => 3.5939, "AUD" => 2.5675, "HKD" => 0.4587, "CAD" => 2.6108, "NZD" => 2.1227, "SGD" => 2.8275, "EUR" => 4.237, "HUF" => 0.011648, "CHF" => 4.6024, "GBP" => 4.8749, "UAH" => 0.0826, "JPY" => 0.022635, "CZK" => 0.174, "DKK" => 0.567, "ISK" => 0.029465, "NOK" => 0.3807, "SEK" => 0.3913, "RON" => 0.8323, "TRY" => 0.0803, "ILS" => 1.1948, "CLP" => 0.004052, "PHP" => 0.0598, "MXN" => 0.2084, "ZAR" => 0.2202, "BRL" => 0.7211, "MYR" => 0.9096, "IDR" => 0.00020974, "INR" => 0.038482, "KRW" => 0.002438, "CNY" => 0.5271, "XDR" => 4.9396 ) $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-04-15')" $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-04-15')
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://www.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