I'm starting to upgrade the Phalcon. I could replace the phalcon.so for the new after compile it, but then running the app I get this error:
Fatal error: Declaration of Websites\Services\Template\Renderer::setEventsManager() must be compatible with Phalcon\Events\EventsAwareInterface::setEventsManager(Phalcon\Events\ManagerInterface $eventsManager)
So I check the documentation about Events Manager, and I am using the implementation as the example exposed in the docs (https://docs.phalcon.io/en/latest/reference/events.html):
public function setEventsManager($eventsManager) { $this->_eventsManager = $eventsManager; }
And the problem persists, What it is really causing this problem?