Hello
Such a problem
Wrote a bitcoin currency converter
It turns out such an error in the xenforo logs
Such a problem
Wrote a bitcoin currency converter
It turns out such an error in the xenforo logs
Code:
ErrorException: Undefined index: updated - library/*******/BitcoinConverter/ViewPublic/Misc/BitcoinConverter.php:42
Сгенерирована пользователем: Неизвестная учётная запись, 12 мин. назад
Трассировка стэка
#0 /var/www/bit/data/www/site.com/library/*******/BitcoinConverter/ViewPublic/Misc/BitcoinConverter.php(42): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/bit/da...', 42, Array)
#1 /var/www/bit/data/www/site.com/library/XenForo/ViewRenderer/Abstract.php(227): *******_BitcoinConverter_ViewPublic_Misc_BitcoinConverter->renderJson()
#2 /var/www/bit/data/www/site.com/library/XenForo/ViewRenderer/Json.php(88): XenForo_ViewRenderer_Abstract->renderViewObject('*******_Bitcoin...', 'Json', Array, '')
#3 /var/www/bit/data/www/site.com/library/XenForo/FrontController.php(604): XenForo_ViewRenderer_Json->renderView('*******_Bitcoin...', Array, '', NULL)
#4 /var/www/bit/data/www/site.com/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Json), Array)
#5 /var/www/bit/data/www/site.com/index.php(28): XenForo_FrontController->run()
#6 {main}
Содержимое запроса
array(3) {
["url"] => string(45) "https://site.com/misc/bitcoin-converter.json"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["currency"] => string(3) "BTC"
["value"] => string(1) "1"
["xfToken"] => string(0) ""
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}