Skip to content

replace generate:plugin warning with pointer to guide #16922

@Findus23

Description

@Findus23

When someone wants to create a plugin and is using the Matomo version from matomo.zip, they probably get an error like this one:

Uncaught exception: Error: Class 'Piwik\Plugins\ExamplePlugin\ExamplePlugin' not found

This is expected as Matomo doesn't ship with the Example* plugins anymore, but doesn't help the person struggling with this.

Instead, the generate:plugin should detect if those plugins are missing and if not point people towards https://developer.matomo.org/guides/getting-started-part-1

Metadata

Metadata

Assignees

Labels

Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions