Upgraded to 5.6.0. and get error

I just updated the matomo instance to 5.6.0 and now get:

An exception has been thrown during the rendering of a template (“error evaluating function `fade` The first argument to fade must be a color index: 2545 in _modal.less”).

I’ve tried the solution I could find but none worked. Plase advise

3 Likes

I get exactly the same error.

After upgrading (automatic) I got this error message:

Please contact the system administrator, or login to Matomo to learn more.

If you are Super User, but cannot login because of this error, you can still troubleshoot further. Follow these steps:

  1. open the config/config.ini.php file and look for the salt value under [General].
  2. edit this current URL you are viewing and add the following text (replacing salt_value_from_config by the salt value from the config file):

index.php?i_am_super_user=salt_value_from_config&…

2 Likes

Yep, that was the other error, but that didn’t help me at all; still just goes to the screen with the above ‘fade’ error. No matter what I do. I emptied cache etc etc … all to no avail.

1 Like

Same for me.

Performed right now a manual update without success…

1 Like

The same error also occurs with my installation.

1 Like

Yep, same here.

Performed the automatic update and tried the suggestions in the error message to no avail.
I believe the list of plugins in my config.ini.php got nuked in the process for whatever reason.

1 Like

I have the same error, after auto-update:

An exception has been thrown during the rendering of a template (“error evaluating function `fade` The first argument to fade must be a color index: 2545 in _modal.less”).

Have anyone a solution for fixed this?

+1 - we’ve got this issue as well.

+1 So do I, even after manual upgrading using with zip and console core:update command.

This problem happen in the “Mordern” or other themes.

1.) ./console plugin:list → Find the optional Plugins
2.) ./console plugin:deactivate Modern → Example use your optional plugin

Then it should work again. In my case it was the Modern Theme.

4 Likes

If you do not have SSH access to the server, you can also remove the theme by editing the config/config.ini.php file.

Remove the following line and copy the file back to the server:

Plugins = “Modern”

After reloading, everything should work again.

3 Likes

Thank you very much, @rene.hoehle !

Perfect, yes, that solved it. Thanks!

Bei mir ist Plugin = “Modern” nicht aufgeführt, was könnte es sonst sein?

Ich habe den gleichen Fehler. Eine Deaktivierung des Designs lässt das System erst einmal wieder funktionieren. Danke, für den Tipp, die Modulzeile in der Config zu entfernen. Bis zum Update des Modern-Designs besser kein Update machen.

Hi, You can fix the error, at least temporarily, by removing the lines containing ‘fade’ from the LESS file:

  1. Open /plugins/Morpheus/stylesheets/base/mixins.less
  2. Remove all properties from the CSS class ‘.vertical-scroll-shadows’ so that only ‘.vertical-scroll-shadows {}’ remains
  3. The update script will then continue to run for me

Of course, this is only a workaround to make the page functional again :wink:

We will release a patch version soon, which should fix this issue with the Modern theme.

4 Likes

Thanks Alex, your workarround worked for me.

I ran into the same issue after updating to 5.6.0. The fade error in _modal.less seems to be a bug with this release. I cleared cache and tried the usual fixes, but nothing worked. For now, I rolled back to 5.5.x and it runs fine.