Uncaught TypeError: Cannot set property ‘innerHTML’ of null
-
I’m running into an “Uncaught TypeError” with this stack trace:
yasr-front.js?ver=2.5.9:30 Uncaught TypeError: Cannot set property ‘innerHTML’ of null
at Object.success (yasr-front.js?ver=2.5.9:30)
at c (jquery.min.js?ver=3.5.1:2)
at Object.fireWith [as resolveWith] (jquery.min.js?ver=3.5.1:2)
at l (jquery.min.js?ver=3.5.1:2)
at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.5.1:2)I’m also seeing a Javascript console error for this query:
https://<siteurl>/wp-json/wp/v2/posts/747?_fields=yasr_visitor_votes&_wpnonce=0dacf4584eHere’s what is odd… I have a fresh WP test site that works fine, and it doesn’t seem to call the JSON API, only admin-ajax. So I don’t understand why my problem site is calling the API.
Thank you!
- The topic ‘Uncaught TypeError: Cannot set property ‘innerHTML’ of null’ is closed to new replies.