News for hackers. Stuff that matters.
Re:Migrating from Google Analytics by chinathrow on Thursday January 03, 2019 @07:30AM (#18814601)
From [4] I learn:

"I have a Hostgator shared hosting with PHP 5.5."

PHP 5.5 is EOL since mid of 2017. Can't you switch to newer version such as 7.2?

Matomo itself does not even display the required version according to [1]. Their FAQ talks about 5.3 - which is horribly ancient too.

[1] https://matomo.org/docs/installation/

Re:Migrating from Google Analytics by Findus23 on Thursday January 03, 2019 @09:18AM (#18815217)
Hi,

I have to agree that one should be using PHP 7.2. It also gives a nice performance boost to Matomo. The required PHP version for Matomo is shown in [1] (5.5.9 or greater) Can you please send me a link to the FAQ page mentioning 5.3 (e.g. to [email protected]) so they can be updated?

[1] https://matomo.org/docs/requirements/

Re:Migrating from Google Analytics by chinathrow on Thursday January 03, 2019 @10:37AM (#18815849)
My mistake, I was skimming the docs only but overlooked the specially linked requirements. I would go further though and remove outdated PHP versions from that page and only recommend maintained versions.

Additionally, the error described by OP looks like autoloading is broken.

Re:Migrating from Google Analytics by pablo-massa on Thursday January 03, 2019 @11:19AM (#18816205)
Thanks! I find how to upgrade to 7.2 [1]. Will try it again!

[1] https://support.hostgator.com/articles/php-configuration-plu...