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

Warning: constant(): Couldn't find constant Piwik\Plugins\Live\API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW #6819

Closed
marcelloceschia opened this issue Dec 6, 2014 · 1 comment
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@marcelloceschia
Copy link

There is an error. Please report the message (Piwik 2.10.0-b4) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Warning: constant(): Couldn't find constant Piwik\Plugins\Live\API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW in /***/statistics/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1466 

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [:]
#1 constant(...) called at [/***/statistics/vendor/twig/twig/lib/Twig/Extension/Core.php:1466]
#2 twig_constant(...) called at [/***/statistics/tmp/templates_c/d3/af/e48ac67a721b9df1d7f86bcd63e75c74d3aa5d3c857888789ff9a7e8bdf8.php:472]
#3 __TwigTemplate_d3afe48ac67a721b9df1d7f86bcd63e75c74d3aa5d3c857888789ff9a7e8bdf8->doDisplay(...) called at [/***/statistics/vendor/twig/twig/lib/Twig/Template.php:279]
#4 Twig_Template->displayWithErrorHandling(...) called at [/***/statistics/vendor/twig/twig/lib/Twig/Template.php:253]
#5 Twig_Template->display(...) called at [/***/statistics/vendor/twig/twig/lib/Twig/Template.php:264]
#6 Twig_Template->render(...) called at [/***/statistics/vendor/twig/twig/lib/Twig/Environment.php:292]
#7 Twig_Environment->render(...) called at [/***/statistics/core/View.php:259]
#8 Piwik\View->renderTwigTemplate(...) called at [/***/statistics/core/View.php:253]
#9 Piwik\View->render(...) called at [/***/statistics/plugins/Live/Controller.php:124]
#10 Piwik\Plugins\Live\Controller->getVisitorProfilePopup(...) called at [:]
#11 call_user_func_array(...) called at [/***/statistics/core/FrontController.php:585]
#12 Piwik\FrontController->doDispatch(...) called at [/***/statistics/core/FrontController.php:97]
#13 Piwik\FrontController->dispatch(...) called at [/***/statistics/core/dispatch.php:36]
#14 require_once(...) called at [/***/statistics/index.php:46]
@mattab mattab closed this as completed in 92a5616 Dec 7, 2014
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Dec 7, 2014
@mattab
Copy link
Member

mattab commented Dec 7, 2014

Hi @marcelloceschia thanks for the report, this was fixed

mattab added a commit that referenced this issue Dec 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants