• 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

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