@mattab opened this Issue on December 12th 2018 Member

On demo-anonymous tracking is failing with this error: <b>Catchable fatal error</b>: Argument 1 passed to Piwik\Plugins\UserCountry\VisitorGeolocator::getLocationObject() must be an instance of Piwik\Plugins\UserCountry\LocationProvider, null given, called in plugins/UserCountry/VisitorGeolocator.php on line 115 and defined in <b>/plugins/UserCountry/VisitorGeolocator.php</b> on line <b>143</b><br />

It's maybe because the UserCountry plugin is disabled in this instance? didn't actually try to reproduce but guessing this is the problem.

On this instance the following plugins are disabled:

| UserCountryMap                 | Core              | Not activated |
| ExampleAPI                     | Core              | Not activated |
| ExamplePlugin                  | Core              | Not activated |
| SEO                            | Core              | Not activated |
| UserCountry                    | Core              | Not activated |
| ExampleRssWidget               | Optional          | Not activated |
| AnonymousPiwikUsageMeasurement | Optional          | Not activated |
| SimplePageBuilder              | Optional          | Not activated |

As a result demo-anonymous hasn't been tracking data since June/July. Will be good to restore this service when we'll need it :+1:

@tsteur commented on December 12th 2018 Member

Can you simply enable the plugin?

@tsteur commented on December 12th 2018 Member

We could mark it as required... (as with most plugins we don't really support when they are disabled)

@mattab commented on December 14th 2018 Member

We could mark it as required... (as with most plugins we don't really support when they are disabled)

if this is the easiest then :+1:

Powered by GitHub Issue Mirror