Hi,
After upgrading to 3.1 the “Visitors in Real-time” widget is not working anymore and gets stuck on Loading widget, please wait…
I tried restarting nginx and php.
Is anyone experiencing the same and knows how to fix?
Many thanks
Hi,
After upgrading to 3.1 the “Visitors in Real-time” widget is not working anymore and gets stuck on Loading widget, please wait…
I tried restarting nginx and php.
Is anyone experiencing the same and knows how to fix?
Many thanks
Same here: there is also a german entry with some people facing the same behaviour.
One error message:
Ist bei euch das Events-Plugin aktiv?
Ja, das Events-Plugin ist aktiv
Are there plugin updates available and which plugins are disabled?
I had the same issue, I activated Events plugin and the visitor log started to work. Maybe this will help others to fix the issue. Here’s error message so others can find it: unknown column ‘log_action_event_category.type’ in ‘field list’
At my Site, the Events Plugin also was not active (I’m not sure, if it was before the update). After activation Visitor log was working again!
Thanks for the hint.
It is active on my website, anyone know how to fix it?
Should I disable and re-enable it?
There are people for which this fixed the issue.
I just tried but it didn’t do it for me, still hangs on “Loading widget, please wait…”
I’m getting this error:
Key "icon" for array with keys "type, url, pageTitle, pageIdAction, idpageview, serverTimePretty, timeSpentRef, pageId, contentName, contentPiece, contentTarget, contentInteraction, bandwidth, interactionPosition, timestamp, bandwidth_pretty" does not exist.
in
/srv/website.com/plugins/Live/templates/getLastVisitsStart.twig line 148
Restarting the web server and disable plugins doesn’t seem to help.
What should I do?
Thanks
See here:
Thanks for the reports. the issue has been fixed in 3.1.1-b1 (see how to use the beta: I would like to test early beta and RC releases, how do I enable automatic updates to use these development versions? - Analytics Platform - Piwik )
we’ll release a new version at latest on Monday.
I’ve installed the beta and get the following warning:
/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(1560): Warning - constant(): Couldn’t find constant \Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER - Piwik 3.1.1-b1 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
Same warning here, but still on version 3.1.
WARNING: /usr/www/users/xxxxx/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(1560): Warning - constant(): Couldn't find constant Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER - Piwik 3.1.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING: /usr/www/users/xxxxx/piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(1560): Warning - constant(): Couldn't find constant Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART - Piwik 3.1.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
Same warning with version 3.1.1-b2.
@robles, which warning are you referring to?
Sorry, the one from my previous post:
WARNING: /piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(1560): Warning - constant(): Couldn’t find constant \Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER - Piwik 3.1.1-b2 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
Seems like the fix hasn’t been merged yet:
You can try applying the patch and see if it fixes the issue for you. And if it does please report back.
diff --git a/plugins/Live/templates/getLastVisitsStart.twig b/plugins/Live/templates/getLastVisitsStart.twig
index bad07f41e5..e71e5170ff 100644
--- a/plugins/Live/templates/getLastVisitsStart.twig
+++ b/plugins/Live/templates/getLastVisitsStart.twig
@@ -144,8 +144,8 @@
{% elseif action.eventCategory|default(false) is not empty %}
<img class="iconPadding" src='{{ action.icon }}'
title="{{ 'Events_Event'|translate }} {{ action.eventCategory }} - {{ action.eventAction }} {% if action.eventName is defined %}- {{ action.eventName }}{% endif %} {% if action.eventValue is defined %}- {{ action.eventValue }}{% endif %}"/>
- {% elseif action.type == 'goal' or action.type == constant('\\Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER') or
- action.type == constant('\\Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART') %}
+ {% elseif action.type == 'goal' or action.type == constant('Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER') or
+ action.type == constant('Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_CART') %}
<img class='iconPadding' src="{{ action.icon }}"
title="{{ action.goalName }} - {% if action.revenue > 0 %}{{ 'General_ColumnRevenue'|translate }}: {{ action.revenue|money(idSite)|raw }} - {% endif %} {{ action.serverTimePretty }}"/>
{% endif %}
@Lukas
I applied the fix, but it doesn’t work on my installation. Still the same warning:
WARNING: /piwik/vendor/twig/twig/lib/Twig/Extension/Core.php(1560): Warning - constant(): Couldn’t find constant Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER - Piwik 3.1.1-b2