Uncaught TypeError: Cannot read property 'error' of undefined
Uncaught TypeError: Cannot read property 'error' of undefined
Hey Allan,
When I try to add a new row in Editor, and then click the "Add" button, I receive the following error. You can see it here:
https://www.dcturano.com/to-do_list/
Uncaught TypeError: Cannot read property 'error' of undefined
(anonymous function)
n.extend.each
(anonymous function)
j
k.fireWith
x
b
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The strange thing is that jQuery is loaded before DataTables and Editor, so I don't see why this error would be thrown.
EDIT: I can't run my page through the debugger because it only goes through https, while the debugger could only do http.
Server is responding with:
However, there is no field called
created
so Editor doesn't know what to do with the error given and throws the warning.Possibly you need to remove the validation of the record on create?
Allan
Removing the validation fixed it, thank you Allan.