Forum

Thread tagged as: Events

Perch Events App

In the events app, if I don't use 'cache' => false, then changes will not take effect quickly. But if I use it, there will always be error saying "PHP Notice: Undefined variable: cache in...". Any idea how to fix this?

Thanks,

Andrew Liu

Andrew Liu 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Which version of the Events app are you running?

If you're in development mode, I don't think it caches come what may. Obviously it's less critical once you've deployed to production.

Drew McLellan said:

Which version of the Events app are you running?

If you're in development mode, I don't think it caches come what may. Obviously it's less critical once you've deployed to production.

My version is 1.9.

Just so you know there aren't any page on the documentation which have relevant information about

perch_events_event_field()
perch_events_event_categories()
perch_events_categories()
perch_events_category()

It took me a while to figure out they can be used

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, the app is due a big overhaul.