Upload Image

I have an issue, when I'm trying to upload any image to products
Tygh\Exceptions\AException
Message
Duplicate entry '0' for key 'PRIMARY' (1062)
INSERT INTO cscart_images (`image_y`, `image_x`, `image_path`) VALUES (163, 290, 'dynamic.jpg')
Error at
C:\OpenServer\domains\testsite.ru\app\Tygh\Database\Connection.php, line: 851
Backtrace
File: C:\OpenServer\domains\testsite.ru\app\Tygh\Database\Connection.php
Line: 446
Function: error
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.database.php
Line: 117
Function: query
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.images.php
Line: 118
Function: db_query
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.images.php
Line: 400
Function: fn_update_image
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.images.php
Line: 813
Function: fn_update_image_pairs
File: C:\OpenServer\domains\testsite.ru\app\addons\banners\func.php
Line: 248
Function: fn_attach_image_pairs
File: C:\OpenServer\domains\testsite.ru\app\addons\banners\controllers\backend\banners.php
Line: 27
Function: fn_banners_update_banner
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.control.php
Line: 687
Function: include
File: C:\OpenServer\domains\testsite.ru\app\functions\fn.control.php
Line: 443
Function: fn_run_controller
File: C:\OpenServer\domains\testsite.ru\nastr.php
Line: 15
Function: fn_dispatch