• 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.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Missing $sort_type

Status
Not open for further replies.

linusrg

Chevereto Member
Website URL
<private>

Chevereto version
3.10.5

Description of the issue
My categories All, Recent, Trending and Animated don't work. Every time I get this error message:
Fatal error [103]: Missing $sort_type
Triggered in /galerie/app/lib/functions.php at line 73

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

I tried everything you suggested to me in my older post (sorry for the late answer, was away). I really don't know what to do.
Or if nothing would help is there a way to just disable those categories?
 
Just like I told you in the previous topic, the problem is cache. Seems that you didn't set an auto flush for your cache modules (mod_cache and mod_cache_disk setting).

I've "touched" the conflicting files and now it works, but it will keep failing in each update until you fix your cache settings. You should disable that cache for PHP files, with OPCache you don't need that module and works way better for PHP files.

By the way, support doesn't include server issues so you will have to investigate on your own how to fix that cache module.
 

Attachments

  • upload_2017-10-17_12-28-5.png
    upload_2017-10-17_12-28-5.png
    187.7 KB · Views: 5
Status
Not open for further replies.
Back
Top