Gigya websites throw an error: Received message of type object from (domain), expected a string - all.js:56

倾然丶 夕夏残阳落幕 提交于 2019-12-11 03:53:34

问题


I have just noticed that all my websites using Gigya throw the following console log message for Facebook:

Received message of type object from (domain), expected a string - all.js:56

Does anyone know why this message occurs or how to fix this?

Just noticed its something to do with the facebook-send button. If I remove that it is fine.


回答1:


My friend had the same problem with you.
We disabled a chrome extension named "FVD Downloader" and the message just disappeared.
So try to remove/disable the chrome extension one by one on your computer.
Hope this will help!




回答2:


This is because the Facebook sdk is overeager about claiming messages. If you use postMessage() at all with objects you'll run into this. This was reported as a bug, and closed as "by design" last year -- which is unfortunate, because the way this clutters up the console logs is really, really annoying.

I just filed a bug report asking for the original bug report about this to be re-opened, and you can subscribe and add any comments you have here:

https://developers.facebook.com/bugs/612223468855371/
https://developers.facebook.com/bugs/857134114375190/


来源:https://stackoverflow.com/questions/21503781/gigya-websites-throw-an-error-received-message-of-type-object-from-domain-ex

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!