
PHP框架兼容问题
Fatalerror:DeclarationofFrontend\Module::registerAutoloaders()mustbecompatiblewithPha...
Fatal error: Declaration of Frontend\Module::registerAutoloaders() must be compatible with Phalcon\Mvc\ModuleDefinitionInterface::registerAutoloaders(Phalcon\DiInterface $dependencyInjector = NULL) in D:\wamp\www\new\app\frontend\Module.php on line 13
展开
展开全部
你的两个伪类所带的函数参数不一致所以会出问题,在程序中 registerAutolocaders()括号里面加上Phalcon\DiInterface $dependencyInjector = NULL,就能解决问题了。后面如果接着提示类似问题,同理可以解决。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询