When I run
I get next output:
count(): Parameter must be an array or an object that implements [warning] Countable Table.php:789 Drush Version : 7.4.0
For getting rid of the warning, I have been told I to install drush version 8. So I issued:
composer require drush/drush:8
giving next result:
./composer.json has been updated Running composer update drush/drush Loading composer repositories with package information Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Generating autoload files 9 packages you are using are looking for funding. Use the `composer fund` command to find out more!
So I suppose drush was already at version 8, but issuing the command above, I still have the same result: version 7.4.0. I am probably messing with several versions of drush.
I would like to understand better how to get rid of the old version, and being sure I am using the last one.