PHP Fatal error: Uncaught mysqli_sql_exception on admin page #2150

Open
opened 2026-10-05 01:07:58 +02:00 by adam · 0 comments
Owner

I am running Piwigo 16.1.0 and when I access the admin page, I get the following error:

[05-Dec-2025 04:00:36 Europe/Vienna] PHP Fatal error:  Uncaught mysqli_sql_exception: Incorrect string value: '\xD4\x11\x04dat...' for column 'data' at row 1 in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nREPLACE INTO p...')
#1 /data/projects/piwigo/include/functions_session.inc.php(158): pwg_query('\nREPLACE INTO p...')
#2 /data/projects/piwigo/include/pwgsession.class.php(21): pwg_session_write('6j6ln927iqv9md4...', '\x00\x00\x00\x02\x14\t\x11\x11pwg_sho...')
#3 [internal function]: PwgSession->write('6j6ln927iqv9md4...', '\x00\x00\x00\x02\x14\t\x11\x11pwg_sho...')
#4 [internal function]: session_write_close()
#5 {main}
  thrown in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 132

However, it seems it doesn't have any negative effect on the functionality of Piwigo. I just thought I should mention it. A fatal PHP error is after all not just any error.

P.S.:
Piwigo 16.1.0 Check for upgrade
Installed on November 16, 2016, 9 years 2 weeks 4 days ago
Operating system: Linux
PHP: 8.4.15 (Show info) [2025-12-05 04:13:48]
MySQL: 8.4.7 [2025-12-05 04:13:48]
Graphics Library: External ImageMagick 7.1.1-47
Cache size 1126.48 Mo   calculated 45 seconds ago Refresh

I am running Piwigo 16.1.0 and when I access the admin page, I get the following error: ``` [05-Dec-2025 04:00:36 Europe/Vienna] PHP Fatal error: Uncaught mysqli_sql_exception: Incorrect string value: '\xD4\x11\x04dat...' for column 'data' at row 1 in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nREPLACE INTO p...') #1 /data/projects/piwigo/include/functions_session.inc.php(158): pwg_query('\nREPLACE INTO p...') #2 /data/projects/piwigo/include/pwgsession.class.php(21): pwg_session_write('6j6ln927iqv9md4...', '\x00\x00\x00\x02\x14\t\x11\x11pwg_sho...') #3 [internal function]: PwgSession->write('6j6ln927iqv9md4...', '\x00\x00\x00\x02\x14\t\x11\x11pwg_sho...') #4 [internal function]: session_write_close() #5 {main} thrown in /data/projects/piwigo/include/dblayer/functions_mysqli.inc.php on line 132 ``` However, it seems it doesn't have any negative effect on the functionality of Piwigo. I just thought I should mention it. A fatal PHP error is after all not just any error. P.S.: Piwigo 16.1.0 Check for upgrade Installed on November 16, 2016, 9 years 2 weeks 4 days ago Operating system: Linux PHP: 8.4.15 (Show info) [2025-12-05 04:13:48] MySQL: 8.4.7 [2025-12-05 04:13:48] Graphics Library: External ImageMagick 7.1.1-47 Cache size 1126.48 Mo   calculated 45 seconds ago Refresh <!-- github-sync-id:3697331739 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2150