Reputation: 143
With the latest version of Wordpress I can't upload media. It shows this message from debugger:
Uncaught Error: Syntax error, unrecognized expression: a[rel=] load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,plupload,jquery-ui-core&ver=4.2.2:2 Uncaught Error: Syntax error, unrecognized expression: a[rel=]
It seems to be a jQuery problem, I tried to re-upload again files from wp-includes and upload.php, but it didn't work.
It is important not to downgrade for our project, how can I solve that?
UPDATE: Key error to solve (not the a[rel=] one)
UPDATE 2: It still fails at uploading, but it only has now the a[rel=] error
Upvotes: 1
Views: 1178
Reputation: 1995
Try adding the following line into your wp-config.php
, preferably after
define ('WPLANG', '');
so it becomes
define ('WPLANG', '');
define ('CONCATENATE_SCRIPTS', false );
Upvotes: 2