Piwik\Plugin\Report::factory() never exists anymore


(test test) #1

Hello,

After upgrading form version 3.3.0 to 3.5.0 i got this error:
Piwik\Plugin\Report::factory()

and found out this calls never exists anymore.

What should i use instead?

Regards


(Lukas Winkler) #2

Hi,

The developer changelog for 3.0.0 mentions:

  • The methods Report::factory(), Report::getAllReportClasses(), Report::getAllReports have been moved to the Piwik\Plugin\Reports class.

So I guess you should be using Piwik\Plugin\Reports instead.