Title: Javascript errors in admin backend, v2.0.1
Last modified: March 17, 2021

---

# Javascript errors in admin backend, v2.0.1

 *  Resolved [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/)
 * Similar to what [@robertstaddon](https://wordpress.org/support/users/robertstaddon/)
   was experiencing in [https://wordpress.org/support/topic/version-2-0-causes-javascript-errors-in-divi-builder/](https://wordpress.org/support/topic/version-2-0-causes-javascript-errors-in-divi-builder/)
 * …lots of JS errors appearing in some of our backend admin editing pages even 
   with v2.0.1.
 * Some examples:
 *     ```
       frontend.js:1 Uncaught TypeError: Cannot read property 'has' of undefined
           at Object.handle (frontend.js:1)
           at gettext_with_context (frontend.js:1)
           at Object.applyFilters (hooks.min.js:1)
           at Object.u [as _x] (i18n.min.js:2)
           at tags-suggest.min.js:2
           at tags-suggest.min.js:2
       ```
   
 *     ```
       Uncaught TypeError: Cannot read property 'has' of undefined
           at Object.handle (frontend.js:1)
           at gettext_with_context (frontend.js:1)
           at Object.applyFilters (hooks.min.js:1)
           at Object.u [as _x] (i18n.min.js:2)
           at tags-box.min.js:2
           at tags-box.min.js:2
       ```
   
 *     ```
       frontend.js:1 Uncaught TypeError: Cannot read property 'has' of undefined
           at Object.handle (frontend.js:1)
           at gettext (frontend.js:1)
           at Object.applyFilters (hooks.min.js:1)
           at Object.__ (i18n.min.js:2)
           at a11y.min.js:2
           at HTMLDocument.u (a11y.min.js:2)
       ```
   

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14198006)
 * If you’re getting that error, then you’re not running v2.0.1 – it doesn’t call
   has() at all so wouldn’t generate those issues
 *  Thread Starter [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14198106)
 * We are running 2.0.1, it was auto-updated ~8hrs ago.
 * Screenshot from plugins page:
    [https://ibb.co/KqN8Zjm](https://ibb.co/KqN8Zjm)
    -  This reply was modified 5 years ago by [Joe](https://wordpress.org/support/users/joewa1980/).
 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14198184)
 * Either:
    a) The upgrade didn’t complete correctly and you still have stale files
   from v2.0.0 b) You have something on your site that is serving out of date assets
 * The problematic call is a call to lodash.has ([https://plugins.trac.wordpress.org/browser/say-what/tags/2.0.0/assets/build/frontend.js#L158](https://plugins.trac.wordpress.org/browser/say-what/tags/2.0.0/assets/build/frontend.js#L158)).
 * That doesn’t exist in v2.0.1 – we don’t use lodash at all in fact in the updated
   version ([https://plugins.trac.wordpress.org/browser/say-what/tags/2.0.1/assets/build/frontend.js](https://plugins.trac.wordpress.org/browser/say-what/tags/2.0.1/assets/build/frontend.js))
 *  Thread Starter [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14198285)
 * Same errors on two separate sites, and then when Say What? is deactivated the
   errors disappear.
 * I’ll try manually adding the files from `https://plugins.trac.wordpress.org/browser/
   say-what/tags/2.0.1` tomorrow.
 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14199275)
 * No problem.
 * If you’re still seeing this after then if you can reach out at [https://plugins.leewillis.co.uk/enquiries/](https://plugins.leewillis.co.uk/enquiries/)
   with details of the site URL and we’ll happily take a look – although I’m confident
   those calls aren’t in the released version
 *  Thread Starter [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14201526)
 * This looks to be a potential conflict with jQuery Migrate. Both sites are running
   2.0.1 with files directly from the repository.
 * For now we’ve allowed Say What? to run everywhere except for anywhere that matches`/
   wp-admin/post.php?post=*`
 * It means we can run the admin pages as usual while having the plugin work on 
   the frontend.
 * It’s a workaround that we may have to live with, no huge issue.
 *  Plugin Author [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * (@leewillis77)
 * [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14201547)
 * I’d love to look at this if you can reach out at the URL above – you really shouldn’t
   be seeing that issue from v2.0.1 …

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Javascript errors in admin backend, v2.0.1’ is closed to new replies.

 * ![](https://ps.w.org/say-what/assets/icon-256x256.jpg?rev=970013)
 * [Say What?](https://wordpress.org/plugins/say-what/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/say-what/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/say-what/)
 * [Active Topics](https://wordpress.org/support/plugin/say-what/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/say-what/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/say-what/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Lee Willis](https://wordpress.org/support/users/leewillis77/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/javascript-errors-in-admin-backend-v2-0-1/#post-14201547)
 * Status: resolved