• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

TypeError thrown

TmmmZ

Chevereto Member
Reproduction steps

Started to fail after using bulk importer.

😢 Unexpected result

Stats not working

📃 Error log message

TypeError thrown in /var/www/app/src/Legacy/G/functions.php:1330


# Message

Chevereto\Legacy\G\bytes_to_mb(): Argument #1 ($bytes) must be of type int, float given, called in /var/www/content/legacy/themes/Peafowl/views/dashboard/stats.php on line 52


# Incident ID:64c55503d92a2


# Time

2023-07-29T18:05:55+00:00 [1690653955]


# Stack trace

------------------------------------------------------------
#0 /var/www/app/src/Legacy/G/functions.php:1330{main}()
------------------------------------------------------------
#1 /var/www/content/legacy/themes/Peafowl/views/dashboard/stats.php:52Chevereto\Legacy\G\bytes_to_mb()
------------------------------------------------------------
#2 /var/www/content/legacy/themes/Peafowl/views/dashboard.php:63require(string(length=64))
------------------------------------------------------------
#3 /var/www/app/src/Legacy/G/Handler.php:391require(string(length=58))
------------------------------------------------------------
#4 /var/www/app/src/Legacy/G/Handler.php:167Chevereto\Legacy\G\Handler->loadTemplate()
------------------------------------------------------------
#5 /var/www/app/legacy/load/web.php:501Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#6 /var/www/app/legacy/entrypoints/index.php:25require_once(string(length=32))
------------------------------------------------------------
#7 /var/www/index.php:12require_once(string(length=41))
------------------------------------------------------------
 
I'm sorry but I can't find regenerate stats on the same page.

This is all I can see from the dashboard/stats page.


1690911193979.png

I might add that I have also tried "Regenerate external storage stats" as I'm also using external storage with SFTP.

1690911460600.png
 
This bug status has changed to pending release (target 4.0.9)
 
Back
Top