We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ErrorException (E_WARNING) HELP number_format() expects parameter 1 to be double, array given
(line 180 of app/src/Analytics/Controller/WebAnalyticsController.php) which contains):
$visits = number_format($visits, 0, trans('i18n.dec_point'), trans('i18n.thousands_sep'));
If it helps, for reference, $visits variable created on line 174 of this same file (WebAnalyticsController.php) on the line:
$visits = \App\Core\Piwik::getVisits($app->piwik_site_id, $date_start, $date_end);
The text was updated successfully, but these errors were encountered:
Hello @Thefraj
This is not a bug in Piwik but in this library you are using: \App\Core\Piwik::getVisits /// WebAnalyticsController
Sorry, something went wrong.
No branches or pull requests
ErrorException (E_WARNING)
HELP
number_format() expects parameter 1 to be double, array given
(line 180 of app/src/Analytics/Controller/WebAnalyticsController.php) which contains):
If it helps, for reference, $visits variable created on line 174 of this same file (WebAnalyticsController.php) on the line:
$visits = \App\Core\Piwik::getVisits($app->piwik_site_id, $date_start, $date_end);
The text was updated successfully, but these errors were encountered: