You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently getting the following PHP warnings when updating language packs on a site:
PHP Warning: Invalid argument supplied for foreach() in phar:///usr/bin/wp/vendor/wp-cli/language-command/src/WP_CLI/CommandWithTranslation.php on line 95
Warning: Invalid argument supplied for foreach() in phar:///usr/bin/wp/vendor/wp-cli/language-command/src/WP_CLI/CommandWithTranslation.php on line 95
Success: Updated 0/0 translations.
I'm currently getting the following PHP warnings when updating language packs on a site:
The code in question is here:
language-command/src/WP_CLI/CommandWithTranslation.php
Lines 88 to 103 in b17cdd8
Looks like the code currently doesn't check whether
$available_updates
is actually set or is an array. We could add acontinue
statement in that case.The text was updated successfully, but these errors were encountered: