Warning when 0 strings are found

Created on 2 November 2020, about 4 years ago
Updated 27 April 2024, 8 months ago

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/

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024