( ! ) Warning: [mysql error 1062] Duplicate entry '122781' for key 'PRIMARY' INSERT INTO piwigo_history ( date, time, user_id, IP, section, category_id, image_id, image_type, format_id, auth_key_id, tag_ids ) VALUES ( CURRENT_DATE, CURRENT_TIME, 2, '3.238.72.180', 'categories', 16, NULL, NULL, NULL, NULL, NULL ) ; in C:\PHP\piwigo\include\dblayer\functions_mysqli.inc.php on line 847
Call Stack
#TimeMemoryFunctionLocation
10.0002365976{main}( )...\index.php:0
20.0261876080pwg_log( $image_id = ???, $image_type = ???, $format_id = ??? )...\index.php:357
30.0261877272pwg_query( $query = '\nINSERT INTO piwigo_history\n (\n date,\n time,\n user_id,\n IP,\n section,\n category_id,\n image_id,\n image_type,\n format_id,\n auth_key_id,\n tag_ids\n )\n VALUES\n (\n CURRENT_DATE,\n CURRENT_TIME,\n 2,\n \'3.238.72.180\',\n \'categories\',\n 16,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;' )...\functions.inc.php:511
40.0262877320my_error( $header = '\nINSERT INTO piwigo_history\n (\n date,\n time,\n user_id,\n IP,\n section,\n category_id,\n image_id,\n image_type,\n format_id,\n auth_key_id,\n tag_ids\n )\n VALUES\n (\n CURRENT_DATE,\n CURRENT_TIME,\n 2,\n \'3.238.72.180\',\n \'categories\',\n 16,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;', $die = FALSE )...\functions_mysqli.inc.php:132
50.0262877768trigger_error( $message = '[mysql error 1062] Duplicate entry \'122781\' for key \'PRIMARY\'\n\nINSERT INTO piwigo_history\n (\n date,\n time,\n user_id,\n IP,\n section,\n category_id,\n image_id,\n image_type,\n format_id,\n auth_key_id,\n tag_ids\n )\n VALUES\n (\n CURRENT_DATE,\n CURRENT_TIME,\n 2,\n \'3.238.72.180\',\n \'categories\',\n 16,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;', $error_type = 512 )...\functions_mysqli.inc.php:847