What do we do now? how to solve the problem?
If its not working now with 2 databases i would remove geoip file and start with just geocity lite and get it working.
NO , geoip work, i see this in web piwik.
Problem with Report Generation to email
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘85,71%’ + ‘85,71%’ at Row.php:581
I do not understand where does geoip
Hi sorry as I feel I have led you astray without explaining.
The error seems tied to geoip co ordinates.
My thought the cities or ip data base was corrupt or conflicting.
If you just had geocity and not geoip does the error go away? The message points me to the geoip being an issue.
I think that there is clearly a problem in the code. since everything worked fine in version 2.2.0.
how to rollback to the previous version?
i use next rpm
mod_geoip-1.2.7-1.el6.x86_64
php-pecl-geoip-1.0.8-6.el6.remi.5.4.x86_64
and
/etc/php.d/geoip.ini:extension=geoip.so
/etc/php.ini:geoip.custom_directory=/var/www/html/piwik/misc
[root@stats ~]# ll /var/www/html/piwik/misc/GeoIPCity.dat
-rw-r–r-- 1 apache apache 17614327 Май 7 21:03 /var/www/html/piwik/misc/GeoIPCity.dat
how i get geoip db
- wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
- gunzip GeoLiteCity.dat.gz
- mv GeoLiteCity.dat GeoIPCity.dat
and… everything worked fine in version 2.2.0.
now if i try Report Generation to email , i have error
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘85,71%’ + ‘85,71%’ at Row.php:581
If i try get pdf report , i have next error
+++++++++
[root@stats ~]# rpm -qa |grep php
php-cli-5.4.26-1.el6.remi.x86_64
php-pdo-5.4.26-1.el6.remi.x86_64
php-pear-1.9.4-23.el6.remi.noarch
php-mysql-5.4.26-1.el6.remi.x86_64
php-5.4.26-1.el6.remi.x86_64
php-common-5.4.26-1.el6.remi.x86_64
php-process-5.4.26-1.el6.remi.x86_64
php-xml-5.4.26-1.el6.remi.x86_64
php-gd-5.4.26-1.el6.remi.x86_64
php-pecl-geoip-1.0.8-6.el6.remi.5.4.x86_64
php-mbstring-5.4.26-1.el6.remi.x86_64
[root@stats ~]# uname -r
2.6.32-431.11.2.el6.x86_64
[root@stats ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘85,71%’ + ‘85,71%’ at Row.php:581
This is a bug report for this bug: http://dev.piwik.org/trac/ticket/4706
please comment on that ticket #4706 with explanation how we can reproduce this bug (what steps you take to get this error message?) Thanks!
i’ve just upgraded to piwik 2.2.1 & this error happens. Send Reports Now is working after geoip data link is corrected.
Somebody post the comment to the track as cudn’t find way to post there
output of cron demon:
INFO CoreConsole[2014-05-07 20:06:09] [58bd0] SCHEDULED TASKS INFO CoreConsole[2014-05-07 20:06:09] [58bd0] Starting Scheduled tasks…
INFO CoreConsole[2014-05-07 20:06:14] [58bd0] ERROR: Got invalid response from API request: http:///index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=***&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
INFO CoreConsole[2014-05-07 20:06:14] [58bd0] done INFO CoreConsole[2014-05-07 20:06:14] [58bd0] --------------------------- INFO CoreConsole[2014-05-07 20:06:14] [58bd0] --------------------------- INFO CoreConsole[2014-05-07 20:06:14] [58bd0] SUMMARY OF ERRORS INFO CoreConsole[2014-05-07 20:06:14] [58bd0] Error: Got invalid response from API request: http://*/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
INFO CoreConsole[2014-05-07 20:06:14] [58bd0] 1 total errors during this script execution, please investigate and try and fix these errors INFO CoreConsole[2014-05-07 20:06:14] [58bd0] ERROR: 1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://**********/index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=********&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
Error in the last Piwik archive.php run:
1 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http:///index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=***&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
Here is the full errors output:
INIT
Piwik is installed at: http://********/index.php
Running Piwik 2.2.1 as Super User
SCHEDULED TASKS
Starting Scheduled tasks…
ERROR: Got invalid response from API request: http:///index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=***&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
done
SUMMARY OF ERRORS
Error: Got invalid response from API request: http://analytics./index.php?module=API&method=CoreAdminHome.runScheduledTasks&format=csv&convertToUnicode=0&token_auth=****************&trigger=archivephp. Response was 'task,output
API.sendReport_1,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
API.sendReport_4,ERROR: API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘100%’ at Row.php:581
CustomAlerts.runAlertsDaily_1,Time elapsed: 1.559s’
1 total errors during this script execution, please investigate and try and fix these errors
I can confirm the problem.
BUT: First, it worked after update to 2.2.1. Then I noticed, that the language was set to English. I changed it to German and after that, I got the error message. Even if I go back to English now, the error persits. :S
Thanks! i post message in Trying to add two strings values in DataTable\Row::sumRowArray · Issue #4706 · matomo-org/matomo · GitHub
Waiting answer…
I have same problem after upgrading to 2.2.0 to 2.2.1. Not getting the the reports.Try to generate manually and get the following error
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘0%’ at Row.php:581
Please advise
I have the same problem in my piwik instalation after update to 2.2.1, i believe in general problem…
Will it leave any update to fix this? it functioned normally until yesterday.
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘100%’ + ‘0%’ at Row.php:581
Sorry, my version is Piwik 2.2.2 not 2.2.1
Thanks for the report, we keep track of this bug in Trying to add two strings values in DataTable\Row::sumRowArray · Issue #4706 · matomo-org/matomo · GitHub
after update to 2.2.2 the problem persists