Warning: foreach() argument must be of type array|object, string given in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php on line 84 Warning: foreach() argument must be of type array|object, string given in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php on line 84 Warning: foreach() argument must be of type array|object, bool given in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php on line 84 Warning: foreach() argument must be of type array|object, int given in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php on line 84 Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, array given in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php:86 Stack trace: #0 /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php(86): number_format(Array, 10, '.', '') #1 /customers/1/6/a/rmsoft.be/httpd.www/src/Helpers/cryptfolio/HttpRequestHelper.php(74): Repositories\cryptfolio\CurrencyDataRepository->saveCryptoCompareData(Array) #2 /customers/1/6/a/rmsoft.be/httpd.www/src/Controllers/cryptfolio/RatesController.php(94): Helpers\cryptfolio\HttpRequestHelper::loadingCryptoData(Object(EasyMVC\HttpRequest), Object(Repositories\cryptfolio\CurrencyDataRepository), Object(Repositories\cryptfolio\ContactedCryptocompareRepository), 'EUR') #3 [internal function]: Controllers\cryptfolio\RatesController->cryptoAction(Object(Repositories\cryptfolio\UserRepository), Object(Repositories\cryptfolio\CurrencyRepository), Object(Repositories\cryptfolio\CurrencyDataRepository), Object(Repositories\cryptfolio\CurrencyDataMidnightRepository), Object(Repositories\cryptfolio\CurrencyDataWeekRepository), Object(Repositories\cryptfolio\CurrencyDataMonthRepository), Object(Repositories\cryptfolio\CurrencyDataYearRepository), Object(Repositories\cryptfolio\ContactedCryptocompareRepository), Array, '') #4 /customers/1/6/a/rmsoft.be/httpd.www/vendor/easymvc/router/src/Router.php(206): call_user_func_array(Array, Array) #5 /customers/1/6/a/rmsoft.be/httpd.www/vendor/easymvc/core/src/Core.php(50): EasyMVC\Router->execute() #6 /customers/1/6/a/rmsoft.be/httpd.www/index.php(17): EasyMVC\Core->__construct() #7 {main} thrown in /customers/1/6/a/rmsoft.be/httpd.www/src/Repositories/cryptfolio/CurrencyDataRepository.php on line 86