NO BUG: Errors when using Lodgify (property channel manager) widgets

Bricks 2.3.4
URL
: Lodgify – search – Base Site and Lodgify – booking – Base Site

The two pages above each contain a Lodgify widget - some code that embeds a property booking form. Each page also uses a different piece of javascript (provided by Lodgify) - I’m only loading the relevant javascript on each page.

The search widget works fine, but the booking widget fails to show (you see it flash and then disappear if you reload the page). There are errors in the console (renderBookNowBox.js is their script):

renderBookNowBox.js:8 TypeError: fs is not a function
at JJ (renderBookNowBox.js:3085:12242)
at renderBookNowBox.js:3085:8626
at renderBookNowBox.js:3085:8872
at xa (renderBookNowBox.js:3085:28178)
at Oie (renderBookNowBox.js:3085:40252)
at Rie (renderBookNowBox.js:3085:40530)
at G5 (renderBookNowBox.js:3085:42473)
at hw (renderBookNowBox.js:6:19556)
at T3 (renderBookNowBox.js:8:3159)
at sP (renderBookNowBox.js:8:45199)

R3 @ renderBookNowBox.js:8

This doesn’t happen when using this in the block editor.

I’ve reached out to Lodgify and they say everything is working and tested at their end. As it works in a block, could this be a conflict with Bricks?

Any help or suggestions very welcome.

Best wishes
Andy

Hi @Trenbania ,

Both links are working fine for me.

The Search button on Lodgify – search – Base Site and Book Now button on Lodgify – booking – Base Site redirect me to https://checkout.lodgify.com successfully

Could it be a browser cache issue?

Regards,
Jenn

Thanks for looking Jenn. Appreciate that.

Restarted the machine this morning and everything is working! You know when you have a day when things just don’t go according to plan… I tried in Firefox (or at least I’m sure I did as that would be my first thing to check), but that’s sometimes the web for you.

Seems there is no bug :slight_smile:

Best wishes
Andy

1 Like