@dperzanowski opened this Issue on July 22nd 2015

When clicking on the "Email Reports" under the Personal Administration area, I get the following error:

Key "name" for array with keys "category, module, action, metrics, metricsDocumentation, processedMetrics, imageGraphUrl, imageGraphEvolutionUrl, uniqueId" does not exist in "<a class='mention' href='https://github.com/ScheduledReports'>@ScheduledReports</a>/_addReport.twig" at line 150

The installation this is happening on was updated originally from 2.0.2 to 2.12 and has been incrementally updated 2.14.1 since the large update.

I have supplied a screenshot of the message below.

screen shot 2015-07-22 at 1 27 09 pm

@mattab commented on July 28th 2015 Owner

Hi @dperzanowski

in Administration > System check, do you see any warning?

Do you use any third party plugin in Administration > Plugins?

@dperzanowski commented on July 28th 2015

In the system check, everything shows up with a green checkmark. As for third party plugins, we use the cacheBuster and LoginLdap plugins.

@mattab commented on August 10th 2015 Owner

in the file plugins/ScheduledReports/templates/_addReport.twig at line 148, can you replace {{ report.name|raw }} by {{ report.uniqueId|raw }} and post here what reportId you see on the screen?

@dperzanowski commented on August 10th 2015

Hey @mattab

That appears to have fixed the issue of even loading the Reports page. I have added a screenshot below.

screen shot 2015-08-10 at 2 02 28 pm

I was also able to create a report and download it.

@mattab commented on August 12th 2015 Owner

Could you also please paste screenshot of the "New report screen" ?

@dperzanowski commented on August 12th 2015

Sure thing. They are below:

screen shot 2015-08-12 at 9 02 04 am
screen shot 2015-08-12 at 9 02 20 am

@mattab commented on August 12th 2015 Owner

ok sorry, I need to try again: can you replace the new {{ report.uniqueId|raw }} by {{ report.uniqueId|raw }} {% if report.name is defined %}{{report.name}}{% else %} UNDEFINED {% endif %}

and again paste the screenshot?

@mattab commented on September 18th 2015 Owner

Hi @dperzanowski can you replace the new {{ report.uniqueId|raw }} by {{ report.uniqueId|raw }} {% if report.name is defined %}{{report.name}}{% else %} UNDEFINED {% endif %}

and again paste the screenshot?

@dperzanowski commented on September 18th 2015

screen shot 2015-09-18 at 9 48 29 am
screen shot 2015-09-18 at 9 48 41 am

@mattab commented on September 20th 2015 Owner

Thanks for this, unfortunately @jantlwoomy I was expecting to see a UNDEFINED in the output but it's not there...

Does anyone else experience this error in Piwik? Key "name" for array with keys "category, module, action, metrics, metricsDocumentation, processedMetrics, imageGraphUrl, imageGraphEvolutionUrl, uniqueId" does not exist in "<a class='mention' href='https://github.com/ScheduledReports'>@ScheduledReports</a>/_addReport.twig"

@mattab commented on November 12th 2015 Owner

Can't reproduce for now, please comment if you have this error

This Issue was closed on November 12th 2015
Powered by GitHub Issue Mirror