• Remember to address to the Bug Tracking guidelines and to follow the instructions in the post ticket template.
  • 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

Album created by guest fails to load for admin user

Version
4.3.7
PHP version
8.3.6
Database driver
MariaDB
Database version
10.11.13
Web browser
any

evil

Chevereto Member
Reproduction steps

  1. Open the website as an anonymous (not logged in) user.
  2. Create a new album (e.g. “test25”).
  3. Log in as an administrator.
  4. Try to open the album via its public URL (e.g. /album/test25.ysfc).

Unexpected result

  • The album page does not load when accessed by the administrator.
  • An error page is displayed instead of the album content.
  • However, when the same album is opened by any other user — either logged in as a regular user or completely anonymous — the album loads correctly.

[68ff364a0e0ad] TypeError in /app/src/Legacy/Classes/User.php:103

# Message
Chevereto\Legacy\Classes\User::getCacheKey(): Argument #1 ($id) must be of type int, null given, called in /app/src/Legacy/Classes/User.php on line 120

# URI
/album/test25.ysfc

# Method
GET

# Time
2025-10-27T09:07:22+00:00 [1761556042]

# Incident 68ff364a0e0ad

# Backtrace
------------------------------------------------------------
0 /app/src/Legacy/Classes/User.php:103
{main}()
------------------------------------------------------------
1 /app/src/Legacy/Classes/User.php:120
Chevereto\Legacy\Classes\User::getCacheKey()
------------------------------------------------------------
2 /app/legacy/routes/album.php:371
Chevereto\Legacy\Classes\User::getAlbums()
------------------------------------------------------------
3 /app/src/Legacy/G/Handler.php:456
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
4 /app/src/Legacy/G/Handler.php:180
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
5 /app/legacy/load/web.php:668
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
6 /app/legacy/entrypoints/index.php:45
require_once(string(length=40))
------------------------------------------------------------
7 /index.php:12
require_once(string(length=49))
------------------------------------------------------------
 
Back
Top