Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 890 forks source link

Yoast throws error in the console on custom taxonomy save #6640

Closed danjaworsky closed 7 years ago

danjaworsky commented 7 years ago

Uncaught TypeError: Cannot read property 'replace' of undefined at i (wp-seo-premium-quickedit-notification-352.min.js?ver=4.2.1:1) at f (wp-seo-premium-quickedit-notification-352.min.js?ver=4.2.1:1) at g (wp-seo-premium-quickedit-notification-352.min.js?ver=4.2.1:1) at k (wp-seo-premium-quickedit-notification-352.min.js?ver=4.2.1:1) at HTMLInputElement. (wp-seo-premium-quickedit-notification-352.min.js?ver=4.2.1:1) at HTMLInputElement.dispatch (jquery.js?ver=1.12.4:3) at HTMLInputElement.r.handle (jquery.js?ver=1.12.4:3) at Object.trigger (jquery.js?ver=1.12.4:3) at Object.jQuery.event.trigger (jquery-migrate.js?ver=1.4.1:633) at HTMLInputElement. (jquery.js?ver=1.12.4:3)

What did you expect to happen?

To be able to save a custom taxonomy term

What happened instead?

Yoast throws error, taxonomy term does not save

How can we reproduce this behavior?

Can you provide a link to a page which shows this issue?

Technical info

CarolineGeven commented 7 years ago

Could you please let me know which version of WordPress and which version of Yoast SEO you are using?

Is the taxonomy term public or non-public?

danjaworsky commented 7 years ago

Yoast SEO Premium - 4.2.1 WP - 4.7.2

The taxonomy is public.

klojniewski commented 7 years ago

Have the same issue.

thulshof commented 7 years ago

Thanks for following up on this issue. Could you please update to the latest version of our plugin? We would like to have some more information on this issue, because we are having a hard time reproducing it. Could you please let us know how you are adding your taxonomy? Please let us know all exact steps you take.

Additionally we'll need to know if this behavior is caused by a conflict with a plugin or theme. Therefore we want to ask you to do the following;

If it still occurs:

If it doesn't occur anymore:

If the problem reoccurred after reactivating one of your plugins, please add that information to your bug report.

Thanks!

thulshof commented 7 years ago

Closing this issue due to inactivity. If this issue is still relevant, please reopen with the requested information.

alexandredesane commented 6 years ago

Hi, I'm facing the same problem here YOAST Version 4.3.2 WORDPRESS version 4.8.3

wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1 Uncaught TypeError: Cannot read property 'replace' of undefined at i (wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1) at f (wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1) at g (wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1) at k (wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1) at HTMLInputElement. (wp-seo-premium-quickedit-notification-352.min.js?ver=4.3.2:1) at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui&load[]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-progressbar,backbone&ver=4.8.3:3) at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui&load[]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-progressbar,backbone&ver=4.8.3:3) at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui&load[]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-progressbar,backbone&ver=4.8.3:3) at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui&load[]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-progressbar,backbone&ver=4.8.3:9) at HTMLInputElement. (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,underscore,wp-util,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui&load[]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,jquery-ui-progressbar,backbone&ver=4.8.3:3)