*** This bug is a duplicate of bug 1767361 ***
    https://bugs.launchpad.net/bugs/1767361

count() must be an array, or an object countable in (declared)

correction to  the operation on lines #551-570 in the file:
plugin_interface.lib.php

if ($options != null && count((array)$options) > 0) {
            foreach ($options->getProperties()
                as $propertyMainGroup
            ) {
                // check for hidden properties
                $no_options = true;
                foreach ($propertyMainGroup->getProperties() as $propertyItem) {
                    if 
(strcmp('PMA\libraries\properties\options\items\HiddenPropertyItem', 
get_class($propertyItem))) {
                        $no_options = false;
                        break;
                    }
                }

                $ret .= PMA_pluginGetOneOption(
                    $section,
                    $plugin_name,
                    $propertyMainGroup
                );
            }
        }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768071

Title:
  Warning in ./libraries/plugin_interface.lib.php#551  count():
  Parameter must be an array or an object that implements Countable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/1768071/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to