• 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

Invalid $sort_type "likes", when "Likes" are disabled by configuration.

Status
Not open for further replies.

linkchilla

Chevereto Member
Website URL
https://www.linkchilla.com

Chevereto version
3.10.1

Description of the issue
Hi,..

i think I found a small Bug.

On my stock install of chevereto I get an server error on "Explore" -> "Animated" -> "Popular", when "Likes" are disabled:

Fatal error [130]: Invalid $sort_type "likes"
Triggered in /app/lib/classes/class.listing.php at line 647

Stack trace:
#0 /app/lib/classes/class.listing.php(112): CHV\Listing->validateInput()
#1 /app/routes/route.explore.php(81): CHV\Listing->exec()
#2 /lib/G/classes/class.handler.php(216): G\Handler->{closure}(G\Handler)
#3 /lib/G/classes/class.handler.php(120): G\Handler->processRequest()
#4 /app/loader.php(591): G\Handler->__construct(Array)
#5 /index.php(20): include_once('/app/loader.php')

Enabling "Likes" again works around this. I attached the webserver logs in private, as they includes server paths and client addresses.
 
I can confirm that this is already patched and that this patch will be included in v3.10.2.
 
Status
Not open for further replies.
Back
Top