I'm having trouble with 5 generic services that were working before, and now they don't. I haven't changed any of the code. I've already shared my project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a (homeschool-life). What's happening is that I have this code to execute generic services...
codegeneric.admin = execute.genericService(GenericPendingSignUpsService,"DataPendingSignUps",true,0);//execute generic service/code
and this is the function that does the actual execution...
code//function executes generic services and sets boolean values
execute.generic = function(service,data,boolean)
{
try
{
if(boolean)
{
REST.data = data;//load data
service.execute({});//execute service
}
return false;//return boolean for test boolean
}
catch(err)
{
Error.open("execute.generic Error", err);
console.log("execute.generic: " + err);
return true;//return boolean to run service again if failure
}
};/code
It gives: typeError: undefined is not a function
Any help would be appreciated. I've had this problem in the past and someone had to go fix it in the project source. It seems to be a problem when new updates come out, but I've never really been told the real problem for sure.