Error running php ./geoipUpdateRows.php [SOLVED]

PHP Fatal error: Class ‘Piwik\Config’ not found in /misc/others/cli-script-bootstrap.php on line 35

Running this based on How do I apply accurate geolocation to old visits, tracked before I enabled geo location? - Analytics Platform - Matomo

I’m on piwik 2.7.

Hi @IanKelling, if you replace the misc/others/cli-script-bootstrap.php file with this one it should work: https://raw.githubusercontent.com/piwik/piwik/master/misc/others/cli-script-bootstrap.php

That did it. Thanks.