I have some javascript that sends data to a function that calls a php page, however I get an error that I can\'t find any information on. The postData() call is in the middl
I ran in to this when doing a jQuery $.ajax() call like you did. Apparently (in my case) it was caused by referencing a variable that wasn't in scope and was undefined. For example, in your code:
"level":mycat,
"extra":mytimer,
"pid":pid
If mycat, mytimer, or pid were null, and you're having the same problem, that would do it.