Disable your browser extensions. If the problem persists, you should try disabling half of them. This should resolve the conflict. If this doesn't work, you should disable all extensions. If you can't find a single extension, you can try enabling one at a time. Then, try the other half. Hopefully, the Gmail attachment problem will be solved. You can attach files to your emails again.