Something is broken in my piwigi setup, and I can't quite nail it down. I'm having a hard time uploading pics, sometimes it works, sometimes it doesn't. I am getting a lot of "access denied" errors. Sometimes (but not always) on logout I see this error:
Fatal error: Uncaught mysqli_sql_exception: Column 'object_id' cannot be null in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php(132): mysqli->query() #1 /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php(550): pwg_query() #2 /var/www/html/piwigo/include/functions.inc.php(647): mass_inserts() #3 /var/www/html/piwigo/include/functions_user.inc.php(1238): pwg_activity() #4 /var/www/html/piwigo/include/user.inc.php(16): logout_user() #5 /var/www/html/piwigo/include/common.inc.php(188): include('...') #6 /var/www/html/piwigo/index.php(11): include_once('...') #7 {main} thrown in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 132
How can I debug this?
Piwigo 14.3.0
Installed on 21 March 2023, 1 year 2 weeks 3 days ago
Operating system: Linux
PHP: 8.1.27 (Show info) [2024-04-07 13:09:24]
MySQL: 10.5.23-MariaDB [2024-04-07 09:09:24]
Graphics Library: ImageMagick 7.1.1-28
Cache size 2861.57 Mo calculated 8 seconds ago Refresh
Activated plugin list 2
Community
GThumb+
Offline