After updating Matomo from 3.7.0 to 3.9.0 I’m getting an error I cannot get past:
No entry or class found for ‘EnableDbVersionCheck’
The only reference to EnableDbVersionCheck is in core/FrontController.php:
if (!StaticContainer::get('EnableDbVersionCheck')) {
return;
}
According to console core:update the database is up-to-date:
Everything is already up to date.
If I comment this check out, it works just fine and Matomo loads. Any pointers as to what the cause is and how I can resolve this? The search on the forums and Google didn’t uncover any leads unfortunately.
Very interesting: I didn’t have any mention of EnableDbVersionCheck in my global.php. Adding this and setting this to true (default value) resolved the problem.
Its a bit odd though to have such an error with something that isn’t explicitly in the config file.
The File integrity section complains about a lot of files (its a massive list with “File to delete” which shouldn’t be deleted since they are a part of Matomo) but at the end it does say: