Error when running with php8 #1134

Closed
opened 2026-10-05 00:32:38 +02:00 by adam · 3 comments
Owner

Seems to be broken with php 8:

[Fri Jan 29 18:24:24.149797 2021] [php:error] [pid 11906] PHP Fatal error:  Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /usr/share/webapps/piwigo/include/common.inc.php:20
Stack trace:
#0 /usr/share/webapps/piwigo/index.php(11): include_once()
#1 {main}\n  thrown in /usr/share/webapps/piwigo/include/common.inc.php on line 20

and this function is removed since php 8: https://www.php.net/manual/en/function.get-magic-quotes-gpc.php

any news upstream?

as reported on the AUR: https://aur.archlinux.org/packages/piwigo/#comment-788761

> > > Seems to be broken with php 8: > ``` > [Fri Jan 29 18:24:24.149797 2021] [php:error] [pid 11906] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /usr/share/webapps/piwigo/include/common.inc.php:20 > Stack trace: > #0 /usr/share/webapps/piwigo/index.php(11): include_once() > #1 {main}\n thrown in /usr/share/webapps/piwigo/include/common.inc.php on line 20 > ``` > and this function is removed since php 8: https://www.php.net/manual/en/function.get-magic-quotes-gpc.php > > any news upstream? > as reported on the AUR: https://aur.archlinux.org/packages/piwigo/#comment-788761 <!-- github-sync-id:797067229 -->
adam closed this issue 2026-10-05 00:32:38 +02:00
Author
Owner
Fix are here : https://github.com/Piwigo/Piwigo/pull/1282/files <!-- github-comment-id:770202477 -->
Author
Owner

@MatthieuLP can you take a look at compatibility with PHP 8 please?

@MatthieuLP can you take a look at compatibility with PHP 8 please? <!-- github-comment-id:884831912 -->
Author
Owner

Fixed in #1282

Fixed in #1282 <!-- github-comment-id:1290010979 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1134