Forum

Thread tagged as: Question, Problem, Error

Categories Not Working

I've added the following code to the page: <?php perch_categories(array( 'set' => 'before-after', )); ?> I am running perch v2.8.5. I am getting nothing returned. Not sure if I need to update anything else besides the core files. https://www.hometeaminvestors.com/gallery.php# Thanks!

Jared Medley

Jared Medley 0 points

  • 6 years ago

I am getting the following in my error_log "Call to undefined function perch_categories() in"

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostics report?

Sorry this happens every time. I spent hours on this, but as soon as I posted, I discovered that my config file didn't have categories included. This seems to happen every time I ask for help, I figure it out. Thanks for everything you do and sorry for my incompetence on this stuff. Thanks!