Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The class \Piwik\Plugins\ExamplePlugin\Updates_0_0_2 was not found in /var/www/plugins/ExamplePlugin/Updates/0.0.2.php #14555

Closed
danielmorlock opened this issue Jun 21, 2019 · 1 comment · Fixed by #14559
Assignees
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@danielmorlock
Copy link

namespace Piwik\Plugins\ExamplePlugin\Updates;

The namespace seems to be invalid. We are running into the following exception when updating to Matomo 3.9.1:

  [Exception]                                                                                                             
  The class \Piwik\Plugins\ExamplePlugin\Updates_0_0_2 was not found in /var/www/plugins/ExamplePlugin/Updates/0.0.2.php  

core:update run properly when changing the namespace to Piwik\Plugins\ExamplePlugin.

@sgiehl
Copy link
Member

sgiehl commented Jun 23, 2019

Thanks for the report. You are right, the namespace should not include Updates. Will create a PR to fix that

@sgiehl sgiehl self-assigned this Jun 23, 2019
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants