Pages not formatted correctly after 4.0.5 - 4.1.0 update

After updating from 4.05 to 4.1 the widgets are not in a grid but instead are stacked vertically and full width. The side bar and navigation bar are also not formatted correctly.

There are no errors reported in System Check. In “Security” PHP it says “Unable to determine the latest version of PHP available.”

Initially I saw some orange error banners, but they disappeared before I could copy them.

These are the errors in the Error Log:

22-Dec-2020 17:57:20 UTC] Error in Matomo: Could not verify the security token on this form.
[22-Dec-2020 17:59:14 UTC] PHP Fatal error:  Uncaught Error: Class 'ComposerAutoloaderInit325cd015e07e1ce7b3e9f0c8bc735115' not found in /home/banancyb/public_html/piwik/vendor/autoload.php:7
Stack trace:
#0 /home/banancyb/public_html/piwik/core/bootstrap.php(44): require_once()
#1 /home/banancyb/public_html/piwik/index.php(19): require_once('/home/banancyb/...')
#2 {main}
  thrown in /home/banancyb/public_html/piwik/vendor/autoload.php on line 7
[22-Dec-2020 17:59:14 UTC] PHP Fatal error:  Uncaught Error: Class 'ComposerAutoloaderInit325cd015e07e1ce7b3e9f0c8bc735115' not found in /home/banancyb/public_html/piwik/vendor/autoload.php:7
Stack trace:
#0 /home/banancyb/public_html/piwik/core/bootstrap.php(44): require_once()
#1 /home/banancyb/public_html/piwik/index.php(19): require_once('/home/banancyb/...')
#2 {main}
  thrown in /home/banancyb/public_html/piwik/vendor/autoload.php on line 7
[22-Dec-2020 17:59:32 UTC] Error in Matomo: Protocol https not in list of allowed protocols: 
[22-Dec-2020 17:59:33 UTC] Error in Matomo: Protocol https not in list of allowed protocols:

Help would much appreciated. Thanks!

Hi,

Can you maybe check if all of your files are not corrupted (maybe the update got interrupted before all files were overwritten).

e.g. by downloading the latest version from https://builds.matomo.org/ and overwriting all files.

Thanks Lukas for the quick reply!

Do I have to retain a copy of the config file?

Yes, you need to keep the config.ini.php (but it should not be overwritten as it isn’t contained in the zip.

If you really loose it you can also regain it by following the installer steps again

Thanks - will do. I’ll do the update and report back here.

I uploaded the update, but unfortunately it did not help. All the problems I mentioned are still the same.

How should I proceed?

Thanks!

I had the same problem after updating from 4.0.5 to 4.1. System check reported many files with integrity check errors. So overwriting almost all files solved the problem.