• 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

Upgrade from v3.20.20 to v4.0.4, image upload successfully but page shows error

Status
Not open for further replies.

Showfom

Chevereto Member
*️⃣ Must open one ticket per issue. If you are experiencing multiple issues don't hesitate to create multiple tickets for each issue.

▶ Reproduction steps
  1. Upgrade from v3.20.20 to v4.0.4
  2. Go to homepage and upload an image
  3. Error
😢 Unexpected result

After upload images, it shows no file have been uploaded with error

1669642721519.png

But in fact, the image was uploaded successfully

📃 Error log message

Code:
root@image /var/log # tail -f chevereto-error.log
Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/app/src/Legacy/Classes/Image.php:1042

# Message [Code #2]
Trying to access array offset on value of type null

# Incident ID:6384b91654f75

# Time
2022-11-28T13:35:18+00:00 [1669642518]

# Stack trace
------------------------------------------------------------
#0 /var/www/app/src/Legacy/Classes/Image.php:1042
{main}()
------------------------------------------------------------
#1 /var/www/app/legacy/routes/json.php:119
Chevereto\Legacy\Classes\Image::uploadToWebsite()
------------------------------------------------------------
#2 /var/www/app/src/Legacy/G/Handler.php:242
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#3 /var/www/app/src/Legacy/G/Handler.php:158
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#4 /var/www/app/legacy/load/web.php:449
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#5 /var/www/app/legacy/entrypoints/index.php:25
require_once(string(length=46))
------------------------------------------------------------
#6 /var/www/index.php:12
require_once(string(length=55))
------------------------------------------------------------

# Server
Linux image 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64
 
🔒 This bug report is locked pending 60 day resolution. Having same issue? Give a like to say "me too".
 
This bug status has changed to pending release (target 4.0.5)
 
Status
Not open for further replies.
Back
Top