email report complains has no enough data, while it has #1
Closed
Description
Hi
Some days ago installe the module in my emonSD running in a Rpi2 following the instructions provided.
Installed swiftmailer and updated&Checked the database.
All seemed to work but I get the following warning:
Not enough days returned in data request
Warning: Cannot modify header information - headers already sent by (output started at /home/pi/emailreport/emailreport-module/emailreportgenerator.php:51) in /var/www/emoncms/index.php on line 265
Notice: Array to string conversion in /var/www/emoncms/index.php on line 266
Array
If I exectute the script "by hand":
sudo php /home/pi/emailreport/weekly-cron.php
I get the following:
Sending energy update emails
- Myemoncmsusername
Not enough days returned in data request
- Myemoncmsusername
For the avoidance of doubt: I have more than 3 weeks of data on the selected feed
Any clue?
Thank you in advance