Front end map doesn’t work

Home Forums Calendar Products Events Calendar PRO Front end map doesn’t work

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #79880
    thomasek
    Participant

    Sorry but i’m back with my bug on the map view. I identified in fact that the front-end map with all the points on /events/ display well if my role is admin. But it doesn’t work if i am subscriber. Something messed up. Can you help ?

    #79881
    thomasek
    Participant

    This reply is private.

    #80026
    Barry
    Member

    Well, there seem to be a few issues such as this piece of Javascript causing errors:

    AddShoppersConversion = {
    order_id: <order id>,
    value: <order value>
    };
    var js = document.createElement('script'); js.type = 'text/javascript'; js.async = true; js.id = 'AddShoppers';
    js.src = ('https:' == document.location.protocol ? 'https://shop.pe/widget/' : 'http://cdn.shop.pe/widget/') + 'widget_async.js#5296008ea387643a0fe39df7';
    document.getElementsByTagName("head")[0].appendChild(js);

    (It’s not marked as character data but has characters that are significant in HTML).

    This isn’t something our plugin has generated and I’m not sure if it is only generated in that form when the user is not an administrator or something of that order, but it would appear to have some sort of e-commerce ring to it and I’d start with addressing that.

    You noted that the site doesn’t have any problems with all other plugins deactivated and only a default, unmodified theme – can you confirm that is indeed the case? Would it be possible to see the site in those conditions and take a look at the problem then, in case this error is masking some other problem?

    Thanks!

    #80081
    thomasek
    Participant

    Hi Barry, thank you very much for your help. I found a temporary solution as the problem happens only with a “subscriber” role, but everything works well with all the other roles I created (“trainer”,”customer”,”editor”,”admin”).

    As the “subscriber” role has no difference on my site with the subscriber role, I chose to put everybody as a customer by default. This way the problem is temporally solved. I’ll be back to you if the bug continues.

    #80154
    Barry
    Member

    Sure, glad you figured out a workaround 🙂

    #982509
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Front end map doesn’t work’ is closed to new replies.