lovedigit
👽 Chevereto Freak
▶ Reproduction steps
500 error where this exception is thrown. See log.
I can access the album, as well as sub album if I visit them directly.
It is just the sub album listings that throw this error. And it doesn't happen with all of them.
Only a handful of my users reported it. 2 to be exact.
📃 Error log message
Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/debug.html
Fatal error [0]: array_key_exists() expects parameter 2 to be array, null given
Triggered in /app/lib/classes/class.listing.php at line 531
Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /app/lib/classes/class.listing.php(531): array_key_exists()
#2 /app/routes/route.album.php(176): CHV\Listing->exec()
#3 /lib/G/classes/class.handler.php(235): G\Handler->{closure}()
#4 /lib/G/classes/class.handler.php(135): G\Handler->processRequest()
#5 /app/web.php(478): G\Handler->__construct()
#6 /app/loader.php(299): require_once('/app/web.php')
#7 /index.php(20): include_once('/app/loader.php')
- Not sure how to replicate it.
500 error where this exception is thrown. See log.
I can access the album, as well as sub album if I visit them directly.
It is just the sub album listings that throw this error. And it doesn't happen with all of them.
Only a handful of my users reported it. 2 to be exact.
📃 Error log message
Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/debug.html
Fatal error [0]: array_key_exists() expects parameter 2 to be array, null given
Triggered in /app/lib/classes/class.listing.php at line 531
Stack trace:
#0 unknown file(unknown line): G\errorsAsExceptions()
#1 /app/lib/classes/class.listing.php(531): array_key_exists()
#2 /app/routes/route.album.php(176): CHV\Listing->exec()
#3 /lib/G/classes/class.handler.php(235): G\Handler->{closure}()
#4 /lib/G/classes/class.handler.php(135): G\Handler->processRequest()
#5 /app/web.php(478): G\Handler->__construct()
#6 /app/loader.php(299): require_once('/app/web.php')
#7 /index.php(20): include_once('/app/loader.php')
Last edited:
