No other program has this problem and previous versions of Geany did not have this problem.
When I go to the Devices and Printers panel and remove the drivers in the category "Unspecified", the error messages no longer appear; after a reboot, the problem is back.
This is not caused by removing a device without clicking on the "Safely Remove Hardware" icon in the system tray.