Archive script: tcpdf_fonts Warning

When we ran the archiving script, we received the following warnings within a second (output formatted):

Log excerpt

WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2001): Warning - array_map(): Expected parameter 2 to be an array, bool given
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2009): Warning - array_merge(): Expected parameter 2 to be an array, null given
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(1799): Warning - count(): Parameter must be an array or an object that implements Countable
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/tcpdf.php(5236): Warning - count(): Parameter must be an array or an object that implements Countable
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2001): Warning - array_map(): Expected parameter 2 to be an array, bool given
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2009): Warning - array_merge(): Expected parameter 1 to be an array, null given
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/tcpdf.php(4061): Warning - Invalid argument supplied for foreach()
WARNING [2019-11-05 08:11:26] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2009): Warning - array_merge(): Expected parameter 1 to be an array, null given

WARNING [2019-11-05 08:11:27] 8048 /var/www/matomo/vendor/tecnickcom/tcpdf/include/tcpdf_fonts.php(2009): Warning - array_merge(): Expected parameter 1 to be an array, null given

Matomo 3.12.0
PHP 7.3.11
CentOS 7.7.1908

Seems like this function is at fault.
But honestly I have no idea why it doesn’t work (there are many strange things in the tcpdf code) and why it breaks only for you (do you by chance have an “uncommon” language on your system?)

If you mean the locale, php is configured as follows:

$ php -r ‘echo setlocale(LC_ALL, 0);’
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C