[wp-trac] [WordPress Trac] #62767: Featured image: media-models.min.js?ver=6.8-alpha-59568:2 Uncaught TypeError: t.get is not a function
WordPress Trac
noreply at wordpress.org
Thu Feb 6 11:42:13 UTC 2025
#62767: Featured image: media-models.min.js?ver=6.8-alpha-59568:2 Uncaught
TypeError: t.get is not a function
-------------------------------------+-------------------------------------
Reporter: nataliat2004 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-testing-info has- | Focuses: javascript,
patch | administration
-------------------------------------+-------------------------------------
Comment (by siliconforks):
Replying to [comment:9 desrosj]:
> Before [59509] I made sure to test in multiple browsers and I was not
seeing the same issue. I am also unable to reproduce this in `trunk`
currently.
I'm still seeing this in the latest trunk (r59766) - not sure why so many
people are having trouble reproducing it... You have (at least) 2 images
in your media library?
> This seems like a reasonable path forward, but there is one thing to
note that gives me pause to commit. Before applying the PR I see no
console errors. After, I see:
>
> > `Uncaught TypeError: can't access property "value",
document.querySelector(...) is null`
I believe that is an unrelated issue that was in trunk at the time I made
the pull request a week ago and was later fixed in r59746.
I have just rebased my pull request on the latest trunk version, so that
issue should be gone now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62767#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list