Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cropper JS error #1385

Closed
MissVeronica opened this issue Dec 12, 2023 · 2 comments · Fixed by #1386 or #1379
Closed

Cropper JS error #1385

MissVeronica opened this issue Dec 12, 2023 · 2 comments · Fixed by #1386 or #1379

Comments

@MissVeronica
Copy link

Describe the bug

jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
cropper.min.js?ver=1.6.1:10 Uncaught TypeError: Cannot read properties of undefined (reading 'scaleX')
at n.getData (cropper.min.js?ver=1.6.1:10:25897)
at HTMLAnchorElement. (um-modal.min.js?ver=2.8.0:1:1641)
at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035)
at v.handle (jquery.min.js?ver=3.7.1:2:38006)

To Reproduce
Steps to reproduce the behavior:
click on “apply” to save new profile image.

Support forum issue
https://wordpress.org/support/topic/js-error-after-update-to-2-8-0/

@nikitasinelnikov
Copy link
Member

I cannot replicate this bug on my end
https://jam.dev/c/0f7a73ff-d16f-4650-ae8c-5b5f26704f1e

I'll wait until the customer response.

@nikitasinelnikov nikitasinelnikov linked a pull request Dec 12, 2023 that will close this issue
@nikitasinelnikov
Copy link
Member

The PR above will fix the JS error, but cannot fix the reason (no initiated cropper for UM objects as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants