Uncaught RangeError: Maximum call stack size exceeded

I have an error at the page:

http://www.thalasoft.com/engine/modules/user/login.php

The Chromium browser says: Uncaught RangeError: Maximum call stack size exceeded

And the Facebook Connect button does not work any longer..

Any clue ?


You have both the deprecated Facebook javascript library loaded as well as the old one. Remove the old one:

<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>

Keep the valid one:

<script type="text/javascript">
    window.fbAsyncInit = function() {
        FB.init({
            appId: '35944321698',
            status: true,
            cookie: true,
            xfbml: true
        });
    };
    (function() {
        var e = document.createElement('script'); e.async = true;
        e.src = document.location.protocol +
            '//connect.facebook.net/en_US/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

Not entirely sure it will fix it, but I know mixing them is not supported.

链接地址: http://www.djcxy.com/p/80234.html

上一篇: Chrome / jQuery未捕获RangeError:超出最大调用堆栈大小

下一篇: 未捕获的RangeError:超出最大调用堆栈大小