Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Episode Details: Graphs not showing up #1407

Open
kl1lercher opened this issue Nov 15, 2023 · 5 comments
Open

Analytics Episode Details: Graphs not showing up #1407

kl1lercher opened this issue Nov 15, 2023 · 5 comments

Comments

@kl1lercher
Copy link

Expected behavior

Episode Details in Analytics used to show bars and filtering was available by clicking on different properties

Actual behavior

Analytics Episode Details not showing up after i've updated to 4.x. Analytics Overview, the startpage, is showing data.
To be fair, i recently reactivated analytics after it was disabled for years.

Episode Details not displaying charts

Analytics Overview is working as expected

System information (see Podlove > Support menu)

Website https://techtelmechtel-podcast.at
PHP Version 8.1.25
WordPress Version 6.4.1
WordPress Theme Twenty Nineteen v2.7
Active Plugins
- Antispam Bee v2.11.5
- BackWPup v4.0.1
- Classic Editor v1.6.3
- Complianz | GDPR/CCPA Cookie Consent v6.5.5
- Copy & Delete Posts v1.4.3
- XML Sitemap Generator for Google v4.1.13
- Plugin Compatibility Checker v2.5.8
- Podlove Podcast Publisher v4.0.6
- Podlove Subscribe Button v1.3.10
- Podlove Web Player v5.7.1
- Redirection v5.3.10
- Statify v1.8.4
- W3 Total Cache v2.6.0
- Yoast SEO v21.5
- Connect Matomo v1.0.30
- WP YouTube Lyte v1.7.22
WordPress Database Charset utf8mb4
WordPress Database Collate
Publisher Version 4.0.6
Publisher Database Version 153
Web Player Version player_v5
open_basedir ok
curl Version 7.74.0
iconv available
simplexml ok
max_execution_time 600
upload_max_filesize 100M
memory_limit 256M
disable_classes
disable_functions
permalinks ok (/%year%/%monthnum%/%day%/%postname%/)
podlove_permalinks ok
podcast_settings ok
web_player ok
podlove_cache on
assets
  - mp3 audio/mpeg https://techtelmechtel-podcast.at/feed/mp3/
cron ok
duplicate_guids ok

0 errors
0 notices
Nice, Everything looks fine!

@kl1lercher kl1lercher changed the title Analytics Episode Details not showing up Analytics Episode Details: Graphs not showing up Nov 15, 2023
@eteubert
Copy link
Member

Thanks for the report! Fixed in next release.

@kl1lercher
Copy link
Author

kl1lercher commented Nov 21, 2023

Hate to do this, but graphs are unfortunately still not showing up.
Console just showing a Server Error 500 for i guess the necessary component

Screenshot 2023-11-21 at 08 49 17

@eteubert eteubert reopened this Nov 21, 2023
@eteubert
Copy link
Member

@kl1lercher can you check your PHP error log? The 500 response means the PHP script fails for some reason.

You may need to enable debug logging first, see https://wordpress.org/documentation/article/debugging-in-wordpress/

@kl1lercher
Copy link
Author

kl1lercher commented Nov 21, 2023

here you go

[21-Nov-2023 10:45:29 UTC] PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /usr/www/users/xxx/yyy/wp-includes/functions.php on line 7241 [21-Nov-2023 10:45:29 UTC] PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /usr/www/users/xxx/yyy/wp-includes/functions.php on line 2187 [21-Nov-2023 10:45:31 UTC] PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /usr/www/users/xxx/yyy/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/ajax/ajax.php:229 Stack trace: #0 [internal function]: Podlove\AJAX\Ajax->Podlove\AJAX\{closure}() #1 /usr/www/users/xxx/yyy/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/ajax/ajax.php(230): array_map() #2 /usr/www/users/xxx/yyy/wp-includes/class-wp-hook.php(324): Podlove\AJAX\Ajax->analytics_episode_average_downloads_per_hour() #3 /usr/www/users/xxx/yyy/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /usr/www/users/xxx/yyy/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /usr/www/users/xxx/yyy/wp-admin/admin-ajax.php(188): do_action() #6 {main} thrown in /usr/www/users/xxx/yyy/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/ajax/ajax.php on line 229

@eteubert
Copy link
Member

Well dividing by zero is tough 😬

PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in [...]/podlove-podcasting-plugin-for-wordpress/lib/ajax/ajax.php:229

Should be an easy fix, thanks for looking up the error!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants