Problem/Motivation

When the Drush command does not find any string, it displays this warning :

 [warning] count(): Parameter must be an array or an object that implements Countable PotxCommands.php:116

Steps to reproduce

drush potx --folder path/without/translatable/strings/

CommentFileSizeAuthor
#2 potx-3180277-2.patch514 bytesprudloff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review
FileSize
514 bytes

The attached patch fixes the warning.

Tess Bakker’s picture

Status: Needs review » Closed (cannot reproduce)

No longer an issue in the latest dev version.