• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

  • 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