Title: JavaScript error on dashboard
Last modified: June 5, 2022

---

# JavaScript error on dashboard

 *  Resolved [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/)
 * Hello, the latest version of the plugin (4.4.6) causes a JavaScript error on 
   the WP dashboard. To replicate:
    1. Install and activate WP Simple Pay
    2. Visit the dashboard @ `/wp-admin/index.php`
    3. View the error in the browser console
 * **Error:**
 * `Cannot read properties of undefined (reading 'meta') /wp-includes/js/dist/core-
   data.min.js?ver=123abc...:2`
 * [ [Screenshot](https://perishablepress.com/share/wp-simple-pay-bug.png) ]
 * Firefox console provides a bit more infos about the error:
 * `can't access property "meta", f is undefined /wp-includes/js/dist/core-data.
   min.js?ver=123abc...:2`
 * This error is causing problems with other plugins. Please let me know if more
   information is needed.

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

 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15713044)
 * Hello Jeff,
 * I’m sorry you are experiencing this issue, but unfortunately I am unable to reproduce
   it. Can you please let me know which version of WordPress you are using? Also,
   are you using the Gutenberg plugin? If so, which version of that?
 *  Thread Starter [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15713546)
 * WordPress 6.0.
 * I will do further testing and report back with specifics.
 * Thanks for response.
 *  Thread Starter [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15713850)
 * Turns out the error happens when [Classic Widgets](https://wordpress.org/plugins/classic-widgets/)
   is active. So same steps as above, but also enable Classic Widgets.
 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15716100)
 * Hello Jeff,
 * Thank you very much for the information. That is helpful. A team member was able
   to reproduce the issue using the Classic Widgets plugin, but I am still unable
   to reliably reproduce the reported error in my environment.
 * We are continuing to investigate this issue and will update you when we have 
   further information.
 * If you continue to see the JavaScript error and it causes a conflict with other
   dashboard widgets, you can use the following PHP code snippet to temporarily 
   prevent the WP Simple Pay widget from loading:
 * [https://gist.github.com/spencerfinnell/e0baa51bdc6e3c661adfc7876143b0a9](https://gist.github.com/spencerfinnell/e0baa51bdc6e3c661adfc7876143b0a9)
 * See: [https://docs.wpsimplepay.com/articles/adding-custom-code/](https://docs.wpsimplepay.com/articles/adding-custom-code/)
 * We apologize for the inconvenience this is causing.
 *  Thread Starter [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [4 years ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15716971)
 * Thanks [@spencerfinnell](https://wordpress.org/support/users/spencerfinnell/),
   disabling the widget works for now.
 *  [Spencer Finnell](https://wordpress.org/support/users/spencerfinnell/)
 * (@spencerfinnell)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15736045)
 * Hello [@specialk](https://wordpress.org/support/users/specialk/), sorry for the
   delayed follow up, I’ve been out of the office.
 * We have been able to reproduce this (although only sporadically) enough to hunt
   down the cause. We’ll be sure to include a fix in the next release of the plugin.
 * Thank you again for the report and your patience while it is resolved.
 *  Thread Starter [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15737106)
 * That is great news, thanks again for your help. Looking forward to the update.

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

The topic ‘JavaScript error on dashboard’ is closed to new replies.

 * ![](https://ps.w.org/stripe/assets/icon-256x256.png?rev=2784844)
 * [Stripe Payment Forms by WP Simple Pay - Accept Credit Card Payments + Subscriptions with Stripe](https://wordpress.org/plugins/stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/javascript-error-on-dashboard/#post-15737106)
 * Status: resolved