• 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

Unable to view notifications when a private user likes content

user_4735f

Chevereto Member
▶ Reproduction steps
  1. Log in to 2 accounts
  2. Set the profile of Account 1 to private
  3. Account 1 likes content from Account 2
😢 Unexpected result

Account 2 cant view any notifications.

📃 Error log message

Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /public_html/app/src/Legacy/Classes/Image.php:1542

# Message [Code #2]
Undefined array key "thumb"

# Incident ID:663c38bb5b07c

# Time
2024-05-09T02:45:15+00:00 [1715222715]

# Stack trace
------------------------------------------------------------
#0 /public_html/app/src/Legacy/Classes/Image.php:1542
{main}()
------------------------------------------------------------
#1 /public_html/app/src/Legacy/Classes/Notification.php:183
Chevereto\Legacy\Classes\Image::fill()
------------------------------------------------------------
#2 /public_html/app/src/Legacy/Classes/Notification.php:47
Chevereto\Legacy\Classes\Notification::fill()
------------------------------------------------------------
#3 /public_html/app/legacy/routes/json.php:1415
Chevereto\Legacy\Classes\Notification::get()
------------------------------------------------------------
#4 /public_html/app/src/Legacy/G/Handler.php:242
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#5 /public_html/app/src/Legacy/G/Handler.php:158
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#6 /public_html/app/legacy/load/web.php:511
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#7 /public_html/app/legacy/entrypoints/index.php:35
require_once(string(length=70))
------------------------------------------------------------
#8 /public_html/index.php:12
require_once(string(length=79))
------------------------------------------------------------

P/s : Can temporarily fix it by commenting out this line:
PHP:
$displaySize = $image['thumb']['size'];
 
I'm unable to replicate the issue, this is what I get:

1715279683572.png

The issue you are reporting is not related to notifications, but to images which aren't generating thumb. The thumb size is a must have on Chevereto uploads, if that's failing there's an issue on your installation as such file must be always generated.
 
This bug status has changed to pending release (target 4.1.3)
 
Back
Top