Okay
  Public Ticket #1860922
Error Administration MegaMenu
Closed

Comments

  • Mehmet started the conversation

    When i try to edit the MegaMenu Modul i get this error:

    [2019-01-19 12:39:30] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Declaration of AdminFieldMegamenuController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false)" at /var/www/web62/html/modules/fieldmegamenu/controllers/admin/AdminFieldMegamenuController.php line 743 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalErrorException(code: 0): Compile Error: Declaration of AdminFieldMegamenuController::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) at /var/www/web62/html/modules/fieldmegamenu/controllers/admin/AdminFieldMegamenuController.php:743)"} []

    PHP Version 7.2

  •  1,587
    Criss replied

    Hi Mehmet ,

    That's the problem with our admin file,
    The solution is as follows:
    open file: 

    Root \ modules \ fieldmegamenu \ controllers \ admin \ AdminFieldMegamenuController.php

    edit: public function setMedia()

    to: public function setMedia($isNewTheme = false)


    Best Regards,
    Criss - FieldThemes