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

Ecommerce requires Custom Variables plugin, should check and enforce #2743

Closed
anonymous-matomo-user opened this issue Oct 27, 2011 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

Getting the same error as reported in #2732 and a similar one, in my case after enabling ecommerce tracking on 1.6.0. For me, almost all widgets on the dashboard show:

Fatal error: Class 'Piwik_CustomVariables' not found in /var/php/piwik/plugins/Goals/Goals.php on line 583

On the ecommerce goals page, I get:

Fatal error: Class 'Piwik_CustomVariables' not found in /var/php/piwik/plugins/Goals/Goals.php on line 583

I've restarted the fcgi process and apache, checked that the code is the same as in the latest.zip file and verified file permissions. Interestingly, the error goes away once I switch the period to something not including today. So, I figure something got tracked since enabling the ecommerce tracking that causes the error to show.

@anonymous-matomo-user
Copy link
Author

Two more remarks:

For a staging site where I tested the ecommerce tracking, I get a different error on the ecommerce goals page (above, I pasted the same error message twice):

Fatal error: Class 'Piwik_CustomVariables' not found in /var/php/piwik/plugins/Goals/API.php on line 292

Also, the errors are limited to the individual websites tracked. I.e. for the staging site and all others tracked by this piwik server, I still get a normal dashboard display.

@mattab
Copy link
Member

mattab commented Oct 27, 2011

Can you check that the plugin "Custom Variables" is enabled? and the files in plugins/CustomVariables/CustomVariables.php is there?

@anonymous-matomo-user
Copy link
Author

Thanks, after enabling the plugin everything's fine! I do feel embarrassed...

@mattab
Copy link
Member

mattab commented Oct 27, 2011

Don't feel embarassed, it's a bug!

We should check that Custom Variable plugin is enabled when enabling Ecommerce (maybe enable it automatically)

@mattab
Copy link
Member

mattab commented Dec 24, 2011

(In [5612]) Fixes #2743

  • Displaying error when loading ecommerce report if custom var plugin disabled
  • added note in plugin description

@anonymous-matomo-user anonymous-matomo-user added this to the 1.7 Piwik 1.7 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants