Title: Script Errors and incorrect script path
Last modified: August 24, 2025

---

# Script Errors and incorrect script path

 *  Resolved [tonydjukic](https://wordpress.org/support/users/tonydjukic/)
 * (@tonydjukic)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/script-errors-and-incorrect-script-path/)
 * **\*\* Ignore this – the site in question is the ONE site we manage that doesn’t
   use this plugin. \*\***
   We’ve got sudden, unexpected javascript errors on a client
   site:`Uncaught TypeError: Cannot read properties of undefined (reading 'c7-utility-
   menu-account-display')`
 * Site was working fine on Thursday or Friday when we last checked, today it’s 
   intermittently loading the cart and the Commerce7 navigation items.
   `www.domain.
   com/includes/commerce7-via-wordpress/public/js/c7vwp-public.js`That is the path
   to the failing JS file, which doesn’t seem correct. Shouldn’t it be in the `wp-
   content/plugins/` directory rather than in `includes`?
    -  This topic was modified 9 months, 2 weeks ago by [tonydjukic](https://wordpress.org/support/users/tonydjukic/).
      Reason: The site in question uses a different plugin

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

 *  Thread Starter [tonydjukic](https://wordpress.org/support/users/tonydjukic/)
 * (@tonydjukic)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/script-errors-and-incorrect-script-path/#post-18611895)
 * Apologies, wish I could delete this support ticket. We have dozens of sites that
   use the plugin and this is the one site that doesn’t, a detail I completely missed.
 *  Plugin Author [Michael Bourne](https://wordpress.org/support/users/michaelbourne/)
 * (@michaelbourne)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/script-errors-and-incorrect-script-path/#post-18611902)
 * No worries!

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

The topic ‘Script Errors and incorrect script path’ is closed to new replies.

 * ![](https://ps.w.org/wp-commerce7/assets/icon.svg?rev=2051516)
 * [Commerce7 for WordPress](https://wordpress.org/plugins/wp-commerce7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-commerce7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-commerce7/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-commerce7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-commerce7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-commerce7/reviews/)

## Tags

 * [script errors](https://wordpress.org/support/topic-tag/script-errors/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Bourne](https://wordpress.org/support/users/michaelbourne/)
 * Last activity: [9 months, 2 weeks ago](https://wordpress.org/support/topic/script-errors-and-incorrect-script-path/#post-18611902)
 * Status: resolved