Lots of errors after Matomo update

I just updated matomo to 3.13.1 and now I get all these errors:

Entry "Piwik\Plugins\TwoFactorAuth\Validator" cannot be resolved: Entry "Piwik\Plugins\TwoFactorAuth\TwoFactorAuthentication" cannot be resolved: Entry "Piwik\Plugins\TwoFactorAuth\SystemSettings" cannot be resolved: Entry "Piwik\Concurrency\Lock" cannot be resolved: Entry "Piwik\Concurrency\LockBackend" cannot be resolved: the class is not instantiableFull definition:Object ( class = #NOT INSTANTIABLE# Piwik\Concurrency\LockBackend scope = singleton lazy = false)Full definition:Object ( class = Piwik\Concurrency\Lock scope = singleton lazy = false __construct( $backend = get(Piwik\Concurrency\LockBackend) $lockKeyStart = #UNDEFINED# $defaultTtl = (default value) NULL ))Full definition:Object ( class = Piwik\Plugins\TwoFactorAuth\SystemSettings scope = singleton lazy = false __construct( ))Full definition:Object ( class = Piwik\Plugins\TwoFactorAuth\TwoFactorAuthentication scope = singleton lazy = false __construct( $systemSettings = get(Piwik\Plugins\TwoFactorAuth\SystemSettings) $recoveryCodeDao = get(Piwik\Plugins\TwoFactorAuth\Dao\RecoveryCodeDao) $twoFaSecretRandomGenerator = get(Piwik\Plugins\TwoFactorAuth\Dao\TwoFaSecretRandomGenerator) ))Full definition:Object ( class = Piwik\Plugins\TwoFactorAuth\Validator scope = singleton lazy = false __construct( $twoFactorAuthentication = get(Piwik\Plugins\TwoFactorAuth\TwoFactorAuthentication) ))

Does anyone know what the problem is and how I can fix this?
I dont have 2FA enabled btw.

Can you try what I suggested in this thread: Updated to latest version and hit with this error. (pasted below) ?

Thanks, replacing that file helped.