thealx
Forum Replies Created
-
Forum: Plugins
In reply to: [Cue by AudioTheme.com] JSON parse issuesure, that’s the page where you can find issue
http://objectif-russe.fr/accueil-cas-par-cas/accueil-le-declic-russe/specificites-verbes-3/
Website using Optimize press editor. you can see two players on the page (for testing purposes). First one did work properly, as you can see it doesn’t have any <script> inside rather than .cue-playlist-data
Next block is the text with
<a href="mailto:abc@def.gh">. it shouldn’t affect next player, but it does.Next player has another <script> inside of the .cue-playlist-container, it some email links protection.
Obviously, visual editor causing troubles or some plugin placing code in wrong element. My opinion – code in your plugin can be fixed first, but it’s your decision anyway as I don’t know how it can affect it’s functionality.
Thank you for your time looking into this problem.
it works fine now, thank you.
thanks for the suggestions, I tried to switch on default theme and disable other plugins but no luck – result is the same. I turned on debug log and it doesn’t appears after I am making test order.
I placed debug messages just to understand the logic of the process and get that result:[17-May-2016 21:58:18 UTC] current user ID gateway: 0
[17-May-2016 21:58:24 UTC] current user ID json: 15
[17-May-2016 21:58:25 UTC] current user ID mail update: 15it’s for unregistered customer only, for registered one first ID value is correct
so first of all gateway_db_initialize_order happens, and problem is – new user isn’t exists yet. second json function triggered where new user appears. third – send_email_ajax happens where order updated.
I don’t know why it works that way, and what is the origin of the issue but I have no time for research, I’m just pass current user ID with other data after email sending. I suppose it can bring problems in future but it works fine after short test, if you will have any thoughts about this situation – it will be appreciated.