[pkg-php-pear] Bug#976135: Breaks tt-rss
Andrey Rahmatullin
wrar at debian.org
Mon Nov 30 08:45:48 GMT 2020
Package: php-php-gettext
Version: 1.0.12-1
Severity: serious
Control: affects -1 tt-rss
After upgrading php-php-gettext from 1.0.12-0.1 to 1.0.12-1 my tt-rss
installation no longer works, showing some JS errors on load. Apache error.log
contains this traceback:
PHP Fatal error: Uncaught Error: Call to a member function evaluate() on null in /usr/share/php/php-php-gettext/gettext.php:325
Stack trace:
#0 /usr/share/php/php-php-gettext/gettext.php(351): gettext_reader->select_string()
#1 /usr/share/php/php-php-gettext/gettext.inc(293): gettext_reader->ngettext()
#2 /usr/share/tt-rss/www/include/functions.php(1725): _ngettext()
#3 /usr/share/tt-rss/www/index.php(114): init_js_translations()
#4 {main}
thrown in /usr/share/php/php-php-gettext/gettext.php on line 325, referer: <snip>
As far as I can see, gettext.php:325 was modified by
0002-Use-custom-parser-for-parsing-plural-expressions-ins.patch:
$plural = $plural_header->expression->evaluate($n);
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.5.0-1-amd64 (SMP w/1 CPU thread)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages php-php-gettext depends on:
ii php-mbstring 2:7.4+76
ii php-pear 1:1.10.9+submodules+notgz-1
ii php7.4-mbstring [php-mbstring] 7.4.11-1
php-php-gettext recommends no packages.
php-php-gettext suggests no packages.
-- no debconf information
More information about the pkg-php-pear
mailing list