We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

PHALCON 2.0 ERROR !

so i just changed my dll in wamp to the 2.0 , but i only get a fatal error now ! please help .

Fatal error: Declaration of Frontend\Module::registerAutoloaders() must be compatible with Phalcon\Mvc\ModuleDefinitionInterface::registerAutoloaders(Phalcon\DiInterface $dependencyInjector = NULL) in C:\wamp\www\agronomia\apps\frontend\Module.php on line 12



7.1k
Accepted
answer

Just call your class :

class Module 
{

instead

class Module implements ModuleDefinitionInterface
{