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":"177/A/NBP/2026","effectiveDate":"2026-09-11","rates":[{"currency":"bat (Tajlandia)","code":"THB","mid":0.1128},{"currency":"dolar amerykański","code":"USD","mid":3.7267},{"currency":"dolar australijski","code":"AUD","mid":2.6712},{"currency":"dolar Hongkongu","code":"HKD","mid":0.4752},{"currency":"dolar kanadyjski","code":"CAD","mid":2.6916},{"currency":"dolar nowozelandzki","code":"NZD","mid":2.1704},{"currency":"dolar singapurski","code":"SGD","mid":2.9396},{"currency":"euro","code":"EUR","mid":4.3228},{"currency":"forint (Węgry)","code":"HUF","mid":0.01188},{"currency":"frank szwajcarski","code":"CHF","mid":4.5768},{"currency":"funt szterling","code":"GBP","mid":5.0332},{"currency":"hrywna (Ukraina)","code":"UAH","mid":0.0836},{"currency":"jen (Japonia)","code":"JPY","mid":0.024183},{"currency":"korona czeska","code":"CZK","mid":0.1784},{"currency":"korona duńska","code":"DKK","mid":0.5783},{"currency":"korona islandzka","code":"ISK","mid":0.030877},{"currency":"korona norweska","code":"NOK","mid":0.4005},{"currency":"korona szwedzka","code":"SEK","mid":0.3848},{"currency":"lej rumuński","code":"RON","mid":0.8225},{"currency":"lira turecka","code":"TRY","mid":0.0766},{"currency":"nowy izraelski szekel","code":"ILS","mid":1.2236},{"currency":"peso chilijskie","code":"CLP","mid":0.003956},{"currency":"peso filipińskie","code":"PHP","mid":0.0595},{"currency":"peso meksykańskie","code":"MXN","mid":0.2197},{"currency":"rand (Republika Południowej Afryki)","code":"ZAR","mid":0.2306},{"currency":"real (Brazylia)","code":"BRL","mid":0.7309},{"currency":"ringgit (Malezja)","code":"MYR","mid":0.9160},{"currency":"rupia indonezyjska","code":"IDR","mid":0.00021187},{"currency":"rupia indyjska","code":"INR","mid":0.038964},{"currency":"won południowokoreański","code":"KRW","mid":0.002776},{"currency":"yuan renminbi (Chiny)","code":"CNY","mid":0.5555},{"currency":"SDR (MFW)","code":"XDR","mid":5.1113}]}]" $data = array( "table" => "A", "no" => "177/A/NBP/2026", "effectiveDate" => "2026-09-11", "rates" => array( "THB" => 0.1128, "USD" => 3.7267, "AUD" => 2.6712, "HKD" => 0.4752, "CAD" => 2.6916, "NZD" => 2.1704, "SGD" => 2.9396, "EUR" => 4.3228, "HUF" => 0.01188, "CHF" => 4.5768, "GBP" => 5.0332, "UAH" => 0.0836, "JPY" => 0.024183, "CZK" => 0.1784, "DKK" => 0.5783, "ISK" => 0.030877, "NOK" => 0.4005, "SEK" => 0.3848, "RON" => 0.8225, "TRY" => 0.0766, "ILS" => 1.2236, "CLP" => 0.003956, "PHP" => 0.0595, "MXN" => 0.2197, "ZAR" => 0.2306, "BRL" => 0.7309, "MYR" => 0.916, "IDR" => 0.00021187, "INR" => 0.038964, "KRW" => 0.002776, "CNY" => 0.5555, "XDR" => 5.1113 ) ) $rates = array( "THB" => 0.1128, "USD" => 3.7267, "AUD" => 2.6712, "HKD" => 0.4752, "CAD" => 2.6916, "NZD" => 2.1704, "SGD" => 2.9396, "EUR" => 4.3228, "HUF" => 0.01188, "CHF" => 4.5768, "GBP" => 5.0332, "UAH" => 0.0836, "JPY" => 0.024183, "CZK" => 0.1784, "DKK" => 0.5783, "ISK" => 0.030877, "NOK" => 0.4005, "SEK" => 0.3848, "RON" => 0.8225, "TRY" => 0.0766, "ILS" => 1.2236, "CLP" => 0.003956, "PHP" => 0.0595, "MXN" => 0.2197, "ZAR" => 0.2306, "BRL" => 0.7309, "MYR" => 0.916, "IDR" => 0.00021187, "INR" => 0.038964, "KRW" => 0.002776, "CNY" => 0.5555, "XDR" => 5.1113 ) $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-09-11')" $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-09-11')
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