podlove-publisher icon indicating copy to clipboard operation
podlove-publisher copied to clipboard

Analytics dashboard not applying filters

Open pheerai opened this issue 5 years ago • 0 comments

Expected behavior

When on the global statistics, clicking on a datapoint in any of the graphs should filter the displayed data just as it happens on the episode view.

Actual behavior

All other datapoints in the 'active' graph are greyed out, however the data in the other ones is not filterd but stays as is.

The debugging console gives the following error message:

Uncaught TypeError: Cannot read property 'inArray' of undefined
    at podcast-stats.js?ver=5.3:formatted:5044
    at Array.forEach (<anonymous>)
    at Object.PODLOVE.Analytics.addPercentageLabels (podcast-stats.js?ver=5.3:formatted:5039)

This seems to be related to the usage of $ in the analytics' common module The episodes' stats pages seem to bring their own version of the function.

System information (see Podlove > Support menu)

System information Website https://www.coastercast.de PHP Version 7.1.27-1+0~20190307202204.14+stretch~1.gbp7163d5 WordPress Version 5.3 WordPress Theme ioBlue v1.0.8 Active Plugins - Akismet Anti-Spam v4.1.3 - fyyd podcast shortcodes v0.3 - OSM v5.3.1 - Podlove Podcast Publisher v2.9.6 - Podlove Subscribe Button v1.3.7 - Podlove Web Player v2.1.0 - iTunes RSS Redirection v0.2.2 WordPress Database Charset utf8mb4 WordPress Database Collate Publisher Version 2.9.6 Web Player Version player_v4 Twig Version 1.42.2 open_basedir /var/www/virtual/coastercast.de/:/usr/share/php/:/dev/random:/dev/urandom curl Version 7.52.1 iconv available simplexml ok max_execution_time 30 upload_max_filesize 2M memory_limit 128M disable_classes disable_functions exec,passthru,phpinfo,popen,proc_open,show_source,shell,shell_exec,symlink,system permalinks ok (/%year%/%monthnum%/%day%/%postname%/) podlove_permalinks ok podcast_settings ok web_player ok podlove_cache on assets   - ogg audio/ogg https://www.coastercast.de/feed/ogg/   - opus audio/ogg;codecs=opushttps://www.coastercast.de/feed/opus/   - m4a audio/mp4 https://www.coastercast.de/feed/m4a/ cron ok duplicate_guids ok

0 errors 1 HINWEIS (no dealbreaker, but should be fixed if possible):

  • The PHP setting "open_basedir" is not empty. This is incompatible with curl, a library required by Podlove Publisher. We have a workaround in place but it is preferred to fix the issue. Please ask your hoster to unset "open_basedir".

pheerai avatar Nov 28 '19 10:11 pheerai