Error Uploading Media in Post if Yoast is Active
-
Hello,
I have a weird error on a website where I use WordPress SEO by Yoast.If I try to upload any media in the edit post screen (and WP Seo is active) I have an error on wp-admin/load-scripts.php
and the upload fails.Google Chrome Console gives me this error:
– Uncaught TypeError: Cannot read property ‘text’ of undefined on load-scripts.php line 457Firebug console on Firefox gives the following:
– TypeError: this.$index is undefined (load-script-php line 457, col 2536)Deactivating Yoast clears the error and the upload works again.
Uploading on wp-admin->media->new media instead works without error.
Before saying that the problem is caused by Yoast I made the following steps:
1) reuploaded all wp-admin and wp-includes folder
2) deactivated all plugin and reactivated one by one trying to upload
3) after discovered that was Yoast I downloaded a new copy of Yoast and uploaded via FTP (thinking about some file corruption).Unfortunately this did not solve.
Deactivating Yoast is the only move that I’ve been able to find to clear the error and upload medias.
Problem Yoast is something I can’t do without. Any hint?
- The topic ‘Error Uploading Media in Post if Yoast is Active’ is closed to new replies.