[batch manager] Column 'object_id' cannot be null #1797

Closed
opened 2026-10-05 00:56:59 +02:00 by adam · 0 comments
Owner

When applying an action twice on "the whole set", you get this fatal error:

Fatal error: Uncaught mysqli_sql_exception: Column 'object_id' cannot be null in include/dblayer/functions_mysqli.inc.php:132 Stack trace:

#0 include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nINSERT INTO ...') #1 include/dblayer/functions_mysqli.inc.php(550): pwg_query('\nINSERT INTO ...')
#2 include/functions.inc.php(644): mass_inserts('piwigo_activity', Array, Array)
#3 admin/batch_manager_global.php(246): pwg_activity('photo', Array, 'edit', Array)
#4 admin/batch_manager.php(814): include('/www/htdocs/w00...')
#5 admin.php(346): include('/www/htdocs/w00...')
#6 {main} thrown in include/dblayer/functions_mysqli.inc.php on line 132

When applying an action twice on "the whole set", you get this fatal error: > Fatal error: Uncaught mysqli_sql_exception: Column 'object_id' cannot be null in include/dblayer/functions_mysqli.inc.php:132 Stack trace: > > #0 include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nINSERT INTO `...') > #1 include/dblayer/functions_mysqli.inc.php(550): pwg_query('\nINSERT INTO `...') > #2 include/functions.inc.php(644): mass_inserts('piwigo_activity', Array, Array) > #3 admin/batch_manager_global.php(246): pwg_activity('photo', Array, 'edit', Array) > #4 admin/batch_manager.php(814): include('/www/htdocs/w00...') > #5 admin.php(346): include('/www/htdocs/w00...') > #6 {main} thrown in include/dblayer/functions_mysqli.inc.php on line 132 <!-- github-sync-id:2046671521 -->
adam closed this issue 2026-10-05 00:56:59 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1797