You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thank you for creating this fantastic plugin. I've been using it without issue for a while, but have today updated a site, which has subsequently caused the dashboard to fail. It seems the Plausible Dashboard widgets are causing the page to error.
Craft CMS 5.6.3
Plausible 3.1.0
The "map" filter expects a sequence or a mapping, got "stdClass". values: [{{ timeResults|map(r => r.visitors)|join(', ') }}]
4950515253545556575859606162636465 {% for label in timeResults %}
"{{ period == 'day' ? label.date|date('ga') : label.date|date('D, j M') }}"{{ not loop.last ? ', ' }}
{% endfor %}
{% endset %}
<script type="text/javascript">
var data = {
labels: [{{ labels }}],
datasets: [
{
values: [{{ timeResults|map(r => r.visitors)|join(', ') }}]
}
]
}
</script>
<div class="overview-chart" id="chart"></div>
</div>
The text was updated successfully, but these errors were encountered:
Just having a look. I've just updated a site to 5.6.3 and I'm not getting this error.
Is this a site that already had the plugin running? Already set up etc?
Firstly, thank you for creating this fantastic plugin. I've been using it without issue for a while, but have today updated a site, which has subsequently caused the dashboard to fail. It seems the Plausible Dashboard widgets are causing the page to error.
Craft CMS 5.6.3
Plausible 3.1.0
The "map" filter expects a sequence or a mapping, got "stdClass".
values: [{{ timeResults|map(r => r.visitors)|join(', ') }}]
The text was updated successfully, but these errors were encountered: