Error with the email report

Hello,

we are running Piwik 2.2.2. Since Version 2.0 the weekly email report doesn’t work. When I try to send the report manually I get the following error message:
API returned an error: Trying to add two strings values in DataTable\Row::sumRowArray: ‘0%’ + ‘100%’ at Row.php:581

Can you help me?
Thank you!
Knutt

please try upgrade to 2.3.0-rc (instructions are simple: I would like to test early beta and RC releases, how do I enable automatic updates to use these development versions? - Analytics Platform - Matomo )

This error will be fixed!

Thank You Matt,

I did the upgrade and got the following error message on the Dashboard:

Failed to load HTML file: Please check your server configuration. You may want to whitelist “*.html” files from the “plugins” directory. The HTTP status code is 403 for URL “plugins/ZenMode/angularjs/quick-access/quick-access.html”

Does this have any impact?

knutt

impact is limited, but still we want to find out better solution. Can you check your server error logs and see if there is an error there?

Also, what is the content of your file plugins/.htaccess ?

Hi Matt,

This is the content of the file plugins/.htaccess:

First, deny access to all files in this directory

<Files “*”>

<IfVersion < 2.4>
Order Deny,Allow
Deny from All

= 2.4>
Require all denied


<IfModule !mod_version.c>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from All


Require all denied


Allow to serve static files which are safe

<Files ~ “.(test.php|gif|ico|jpg|png|svg|js|css|htm|html|swf|mp3|mp4|wav|ogg|avi)$”>

<IfVersion < 2.4>
Order Allow,Deny
Allow from All

= 2.4>
Require all granted


<IfModule !mod_version.c>
<IfModule !mod_authz_core.c>
Order Allow,Deny
Allow from All


Require all granted


Further I found this hint here in the forum:
I fixed the problem by changing the permissions from 750 to 755 of:
/plugins/ZenMode/
/plugins/ZenMode/angularjs/
/plugins/ZenMode/angularjs/quick-access/

I did the same and the error message is gone.

@knutt I found a bug in code, that only tmp/* folders should be chmod 0750.

Thanks for the report, very helpful!

I’ve just released 2.3.0 rc3 with the fix, at least for other users, they should not have to manually set chmod.

Matt,

Just FYI - had the same issue, used the same solution, everything is back to normal

Best,
Jacob.

Hi,
we are running 2.3.0 now but we still have the problem, that the email report is not sent.
Is there any idea what we could do?

Thank you.