Your message dated Fri, 15 Dec 2023 17:19:14 +0000
with message-id <[email protected]>
and subject line Bug#1043259: fixed in shaarli 0.13.0+dfsg-1
has caused the Debian Bug report #1043259,
regarding ArgumentCountError: Too few arguments to function (set_error_handler)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1043259: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043259
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: shaarli
Version: 0.12.1+dfsg-8
Severity: important
Tags: upstream
X-Debbugs-Cc: [email protected]
Whenever I try to access Shaarli, it shows a blank page. apache error
log shows the following:
[proxy_fcgi:error] [pid 146598:tid 146598] [client ...:35052] AH01071: Got
error 'PHP message: PHP Fatal error: During inheritance of ArrayAccess:
Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4
passed in /usr/share/php/Slim/Collection.php on line 20 and exactly 5 expected
in /usr/share/shaarli/index.php:50\nStack trace:\n#0
/usr/share/php/Slim/Collection.php(20): {closure}()\n#1
/usr/share/php/Slim/autoload.php(68): require('...')\n#2
/usr/share/php/Slim/Container.php(83): {closure}()\n#3
/usr/share/php/Pimple/Container.php(122):
Slim\\Container->Slim\\{closure}()\n#4 /usr/share/php/Slim/Container.php(109):
Pimple\\Container->offsetGet()\n#5
/usr/share/php/Slim/DefaultServicesProvider.php(84): Slim\\Container->get()\n#6
/usr/share/php/Pimple/Container.php(122):
Slim\\DefaultServicesProvider->Slim\\{closure}()\n#7
/usr/share/php/Slim/Container.php(109): Pimple\\Container->offsetGet()\n#8
/usr/share/php/Slim/App.php(267): Slim\\Container->get()\n#9
/usr/share/shaarli/index.php(95): Slim\\App->group()\n#10 {main} in
/usr/share/php/Slim/Collection.php on line 20', referer ...
The 5th parameter of set_error_handler, $errcontext, has been removed
in PHP 8, so it must be given a default value.
I found an upstream fix for the issue:
https://github.com/shaarli/Shaarli/pull/1915
However, I don't see the issue on a new Shaarli install. I'm not sure
what conditions lead to the error currently.
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-10-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages shaarli depends on:
ii gettext 0.21-12
ii javascript-common 11+nmu1
ii libapache2-mod-php8.2 [php-json] 8.2.7-1~deb12u1
ii libjs-jquery 3.6.1+dfsg+~3.5.14-1
ii libjs-jquery-lazyload 1.9.7-2
ii libjs-jquery-ui 1.13.2+dfsg-1
ii php 2:8.2+93
ii php-arthurhoaro-web-thumbnailer 2.1.0+dfsg-2
ii php-common 2:93
ii php-curl 2:8.2+93
ii php-fpm 2:8.2+93
ii php-gd 2:8.2+93
ii php-intl 2:8.2+93
ii php-klogger 1.2.2-1
ii php-ldap 2:8.2+93
ii php-malkusch-lock 2.2.1+ds-1
ii php-mbstring 2:8.2+93
ii php-netscape-bookmark-parser 3.2.0-1
ii php-oscarotero-gettext 4.8.7-1
ii php-parsedown 1.7.4-1
ii php-parsedown-extra 0.8.1-2
ii php-pubsubhubbub-publisher 0~~20181009-2
ii php-slim 3.12.4-1
ii php8.2 [php] 8.2.7-1~deb12u1
ii php8.2-cli [php-json] 8.2.7-1~deb12u1
ii php8.2-curl [php-curl] 8.2.7-1~deb12u1
ii php8.2-fpm [php-json] 8.2.7-1~deb12u1
ii php8.2-gd [php-gd] 8.2.7-1~deb12u1
ii php8.2-intl [php-intl] 8.2.7-1~deb12u1
ii php8.2-ldap [php-ldap] 8.2.7-1~deb12u1
ii php8.2-mbstring [php-mbstring] 8.2.7-1~deb12u1
Versions of packages shaarli recommends:
ii apache2 [httpd] 2.4.57-2
shaarli suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: shaarli
Source-Version: 0.13.0+dfsg-1
Done: James Valleroy <[email protected]>
We believe that the bug you reported is fixed in the latest version of
shaarli, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Valleroy <[email protected]> (supplier of updated shaarli package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 15 Dec 2023 11:46:30 -0500
Source: shaarli
Architecture: source
Version: 0.13.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: James Valleroy <[email protected]>
Closes: 1032920 1040575 1043259
Changes:
shaarli (0.13.0+dfsg-1) unstable; urgency=medium
.
* New upstream version 0.13.0+dfsg (Closes: #1043259)
* Refresh patches
* Add build-deps for sphinx document generation
* Apply upstream patch for PHP 8.x intl incompatibility
* Add dependency on php-klogger
* Remove obsolete patches
* d/clean: Specify css directory
* Remove .doctrees folder after building docs
* Re-number patches
* Drop fonts that are packaged separately
* Depend on fonts-fork-awesome (Closes: #1040575)
* Links to packaged Roboto fonts
* Link to packaged sphinx JS files
* Set standards version to 4.6.2
* Update d/copyright
* Minify qrcode JS during build (Closes: #1032920)
Checksums-Sha1:
d8364b8580569532c65bb448bde879756489c3e6 2659 shaarli_0.13.0+dfsg-1.dsc
7981e5251338fc5a0af3057333b707da3c6ddc87 1408318
shaarli_0.13.0+dfsg.orig.tar.gz
85903cec6e1ef13c7150cf87c47a636da0b6d62b 24540
shaarli_0.13.0+dfsg-1.debian.tar.xz
82dcbdb0801f1ee695742de891e29cefd338bc4d 23853
shaarli_0.13.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
28bfcdb6a08f283214ee28590018f1c4ef4d27fe74616fcd63719eda4aefa241 2659
shaarli_0.13.0+dfsg-1.dsc
b18538a0a4adc31b00f4c8a841b2776c0031fb1b5d15fa5f39027210b1a6c439 1408318
shaarli_0.13.0+dfsg.orig.tar.gz
36843c10804da4df2be61dea821794a16b7833454aaea334be53f56b24e585ab 24540
shaarli_0.13.0+dfsg-1.debian.tar.xz
7e1f514977a957a484fe52d101201433ddf38db8ba0bf6701ab705567562deaf 23853
shaarli_0.13.0+dfsg-1_amd64.buildinfo
Files:
eb5234601be4c41207eb8ba01b92ffa2 2659 web optional shaarli_0.13.0+dfsg-1.dsc
9afe0d7bd3900b5443138664d7076c1b 1408318 web optional
shaarli_0.13.0+dfsg.orig.tar.gz
cdfbfa5738502d1f45be35bfda78874b 24540 web optional
shaarli_0.13.0+dfsg-1.debian.tar.xz
993a7d50def3c45d96bb3cbe29f9df6b 23853 web optional
shaarli_0.13.0+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJKBAEBCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmV8hEMWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICGkGEADVNSjOZhS+SJcCXqkPGiMEuSxo
taAolfu/wmq8GuJvH3zaTWgzg4OxaNn+t4w6NlhjTzEJ7TN8REu41Is0/vQOmWT2
UrYVUonTfj9hkVijmLgvlIkzVl5STom1pUgwPbs1OnquU0iPfktNHfDwtkejGQRw
mxD+zj+qPgQZkBcRT+SK8aLNDhSZBSovlYLXMfPLdfJHsCSLLmAP1B5sFgJwjL2U
WnqC6l4BbQ6LGT9uNmKMTW5Ds57Krg+5rriWKEcB9zkucNFwaZ/RLuBMIWJ45wDB
A4v2FSfBSgdx9YYBkYafiHmq2JkSOOIlO6IadrB9QLQO0ls1ZLbnU5dRG1NnPDyj
SXN1kL3/RrBn2Q2Jvu9ftC9rXEtVs4mmrN+DpGdP/307XdKUG1SxLhzzlzME89yJ
5GRpI3AFRtYA1KqPlUdBGSVnzd38jSthPaJBn3fMXT6i+3BGqsrwLM11YFtFYE7h
I0S1NcgEyWzwdFGLPG6u/4IlEdVA3bVqorR8Z22JxfiCyNHQdPYMkAATH/W14h6i
XdxqNuu0ItAStvL67nU3Vx0B/27en/D4O7ZLt7uoiS6Fhot+eQ5mHzRDyK/AefnK
LZyaHyH+NiSuBhCQ1NAlvKvzxkFcKb9X7eOExZmLxRsd84OtazcL+DAL8kttUoD1
561FKSaPlPOfEaJTjw==
=EWie
-----END PGP SIGNATURE-----
--- End Message ---