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

Charts do not show when a user is logged in #801

Closed
dshakya opened this issue May 6, 2021 · 5 comments · Fixed by #802 or #803
Closed

Charts do not show when a user is logged in #801

dshakya opened this issue May 6, 2021 · 5 comments · Fixed by #802 or #803
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.

Comments

@dshakya
Copy link

dshakya commented May 6, 2021

Description:

The chart is not displayed when a user is logged in. The chart displays fine when a user is logged out or to the general public.

How to reproduce:

  1. Log in to Wordpress
  2. Visit page with the chart
  3. Chart does not display

Expected behaviour:

Chart is displayed

Current behaviour:

Chart only displays when logged out.

Reference:

https://wordpress.org/support/topic/visualizer-charts-not-showing-when-logged-in-to-wordpress/

Technical info

  • WordPress version: 5.7.1
  • Plugin version: 3.5.0
@selul selul added the bug This label could be used to identify issues that are caused by a defect in the product. label May 6, 2021
@selul
Copy link
Contributor

selul commented May 6, 2021

Thanks for reporting @dshakya!

We will look into it.

@girishpanchal30
Copy link
Contributor

@dshakya I have tried to reproduce the issue but I haven't found anything. Is it possible for you to share the screenshots/video with us?

Also, I would recommend you to check this issue after disabling all other plugins and do let us know about it.

Thanks

@Nexus2k
Copy link

Nexus2k commented May 8, 2021

I have the same issue like the OP.

Looks like the issue is caused by having the "Google Site Kit" Plugin installed, it does load it's own version of charts/loader.js. Disabling it gives me back the ability to edit charts within the Post editor.

@dshakya
Copy link
Author

dshakya commented May 8, 2021

Thanks @Nexus2k for debugging it. I deactivated the Google Site Kit and - Yes, I can see the chart when logged in. @girishkrishaweb - How do we solve this as Sitekit is important tool for us. Thanks.

@girishpanchal30 girishpanchal30 linked a pull request May 13, 2021 that will close this issue
@selul selul linked a pull request May 25, 2021 that will close this issue
@selul selul mentioned this issue May 25, 2021
selul added a commit that referenced this issue May 25, 2021
#### Fixes: 
- Fix compatibility with 3rd party plugins which use the same js library as Visualizer #801 
- Fix fatal error when a new chart is created on PHP 8 #795 
- Chart doesn't get refreshed automatically when the JSON endpoint is used as the data source
 
#### Features: 
- Adds option to add schema.org Dataset for license and creator #794
pirate-bot pushed a commit that referenced this issue May 25, 2021
##### [Version 3.5.1](v3.5.0...v3.5.1) (2021-05-25)

- Fix compatibility with 3rd party plugins which use the same js library as Visualizer [#801](#801)
- Fix fatal error when a new chart is created on PHP 8 [#795](#795)
- Chart doesn't get refreshed automatically when the JSON endpoint is used as the data source

#### Features:
- Adds option to add schema.org Dataset for license and creator [#794](#794)
@pirate-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
5 participants