• 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

Deleted Album Shows White Page

siddharth

💖 Chevereto Fan
▶ Reproduction steps
  1. Create the album
  2. Delete the album
  3. Visit the album URL
😢 Unexpected result

It shows a white screen. It needs to show content not found as like it shows for deleted image

📃 Error log message

** errorId #4619ba2910fd39bf **
TypeError [0]: Argument 1 passed to G\is_url_web() must be of the type string, null given, called in /usr/share/nginx/html/lib/G/functions.php on line 2728
Code:
At /lib/G/functions.php:1908

Stack trace:
#0 /lib/G/functions.php(2728): G\is_url_web()
#1 /app/routes/route.album.php(41): G\redirect()
#2 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#3 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#4 /app/web.php(417): G\Handler->__construct()
#5 /app/loader.php(239): require_once('/app/web.php')
#6 /index.php(20): include_once('/app/loader.php')" while reading response header from upstream, client: IP, server: domain.com, request: "GET /a/designer-kurti.QO9GK HTTP/2.0", upstream: "fastcgi://unix:/run/php/php.sock:", host: "domain.com"
 
Confirmed, open app/routes/route.album.php and find this:

PHP:
if ($_SERVER['QUERY_STRING']) {

Add this BEFORE:

PHP:
$redirect = '';
 
Back
Top