Getting TypeError: ‘caller’, ‘callee’, and ‘arguments’ properties may not be accessed on strict mode

I don’t think strict mode is the error, it’s just that the console can’t get the contents of the arguments array in strict mode. The status is 200 so it looks like the ajax call worked, but the response text says “can’t upload file”, so I think the error is on the server side.

Update with TypeError example:

That TypeError just says the console can’t get the values the arguments array when using strict mode. It’s not an error with the code. The simple example in the image demonstrates this.

Example of TypeError

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)