Noticed this error logged in one of my client sites running Bricks 1.5.6:
TypeError: Cannot read properties of undefined (reading 'offsetLazyLoad') at bricksLazyLoad (https://<web-domain>/wp-content/themes/bricks/assets/js/bricks.min.js?ver=b38e2f284550:1:2556) at https://<web-domain>/wp-content/themes/bricks/assets/js/bricks.min.js?ver=b38e2f284550:1:41560
I donāt have Flying Scripts (mentioned in the above post) but I do have Flying Press. Disabled Flying Press and the console error went away. Iām confused though why this lazy loading functionality is even called in the first place when itās disabled in Bricks Builder Settings, any ideas why this is happening? Iāll open a ticket with Flying Press too just in case itās an issue on their end (which seems it may be, but seems so strange that a Bricks function is being called when itās explicitly disabled in Bricks Builder settings.
Have you already received feedback from the Flying Press team? We donāt use Flying Press yet and therefore canāt reproduce the error directly. Can you possibly send us temporary access data?
I opened a case just today actually with the FlyingPress team. I gave them a temporary access link so I can certainly send one to you too separately. Will be in touch.
Looks like it was a bad configuration on my side in FlyingPress. I had set a keyword of ārecaptchaā in the FlyingPress Delay Scripts Until User Interaction feature. Unfortunately this caused an unintended conflict in Bricksā own scripts (as I understand it at least) since one of the files has text for recaptcha in it, thus why it wasnāt defined properly and thus the error message in the console. Removing that particular keyword in the FlyingPress configuration resolved the conflict, and I have reintroduced it with a more narrowly scoped wording to avoid the conflict in the future.