Open nimatris opened 6 months ago
Hoping to get more eyes on this, as this was noted almost a year ago here: https://wordpress.org/support/topic/uncaught-referenceerror-cal-is-not-defined/
I still get marketing emails, but can't use the plugin until it actually works. ;)
Is it only the inline embed that doesn't work? Can you provide an example link? Sounds like the head scripts aren't being run before the shortcode.
Hey Omar, it is the only that I have tried so far. This is the page, but currently I use the type 2 so that it is functional for my clients: https://www.jonathanklodt.com/book-a-60-min-call/
@hariombalhara @zomars what is the verdict here?
Hey Omar, it is the only that I have tried so far. This is the page, but currently I use the type 2 so that it is functional for my clients: jonathanklodt.com/book-a-60-min-call
This seems to be resolved:
No, it's not 🫤 I just had the plugin shortcode set to type 2, which shows the button. That worked all the time, but the inline embed with type 1 still doesn't work and shows an empty page. Just tried it again...
As you can see, you can see… nothing. ☝️
Hi @nimatris, @zomars is right that this issue has been resolved in https://github.com/calcom/wp-plugin/pull/4 . The issue is just that there hasn't been a release of a new plugin version since this fix.
I can see from the code you posted in your initial post that it's the old code from before the fix. So, as a workaround instead of installing the cal.com plugin directly in WordPress you could download the ZIP file from this repository and upload it manually to your WordPress site.
Thank you @CodeShakingSheep and @zomars! I tried that and now see that I have Version 1.0.1 instead of previously Version 1.0.0 installed. But it still shows an empty page. Maybe it is a problem with my template... I'll just continue using the popup button, that seems to work for most devices and browsers without messing up the responsive design like the iFrame does.
Thank you @CodeShakingSheep and @zomars! I tried that and now see that I have Version 1.0.1 instead of previously Version 1.0.0 installed. But it still shows an empty page. Maybe it is a problem with my template... I'll just continue using the popup button, that seems to work for most devices and browsers without messing up the responsive design like the iFrame does.
As the change is in JS you need to empty your cache for the new script to load. If you use a chrome based browser you can do that by hitting "F12", then right click on the reload button of your page and then click "Empty cache and hard reload". If you use a WordPress caching plugin you should empty its cache too. Let me know if that works.
Thank you @CodeShakingSheep for that tip, still didn't work, also tried the page in a different browser.
When I use the shortcode, it shows a blank page. The type 2 button for the popup works. Also, if I copy the html inline embed it doesn't show anything.
Any ideas? Might be a conflict with my theme (one page express)?
Thank you!
This is the code that is shown on the source file for the empty page: