I'm writing a new add-on. In my plugin function I'm doing $this->cache->put, but I get:

Fatal error: Call to a member function put() on a non-object

What's up? I'm extending Plugin correctly....

Answered by Jason Varga! Go to answer.