I am having the same issue. Unable to upload images.
Uncaught Error: Syntax error, unrecognized expression: #[object HTMLDivElement] .adverts-gallery-uploads
at Function.fa.error (jquery.js:2)
at fa.tokenize (jquery.js:2)
at fa.select (jquery.js:2)
at Function.fa (jquery.js:2)
at Function.a.find (jquery-migrate.min.js:2)
at n.fn.init.find (jquery.js:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js:2)
at a.fn.init.n.fn.init (jquery.js:2)
at new a.fn.init (jquery-migrate.min.js:2)
at n (jquery.js:2)
Latest 1.2.2 Fixed my issue with uploading.
Hi, @bilimokur your theme is including an old version of jQuery v1.11.2, it overwrites the default jQuery version (v1.12.4) bundled with WordPress which causes a problem.
The best way to fix that would be to stop the theme from loading the old jQuery version. I am not sure where this code but i am guessing it will be somewhere in the theme functions.php file. If not then you can ask your theme support about it.
Specifically, the file which causes a problem is /wp-content/themes/mimarihaber/js/jquery.min.js
Thread Starter
wpdiv
(@bilimokur)
Ok. I will update my jquery version. Thank you.