dashed-slug.net › Forums › Exchange extension support › Market History Doesn’t Work For Logged Out Users
- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by
alexg.
-
AuthorPosts
-
March 14, 2020 at 11:54 pm #7892
Anonymous
InactiveHello. The latest update seems to have broken [wallets_exchange_market_history] for logged out users.
The Chart does not populate with any data when a logged out user attempts to view [wallets_exchange_market_history]
Thanks.
March 15, 2020 at 9:27 am #7896alexg
KeymasterHello,
Thank you for letting me know.
I assume you upgraded the Exchange directly from 1.1.0 to 1.1.2, because there is nothing in 1.1.1 that could cause this issue.
Could you please tell me the following:
1. Are you running the latest version of wallets, 4.4.8?
2. What errors do you see in the JavaScript console while logged out?
thank you
March 15, 2020 at 2:31 pm #7899Anonymous
InactiveI am running the latest of everything:
wallets: Version 4.4.8
exchange: Version 1.1.2I fixed the problem by adding the static element to the shortcode: [wallets_exchange_market_history template=”static” market=”BTC_XMR”]
The static template is probably more appropriate for my purposes and what I should have been using.
Thanks for your reply.
Here is the error in console while logged out:
DevTools failed to parse SourceMap: https://…/wp-content/plugins/wallets/assets/scripts/sprintf.min.js.mapMarch 16, 2020 at 8:13 am #7912alexg
KeymasterOK thank you for the additional information.
If this warning is all you see in the JavaScript console, then there is no error, the shortcode is working as intended. Additionally, I could not reproduce the issue on my end.
The dynamic shortcodes require a selected market, therefore at least one of the
[wallets_exchange_market]templates must exist on the same page. If you’re using the static templates, it’s best to only stick to those.I am in the middle of optimizing the frontend, so that only the code and data that’s actually needed in each page is loaded. This is a coordinated effort that has to affect all components, so I’m trying to release the changes in a sequence that will not affect users. This will be rolled out over the coming months.
Glad you found a solution to your issue.
with regards
-
AuthorPosts
- You must be logged in to reply to this topic.
