• Resolved martinjh999

    (@martinjh999)


    Running in a WordPress container with PHP 7.2.8 and get the following warnings…

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/plugins/docxpresso/classes/ODF2HTML5/ODF2HTML5.inc on line 4501

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/plugins/docxpresso/classes/ODF2HTML5/ODF2HTML5.inc on line 4502

    The File is displayed fine and the plugin works fine too but is there anything I can do to hide these warnings. I was wondering if it was PHP upgrade I needed to do in the container or not…

    • This topic was modified 6 years, 7 months ago by martinjh999.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author docxpresso

    (@docxpersso)

    Dear martinjh999,

    A production server should not show warnings: you can deactivate them in php.ini

    Anyhow we will have a look at ithe issue and we will try to patch it for nrxt release.

    Eduardo

    Thread Starter martinjh999

    (@martinjh999)

    Thanks – It’s shared hosting so I have no control over the php.ini.

    Look forward to the updated plugin.

    Plugin Author docxpresso

    (@docxpersso)

    Dear martinjh999,

    We have just uploaded a new versión that eliminates teh PHP 7.2 warnings that you were experiencing.

    Please, confirm that everything works as expected.

    Regards,

    Eduardo

    Thread Starter martinjh999

    (@martinjh999)

    Works fine now thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: count(): Parameter must be an array or an object that implements Counta’ is closed to new replies.