gpt4 book ai didi

javascript - 未捕获的类型错误 : Object # has no method '_isNullOrUndefined'
转载 作者:行者123 更新时间:2023-11-30 00:18:00 26 4
gpt4 key购买 nike

在 Parse.com 上运行 aftersave 时,有时会出现错误:

Uncaught TypeError: Object #<Object> has no method '_isNullOrUndefined'

大多数时候,根本没有问题。

E2015-12-07T05:51:27.294Z]v2062 before_save triggered for Messages as master:
Input:
{
"original":{
"ACL":{
"TOKH12Rp70":{
"read":true,
"write":true
},
"TAMklaH39":{
"read":true
}
},
"createdAt":"2015-11-14T11:05:17.242Z",
"from":{
"__type":"Pointer",
"className":"_User",
"objectId":"TOKH12Rp70"
},
"message":"Hi",
"objectId":"67yyXKTTY",
"read":true,
"score":{
"__type":"Pointer",
"className":"Scores",
"objectId":"RqUP2X8T86"
},
"to":{
"__type":"Pointer",
"className":"_User",
"objectId":"TAMklaH39"
},
"updatedAt":"2015-12-06T18:56:45.405Z"
},
"update":{
"read":true
}
}
Result: Uncaught TypeError: Object #<Object> has no method '_isNullOrUndefined'

还有我的一 block Cloud Code JS

Parse.Cloud.beforeSave('Messages', function(request, response){
if(request.object.isNew()){
// FIRST, Set the current score
var last_score = request.user.get('last_score');
request.object.set('score', last_score);
cl('Beforesave: added score');

// SECOND, let the receiver know
var from_id = request.object.get('from').id;
var to_id = request.object.get('to').id;
var message = request.object.get('from').get('first_name') + ': ' + request.object.get('message');
var action = 'new_message';
send_push_message(from_id, to_id, message, action);
cl('Beforesave: send message');
}
response.success();
});

奇怪的是,我什至没有使用“_isNullOrUndefined”方法。

最佳答案

我今天开始在 Cloud 上遇到同样的错误。这似乎是一个已知的 Parse 服务器错误,而服务器内存不足。不幸的是,Facebook 工程师认为这是一个需要修复的低优先级错误,因为它位于此处:https://developers.facebook.com/bugs/1653218834940491/

今天还报道了:https://developers.facebook.com/bugs/978099338900195/

关于javascript - 未捕获的类型错误 : Object #<Object> has no method '_isNullOrUndefined' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34127870/

26 4 0