Okay
  Public Ticket #1981616
Error count(): Parameter must be an array or an object that implements Countable
Closed

Comments

  • Sergio started the conversation

    Hola, he instalado la plantilla pero me aparece el siguiente error, y no he encontrado ninguna solución en el foro, ¿pueden ayudarme?

    Warning: count(): Parameter must be an array or an object that implements Countable in html/modules/fieldhtmlblock/class/fieldhtmlblock.class.php on line 126

    Gracias

  •  250
    Andrea replied

    Hi Sergio,

    Please provide me FTP login information and Back Office access of your site.

    Best Regards,

    Andrea - FieldThemes Support Team

  •   Sergio replied privately
  •  250
    Andrea replied

    Hi  Sergio,

    We have successfully edited, you can check again.


    Best Regards,

    Andrea - FieldThemes Support Team

  •   Sergio replied privately
  •  250
    Andrea replied

    Hi Sergio,

    The solution is as follows:
    open file:
    Root module fieldmegamothy control controls AdminFieldMegamothyContoder.php
    edit: public function setMedia ()
    edit into: public function setMedia ($ isNewTheme = false)


    Best Regards,

    Andrea - FieldThemes Support Team

  • Sergio replied

    Hi Andrea

    i can't find:
    Root module fieldmegamothy control controls AdminFieldMegamothyContoder.php

    You mean:
    Root/module/fieldmegamenu/controllers/AdminFieldMegamenuController.php

    Thanks

  •  250
    Andrea replied

    Hi Sergio,

    Yes. you fix it. It works well not you

    Best Regards,

    Andrea - FieldThemes Support Team

  • Sergio replied

    Thanks

  •  250
    Andrea replied

    Hi Sergio,

    Yes, have a nice day!

    Best Regards,

    Andrea - FieldThemes Support Team