Unable to start session

Using the latest piwik, that is the error I get. What’s the ultimate solution to fix it and what is likely causing it? And yes, I searched for this topic but found old methods.

Give permissions to your piwik/tmp/ directory.

See bug report: Error "unable to start session" instead of a proper error message · Issue #2717 · matomo-org/matomo · GitHub