Can't log in, error 500 - Uncaught TypeError: number_format()

Can’t log in to panel for some days, webserver returns error 500 all the time. I’ve investigated and in /usr/local/hesta/log/nginx-error.log found this:

2023/06/14 21:01:16 [error] 10859#0: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, strin$
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(371): number_format()
#1 /usr/local/hestia/web/templates/includes/panel.php(37): humanize_usage_size()
#2 /usr/local/hestia/web/inc/main.php(317): include('...')
#3 /usr/local/hestia/web/inc/main.php(192): top_panel()
#4 /usr/local/hestia/web/list/web/index.php(18): render_page()
#5 {main}
  thrown in /usr/local/hestia/web/inc/main.php on line 371" while reading response header from upstream, client: [hidden], server: _, request: "GET /list/web/ HTTP/1.1", upstream: "fast$

Does anyone have a solution to that issue? I just screened line 371 in /usr/local/hestia/web/inc/main.php and now panel works, but I’m not sure if it happen again after update. TIA

What version are you currently on?