I have a site that was updated to 4.3, and now the widgets can’t be updated, and media can’t be added. There is an error in the console:
Uncaught Error: Syntax error, unrecognized expression: a[rel=]
on load-scripts.php.
I thought this might have been a problem with 4.3 (as nothing has changed on the site, plugins wise or otherwise – just keeping all things updated) so I downgraded to 4.2.4.
I inherited the site and I know there have been many customizations done to it to facilitate some custom post types and how they’re displayed in the theme.
Downgrading didn’t work, but changing the theme to a default theme did work. So the problem is somewhere in the theme, which I don’t understand as the theme hasn’t changed since the site was made, or been upgraded (I know it’s bad, but splitting the modified files into a child theme would be near impossible at this point).
Any help provided would be greatly appreciated.
Hi larsy87!
Thank you for using Enfold.
The site is probably using a very old version of the theme. Please update the theme to the latest version, 3.3.2. Unfortunately, we can’t help you trace back the modifications made on the theme. Please use a child theme or create a change log of the script changes and modified files.
Regards,
Ismael
I’m using 3.3.2 Enfold and a child theme with only a couple CSS overrides and this is happening to me with WP 4.3.1
Seems to be a regression of a bug Spet 2014