Whenever some file in Matomo get corrupted, you can easily fix it by either overwriting all files with the ones from the latest zip or if you want to be completly sure it is fixed, backup the config/config.ini.php and replace all other files with the latest version as explained here: