wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Javascript error when featured images is missing

Open robi09 opened this issue 11 years ago • 2 comments

Hello guys, i have discovered a small issue with your plugin. When a custom post type doesn't have thumbnail support, your plugin gives this error in console: "wp-seo-admin-media-302.min.js?ver=3.0.4:1 Uncaught TypeError: Cannot read property 'frames' of undefined".

Cheers!

robi09 avatar Nov 27 '15 21:11 robi09

It seems the plugin's js doesn't check for the existence of dom nodes before attempting to access properties on those nodes, causing fatal errors all over the place. This is part of a sequence of egregious admin crashing bugs.

WraithKenny avatar Dec 03 '15 15:12 WraithKenny

Duplicates #3498 (I have trouble reproducing).

Rarst avatar Dec 21 '15 09:12 Rarst