An easy way to solve this problem is to set the `status` of that module to `0` in the `system` table. Then try to uninstall them completely and then try to install and set them again.

I know this is not the best way (there are other ways), but sometimes short and not optimal method is better that spend more time on debugging.