DataBridge v2 replaces KFM with a better solution: KCFinder
I'd suggest switching to that rather than debugging how to get KFM working.
If you want help updating KFM to MySQLi then I'd need FTP access and a URL to view the error. Did you update any of the KFM files manually? I'd have to see those to understand what is wrong.