Errors occurring with php 7.1

when I logged into Matomo after installing it on
there was this message:

Matomo will stop supporting PHP 5.6 in the next major version. Upgrade your PHP to at least PHP 7.1, before it’s too late!
The PHP version 5.6 you are using has reached its End of Life (EOL). You are strongly urged to upgrade to a current version, as using this version may expose you to security vulnerabilities and bugs that have been fixed in more recent versions of PHP.
= = =

I tried updating the php to 7.1 and then I couldn’t view certain plugins - when I clicked on one of them (they had red borders) I got logged out with the following error message showing:

“You can’t access this resource as it requires an View access for at least one website”

I changed back to php 5.6 and the problem went away. It also says in the main settings page that I need to update to php 7.1

How can this issue be fixed if I use php 7.1?


It might be that after updating PHP you are logged out, all cookies become invalid and you need to login again.

Did you try clearing cookies after updating PHP and logging in again?