• 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:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • 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

Undefined array key "album" error oembed

lovedigit

👽 Chevereto Freak
*️⃣ 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. Post album url on any third party websites that uses oembed
😢 Unexpected result

The following error will be thrown.

📃 Error log message

Code:
Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/html/app/legacy/routes/oembed.php:56

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

# Incident ID:6345deeded741

# Time
2022-10-11T21:23:57+00:00 [1665523437]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/legacy/routes/oembed.php:56
{main}()
------------------------------------------------------------
#1 /var/www/html/app/src/Legacy/G/Handler.php:227
Chevereto\Legacy\G\Handler->{closure}()
------------------------------------------------------------
#2 /var/www/html/app/src/Legacy/G/Handler.php:151
Chevereto\Legacy\G\Handler->processRequest()
------------------------------------------------------------
#3 /var/www/html/app/legacy/load/web.php:447
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#4 /var/www/html/app/legacy/entrypoints/index.php:25
require_once(string(length=46))
------------------------------------------------------------
#5 /var/www/html/index.php:12
require_once(string(length=55))
------------------------------------------------------------
 
Post album url on any third party websites that uses oembed
These instructions won't trigger any issue. To clarify, this bug happens when you use oembed on guest images and only when you directly use the oembed URL (in guest uploads there's no oembed printing).

I've fixed this and oEmbed now works for guest images.
 
Back
Top