Hello everyone on the forum, I’ve installed Matomo, and when I go into the /matomo folder to start configuring it, I get the following error screen…
I downloaded Matomo from the official website and uploaded it to the hosting using FTP.
I’ve read that it’s an error in the php.ini file, but I don’t know how to fix it. I have free hosting; I don’t know if that’s the cause of the error. Thank you very much, regards.
That may not be something that can be fixed. Because of the way shared hosting works, environment settings like the php.ini can’t be changed without it affecting all users
It seems that Matomo wants to use the get_current_user() PHP function, but this function is disabled on our hosting. That’s not an error, it’s a deliberate restriction.
Still, looking at what the function does, I don’t see an immediate reason as to why this function needs to be disabled.
I’ll check upstream if this function could be re-enabled or replaced with a “stub” function so Matomo can keep working.