Open Starker3 opened 2 years ago
Thanks for this feedback. Indeed, a first step would be to check the visit log setting and trigger archive based on this.
Then, as an improvement, find an other way to get the data for the report, though I have no clue so far of what this other approach could be...
I can't give you an ETA on this for the moment, if you want to submit a PR, feel free to do so!
Describe the bug When the Visits log and Visitor profile is disabled (https://matomo.org/faq/how-to/how-do-i-disable-the-visits-log-or-the-visitor-profile-feature/) the plugin throws the following error in the core:archive logs:
To Reproduce Steps to reproduce the behavior:
Expected behavior It would likely be best that the plugin detects that the Visits Log (And therefore the Live API) is disabled and use a different method of getting the data for the report generation. If that isn't possible then maybe detecting the setting is enabled and throwing a warning in the logs or perhaps the UI could work.