因为使用这个主题的时候是整个dev分支clone过来的,难免有一些bug(也确实看到作者刚在十几天前修了一些东西)
目前使用关注人/圈子会在后台显示post 500 error
错误位置:

    var xhrSendProcessor = function() 
    {
        try
        {
            var requestDescriptor = findRequestDescriptor(this);
            if (xhrProxyEnabled && requestDescriptor)
            {
                deleteDescriptor(this);
                if (!requestDescriptor.isCORS && !requestDescriptor.headerSet)
                    oldSetRequestHeader.apply(this, [KasperskyLab.RequestCustomHeader, 'Ajax_Request']);
                if (requestDescriptor.RequestSend)
                {
                    requestDescriptor.RequestSend.apply(this, [].slice.call(arguments));
                    return;
                }
            }
        }
        catch(e)
        {
            KasperskyLab.SessionError(e, "xhr");
        }
        return oldSend.apply(this, [].slice.call(arguments));
    };

具体出错位置:

        return oldSend.apply(this, [].slice.call(arguments));

暂且记录问题。

最后修改:2022 年 07 月 03 日
如果觉得我的文章对你有用,请随意赞赏