Well... It's certainly there in install.sql... id_file int(10) auto_increment...
WHERE id_file = {int:id_file}', WHERE id_file = id_file', WHERE id_file = {int:id_file}', WHERE id_file = id_file',Although the issue is so old. The bug is still. I could solve it for SMF and for Wedge.
SMF
Aeva-Subs.php (Version 2.10) line 3721change toCode: [Select] WHERE id_file = {int:id_file}',Code: [Select] WHERE id_file = id_file',
Wedge
Subs-Media.php line 3600change toCode: [Select] WHERE id_file = {int:id_file}',Code: [Select] WHERE id_file = id_file',
Added transparency flag to pictures, and functions to determine transparency
The database value you're trying to insert does not exist: id_file
Function: aeva_resetTransparency
log_error($id_file);New with 2.10 Added transparency flag to pictures, and functions to determine transparency
3594function aeva_resetTransparency($id_file, $path)
3595{
3596 $is_transparent = aeva_isTransparent($path);
3597 wesql::query('
3598 UPDATE {db_prefix}media_files
3599 SET transparency = {string:transparency}
3600 WHERE WHERE id_file = id_file',
3601 array(
3602 'id_file' => $id_file,
3603 'transparency' => $is_transparent ? 'transparent' : 'opaque',
3604 )
3605 );
3606 return $is_transparent;
3607});