Showing 1 – 3 of 3 replies
Dennis Gaudenzi

Toast with Facebook Plugin Error

Dennis Gaudenzi PURCHASED
1 year ago
Hi, it looks like today or yesterday we started to get an error with the TOAST calls in the core.min.js file. We are using version 3.1.2. As soon as we load this script, we get this error below. If we remove the script call, no error. Took me 2 hours just to find what was causing the issue. Looks like a FB is conflicting somehow. Have you seen this issue? Please let me know - thank you!! -Dennis

ERROR: Uncaught TypeError: e(...).toast is not a function

Related to this script load: <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v15.0&appId=XXXXXXXXXXXXXXXX&autoLogAppEvents=1" nonce="5OImGFJB"></script>
stepofweb
stepofweb SELLER
1 year ago
Hello dennisgaudenzi,

The toast is actualy based on botostrap - looks like facebook sdk is interfering with it.
My guess is that facebook is also using a "toast" function which is rewriting the bootstrap core (not sure yet, is my goess for now).

I will check/track to see the real problem and fix it.
Thanks for reporting this, dennisgaudenzi.

Thanks,
Dorin
Dennis Gaudenzi
Dennis Gaudenzi PURCHASED
1 year ago
you are welcome - thanks for the reply!
Dennis Gaudenzi
Dennis Gaudenzi PURCHASED
1 year ago
Hi, any update on this issue? thanks.