plausible / wordpress

Plausible Analytics WordPress plugin
https://plausible.io/wordpress-analytics-plugin
MIT License
50 stars 26 forks source link

2.0.0 Update makes WP Admin Stuck #172

Closed ManaSiWibi closed 7 months ago

ManaSiWibi commented 7 months ago

Recently updated to the latest version, now the admin page is stuck and always redirected to https://example.com/wp-admin/options-general.php?page=plausible_analytics#welcome_slide

Anyone can reproduce the issue?

Plausible Plugin: set up using a self-hosted option $wp_version = '6.4.3';

ManaSiWibi commented 7 months ago

Network log: GET https://example.com/wp-admin/index.php 302 Response header: location: https://example.com/wp-admin/options-general.php?page=plausible_analytics#welcome_slide

It redirected to GET https://example.com/wp-admin/options-general.php?page=plausible_analytics 200

Dan0sz commented 7 months ago

Hi!

Are you seeing any errors in your console (press F12 to open it in your browser)

ManaSiWibi commented 7 months ago

Nope, nothing.

Additional information I updated 4 plugins (Elementor, Elementor Pro, Polylang, Plausible), as soon the site was updated, the admin dashboard always redirected to the Plausible plugin page.

I have access to the WP server, if there is a way to debug it directly on CLI, kindly let me know how to do it.

Dan0sz commented 7 months ago

Ah, nevermind. Think I found it.

Can you try installing this test-release to see if that resolves your issue?

ManaSiWibi commented 7 months ago

That does the trick!

Thanks for the apt response @Dan0sz

Dan0sz commented 7 months ago

Great, will release a 2.0.1 now. Thanks for getting back to me!