mcguffin / the-paste

Paste Images in WordPress from many applications and upload them to the media library.
https://wordpress.org/plugins/the-paste/
GNU General Public License v3.0
40 stars 11 forks source link

Javascript Error #47

Closed ASHIRIGB closed 1 year ago

ASHIRIGB commented 1 year ago

Hi,

After upgrading to the latest version, i get the following Javascript error on the debug console. Using Chrome, and WP version 6.3.1.

uploader.jsx:128 Uncaught (in promise) TypeError: e.getSource is not a function at uploader.jsx:128:24 at Array.filter () at F.Uploader. (uploader.jsx:127:57) at the-paste.js?ver=2.0.4:13:54580 at Array.forEach () at the-paste.js?ver=2.0.4:13:54549

I am trying to copy an image from another chrome page, and paste directly into the library.

Edit, everything used to work fine on 1.1.2 using the exact same setup.

mcguffin commented 1 year ago

Hi @ASHIRIGB, Mhmm, I can't reproduce this on a fresh WordPress install... The file uploader.jsx does not look very familiar to me. Can you figure out the full path of that jsx-file? Might be another plugin hooking into the media library...

ASHIRIGB commented 1 year ago

sorry i forgot to mention that I have been using the "Real Media Library" plugin, but since it worked fine with the previous version it completely escaped my mind. I have disabled that plugin and files copied/pasted successfully which means its a conflict with the "Real Media Library" plugin.