• 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 In /var/www/html/app/src/Components/Legacy/l10n.php:32

Rampage

Chevereto Member
I have tested this on 2 separate systems, including a fresh install.

Ubuntu 20.04



▶ Reproduction steps
  1. Start Docker container built using image chevereto/httpd-php:4.0
😢 Unexpected result

Application starts but doesn't serve any pages, just displays error

📃 Error log message

TypeError thrown in /var/www/html/app/src/Components/Legacy/l10n.php:32

# Message
_n(): Argument #3 ($count) must be of type string|int, float given, called in /var/www/html/app/src/Components/Legacy/functions.php on line 82

# Incident ID:61770fa4dc176

# Time
2021-10-25T20:12:20+00:00 [1635192740]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/src/Components/Legacy/functions.php:82
_n()
------------------------------------------------------------
#1 /var/www/html/app/src/Components/Legacy/Classes/Image.php:1338
Chevereto\Components\Legacy\time_elapsed_string()
------------------------------------------------------------
#2 /var/www/html/app/src/Components/Legacy/Classes/Album.php:426
Chevereto\Components\Legacy\Classes\Image::fill()
------------------------------------------------------------
#3 /var/www/html/app/src/Components/Legacy/Classes/Image.php:1354
Chevereto\Components\Legacy\Classes\Album::fill()
------------------------------------------------------------
#4 /var/www/html/app/src/Components/Legacy/Classes/Listing.php:567
Chevereto\Components\Legacy\Classes\Image::formatArray()
------------------------------------------------------------
#5 /var/www/html/app/legacy/routes/index.php:212
Chevereto\Components\Legacy\Classes\Listing->exec()
------------------------------------------------------------
#6 /var/www/html/app/src/Components/Legacy/G/Handler.php:254
Chevereto\Components\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#7 /var/www/html/app/src/Components/Legacy/G/Handler.php:136
Chevereto\Components\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#8 /var/www/html/app/legacy/load/web.php:394
Chevereto\Components\Legacy\G\Handler->__construct()
------------------------------------------------------------
#9 /var/www/html/app/legacy/load/loader.php:297
require_once()
------------------------------------------------------------
#10 /var/www/html/app/legacy/entrypoints/index.php:15
require_once()
------------------------------------------------------------
#11 /var/www/html/index.php:14
require_once()
------------------------------------------------------------

# Server
Linux chevereto4 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64

Bash:
Server: Docker Engine - Community
 Engine:
  Version:          20.10.10
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       e2f740d
  Built:            Mon Oct 25 07:41:08 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.11
  GitCommit:        5b46e404f6b9f661a205e28d59c982d3634148f8
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
 
Back
Top