X
205497

After update to 3.0.3, Pinpoint calendar fails to load in event detail.

After update to 3.0.3, a calendar booking page, generated by Pinpoint Booking plugin, is no longer displaying. Loading animation keeps going on forever.
You can see this at the following url on my staging server:
https://staging.tolerant-vzw.be/test/
Reverting to 3.0.1 solves the problem.
Brgrds
Dirk

BY: Dirk Gaudaen - Nov 13,2020 AT 7:34AM - 4 years ago
    • Artem Nov 13,2020 AT 7:57AM - Posted 4 years ago - #205515

      Hello,

      Since this is a staging website I can switch the theme and disable plugins, correct?

    • Dirk Gaudaen Nov 13,2020 AT 9:23AM - Posted 4 years ago - #205535

      Yes, no problem. Please do if it can help to locate the problem.

      Thanks,
      Dirk

    • Dirk Gaudaen Nov 13,2020 AT 9:48AM - Posted 4 years ago - #205537

      As a reference, this is a corresponding page on the production site where the booking calender is working.

      https://tolerant-vzw.be/vaarkalender/

      Production was rolled back to 3.0.1.

    • Artem Nov 13,2020 AT 10:19AM - Posted 4 years ago - #205545

      It seems that the issue is in Pinpoint Booking System PRO plugin. It produces a js error which stops the calendar from loading. The thing is that Pinpoint is also not loading on Single Event Page:

      So if you could make it work again on Single Event Page, it should fix the calendar as well.

    • Dirk Gaudaen Nov 13,2020 AT 1:08PM - Posted 4 years ago - #205607

      Thanks. I will open a ticket with Pinpoint tomorrow and ask them to look at the error.

      Although it remains very strange that this problem never happened before with any version of Pinpoint and any version of EventOn with the exception of the latest 3.0.3 version.

       

    • Dirk Gaudaen Nov 14,2020 AT 12:30PM - Posted 4 years ago - #205738

      This is the answer I got so far from Pinpoint support:

      We would need to forward this to our developers and for them to give us input. Because there seems to be a JavaScript error in the EventOn plugin when trying to load our plugin with the shortcode. Our plugin is loading outside of the EventOn plugin so maybe they have changed what can be loaded.

    • Dirk Gaudaen Nov 15,2020 AT 2:34AM - Posted 4 years ago - #205785

      3.0.4 does not solve the problem.

    • Artem Nov 15,2020 AT 7:18AM - Posted 4 years ago - #205798

      Hey Dirk,

      Yes it will not, as we are not loading their JS, they are.

      have they followed back to you?

    • Dirk Gaudaen Nov 16,2020 AT 2:35AM - Posted 4 years ago - #205904

      Not yet, I asked for further investigation. What has changed between 3.0.1 and 3.0.3 what may cause such a problem?

    • Artem Nov 16,2020 AT 2:49AM - Posted 4 years ago - #205919

      Thank you for your messages, I am going to assign this ticket to Ashan and he can answer this. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!

    • Dirk Gaudaen Nov 24,2020 AT 2:15AM - Posted 4 years ago - #207970

      I tested 3.0.5. It does not solve the problem.

    • Artem Nov 24,2020 AT 2:54AM - Posted 4 years ago - #207983

      In this version of EventON there is a new option you can use: Lightbox popup window with AJAX User Interaction.

      You can enable it by adding this to the shortcode:

      ux_val=”3a”

      This should solve your calendar not loading and switching months issue: https://staging.tolerant-vzw.be/1756-2/

      As for Pinpoint issue, I am going to contact Ashan again. Sorry for the delay.

    • Ashan Perera Nov 25,2020 AT 2:37PM - Posted 4 years ago - #208482

      let us know if ux_val=’3a’ does the trick for you. I am seeing this issue.

      which basically is .html() jquery function which should not cause issues. 

    • Dirk Gaudaen Nov 26,2020 AT 1:44AM - Posted 4 years ago - #208594

      Hi,

      ux_val=’3a’ has as effect that the “loading bars” are gone and the page seems to load normal. But if you open the event, the content is empty. There should be a Pinpoint calendar displayed in the event. You can see how it works on the production site on following url:

      https://tolerant-vzw.be/vaarkalender/

    • Artem Nov 26,2020 AT 1:42PM - Posted 4 years ago - #208744

      Hey Dirk,

      Are you sure you are running our latest version?

    • Dirk Gaudaen Nov 27,2020 AT 1:54AM - Posted 4 years ago - #208797

      Yes, 3.0.5.

    • Artem Nov 28,2020 AT 12:49PM - Posted 4 years ago - #208980

      Hm, it seems there is a small bug on it then.

      We have asked our main developer to review this, allow him some time please.

    • Ashan Perera Dec 1,2020 AT 1:33PM - Posted 4 years ago - #209620

      I am still seeing the unexpected identifier error still on the page.

      How is this pinpoint calendar loaded? can you add that to your staging site so we can test it? https://staging.tolerant-vzw.be/test/

    • Dirk Gaudaen Dec 2,2020 AT 4:11AM - Posted 4 years ago - #209691

      Hi,

      The Pinpoint calender is loaded using a shortcode.

      I created two pages:

      Test3 shows the Pinpoint calendar, directly on a page, without EventOn.  The shortcode [dopbsp id=”3″ lang=”nl”] is used to do this.

      https://staging.tolerant-vzw.be/test3/

      Test2 does the same, but the dopbsp shortcode is added to the Event details section of the “Testevent”. Now the calendar does not appear.

      https://staging.tolerant-vzw.be/test2/

      The original test page /test did the same but using Elementor.  This is not the case for above two test pages.

      Brgds,

      Dirk

       

       

    • Ashan Perera Dec 4,2020 AT 11:15AM - Posted 4 years ago - #210130

      Ok that explains a lot. Do you see how in here https://staging.tolerant-vzw.be/test3/ there is a loading going on and then pin calendar shows. So calendar content is loaded via ajax after page content is loaded. 

      What you need is pin calendar to run this load function again after the calendar lightbox is opened. 

      Since you are usign ux_val=’3a’ at the end of loading the lightbox content there is a javascript trigger run. which is:

      $(‘body’).trigger(‘evo_single_event_load_end’);

      So if your pin calendar people can run reload pin cal from shortcode on page using the eventON trigger, that would load that pin calendar on lightbox events. other option is to link single event page. but I see in here the pin cal is not working. https://staging.tolerant-vzw.be/events/testevent/

      And alternatively you can add a link into event details to a page with pin calendar. if pin calendar developers are not willing to work with you. 

      This is not an issue with eventON code. EventON event details is processing the passed shortcode as you can see in above image. the Pin cal shortcode processing on the page is the problem. 

    • Dirk Gaudaen Dec 4,2020 AT 1:16PM - Posted 4 years ago - #210170

      Thanks for looking into it. I will pass this info to the other group.

      But anyhow, I still do not understand why this worked in all EventOn versions upto 3.0.1?  What has changed ???

      Please note that I added ux_val=’3a’ on your request.

    • Ashan Perera Dec 4,2020 AT 1:48PM - Posted 4 years ago - #210192

      have you updated the pin calendar? it may be an update to that changed things? because as I explained earlier, shortcode from pin calendar is processed at page load and not after. 

    • Dirk Gaudaen Dec 5,2020 AT 3:36AM - Posted 4 years ago - #210270

      The Pinpoint calendar wasn’t updated. On my production site, the same version of pinpoint is running. But on production EventOn 3.0.1 is still running, and that works (since I started with version 2, more then a year ago).  E.g. see https://tolerant-vzw.be/vaarkalender/

       

    • Artem Dec 10,2020 AT 1:47PM - Posted 4 years ago - #211126

      Hi Dirk,

      Is the issue resolved?
      Do you need anything else from us? Is there something else we can do?

    • Dirk Gaudaen Dec 11,2020 AT 2:23AM - Posted 4 years ago - #211200

      Hi,

      No, the issue is not resolved. I contacted Pinpoint support again, but not much result from that side either. Point remains that the problems started after an EventOn update and not a Pinpoint update. So it will be difficult to convince them so search deeper.

      Only solution will probably be to modify my site and stop using EventOn in combination with Pinpoint.

    • Ashan Perera Dec 11,2020 AT 5:17PM - Posted 4 years ago - #211309

      I am really surprised if pinpoint has always been loading the content after page loaded using JS, and it didnt effect eventON calendar when moving to new months. 

      Other option is to use this shortcode [add_eventon cal_init_nonajax=”yes”] which will make calendar load on page without using ajax. but when you switch months you run into the same issue again as new events are loaded via ajax.

    • Dirk Gaudaen Dec 12,2020 AT 7:26AM - Posted 4 years ago - #211342

      Hi,

      Pinpoint managed to get it working. This is what they wrote back to me:

      So we managed to modify our plugin for it to work. As you can see on the staging website.
      What we discover is that some of the data our plugin is added in the JSON schema so we disabled that in eventON plugin, also because we send the data as a string at some point eventON added to escape the content so the information isn’t parsed correctly.

      I asked them for further information. Specifically if this is something that will be fixed permanently within Pinpoint or not. Will keep you informed.

      Best regards

      Dirk

    • Ashan Perera Dec 16,2020 AT 1:25PM - Posted 4 years ago - #211897

      Glad to hear this Dirk. WOuld be great if we can get a copy of what was edited in the code. So we can implement those in the future updates so as to not run through this again.

    • Dirk Gaudaen Dec 29,2020 AT 12:15PM - Posted 4 years ago - #213259

      I finally received a short answer from Pinpoint.

      Technically is an EventOn issue, but we recommend that you use our modification for now as with version 2.9.9.1.7 we will change the way we load data so these types of conflicts will not appear in the future.

      So apparently, they will fix it although it still remains a situation where two suppliers are pointing to each other. No problem for me, as long at it get fixed by someone.

      So I will wait for the next Pinpoint version and see what happens.

      If you would like to contact them directly, this is their e-mail address: support@pinpoint.world

      Best regards,

      Dirk

    • Ashan Perera Dec 30,2020 AT 5:04PM - Posted 4 years ago - #213500

      I am sorry that you are in the middle of this. They said they fixed something in eventON and got it to work right? If they can simply share what was changed in eventON we can implement those changes into eventON future updates as easy as that. But seems like they are reluctant to share these edits? Makes me wonder if they event edit anything 🙂 

      Keep us posted Dirk, we always look for ways eventON can be improved to work with other plugins 🙂 

    • Dirk Gaudaen Mar 9,2021 AT 3:17AM - Posted 4 years ago - #226037

      Hi,

      Pinpoint just released an update 2.9.9.1.8 that seems to fix this interoperability issue.

      At first, it worked at my staging system but not on my production environment.

      Following options in EventOn needed to be activated to get it working: Remove schema data from calendar and Remove Jason-LD data from events. These options were set on staging but not on production.

      Best regards,

      Dirk

       

    • Ashan Perera Mar 9,2021 AT 1:38PM - Posted 4 years ago - #226244

      If you are able to get it working some how that is all that matters 🙂 if you ever get the changes made by the other plugin to eventON to make it work, please do share that in here so we can include that in future eventON updates.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON