• 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

Deleted Album Shows White Page

siddharth

💖 Chevereto Fan
Pro
▶ 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