I have an image field that allows a single image to be uploaded. The selection works, but if I click upload, I get an AJAX error. If I just submit without uploading first, the image is uploaded properly. If I go in to edit that image field and click remove, I again get an ajax error.
An error occurred while attempting to process /file/ajax/field_front_image/und/0/form-XprUtXJvTcMRlmsz3CmBs6uDFpuJcev4SO_I_PvsM-E: Array.prototype.reverse called on null or undefined
I get this error locally and on the production server. It happens for all image fields and it's the same error when clicking upload or remove.
How can I fix the ajax on these form fields?