There´s no illogical errors in programming, probably the error has to do with a function parameter bad defined or it doesnt exist. You must see the last code you changed before the error appeared.