( ! ) 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, '44.201.94.236', 'categories', 34, NULL, NULL, NULL, NULL, NULL ) ; in C:\PHP\piwigo\include\dblayer\functions_mysqli.inc.php on line 847
Call Stack
#TimeMemoryFunctionLocation
10.0003379416{main}( )...\index.php:0
20.05841109400pwg_log( $image_id = ???, $image_type = ???, $format_id = ??? )...\index.php:357
30.05851110592pwg_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 \'44.201.94.236\',\n \'categories\',\n 34,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;' )...\functions.inc.php:511
40.05881110640my_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 \'44.201.94.236\',\n \'categories\',\n 34,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;', $die = FALSE )...\functions_mysqli.inc.php:132
50.05891111088trigger_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 \'44.201.94.236\',\n \'categories\',\n 34,\n NULL,\n NULL,\n NULL,\n NULL,\n NULL\n )\n;', $error_type = 512 )...\functions_mysqli.inc.php:847