Mauricio Molina Posted March 27, 2020 Share Posted March 27, 2020 (edited) Ola, alguém saberia me dizer o que tenho que fazer para arrumar este erro: Diz que o erro esta nesta linha: class AdminDjtalBrazilianRegisterController extends ModuleAdminController include_once dirname(__FILE__).'../../../models/BrazilianRegister.class.php'; class AdminDjtalBrazilianRegisterController extends ModuleAdminController { public function __construct() { $this->table = 'djtalbrazilianregister'; $this->className = 'BrazilianRegister'; Log do Debug: DEBUG 08:59:27 doctrine SELECT name FROM psvx_module WHERE active = 1 CRITICAL 08:59:27 php Fatal Compile Error: Declaration of AdminDjtalBrazilianRegisterController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) INFO 08:59:27 php User Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector". CRITICAL 08:59:27 request Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of AdminDjtalBrazilianRegisterController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false)" at /home/u569536399/domains/somadedois.com.br/public_html/modules/djtalbrazilianregister/controllers/admin/AdminDjtalBrazilianRegisterController.php line 30 Se alguem puder dar uma força, agradeço. Edited March 27, 2020 by Mauricio Molina (see edit history) Link to comment Share on other sites More sharing options...
Mauricio Molina Posted March 27, 2020 Author Share Posted March 27, 2020 Corrigido, obrigado Pode fechar o Tópico: Basta alterar a linha: public function setMedia ( ) Para: public function setMedia ($isNewTheme = false) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now