Title: Javascript loadscripts.php errors &#8211; PRODUCT post page add/edit &#8211; TOGGLES/WIDGETS
Last modified: August 30, 2016

---

# Javascript loadscripts.php errors – PRODUCT post page add/edit – TOGGLES/WIDGETS

 *  Resolved [aug1222](https://wordpress.org/support/users/aug1222/)
 * (@aug1222)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/)
 * MY URL: boomerangpromotions.net
 * I have some javascript errors on the add/edit product post pages in woocommerce
   I’ve been troubleshooting bc the tabs, toggles and widgets on the page are not
   working. I’ve tried the following:
    1) checking permissions & changed all permissions
   to 755/644 for folders/files including calling godaddy and having them change
   the TEMP folder to 755. 2) deleting all plugins except woocommerce (added security
   plugins back after troubleshooting all outlined processes) 3) changing themes
   to default wordpress 2012 or 2015 (changed back after troubleshooting all outlined
   processes) 4) deleting expired transient files 5) reverting to an older backup
   of theme and also reverting database
 * All of this to no avail. Still having the errors and unable to add/edit products
   during each of those steps.
 * Here are the errors from the Firebug console:
    **FIRST ERROR from [http://boomerangpromotions.net/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,plupload,jquery-ui-datepicke&load%5B%5D=r&ver=4.3.1](http://boomerangpromotions.net/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,plupload,jquery-ui-datepicke&load%5B%5D=r&ver=4.3.1)
   LINE 2:12731** Error: Syntax error, unrecognized expression: .hide_if_downloadable,.
   hide_if_virtual, .hide_if_owl-always-love-you-ceramic-mother-and-baby-bird-salt-
   pepper-shakers, .hide_if_a-star-is-born-metal-bookmark-with-white-silk-tassel,.
   hide_if_a-star-is-born-2-piece-door-hanger-bank-set-blue, .hide_if_a-star-is-
   born-2-piece-door-hanger-and-bank-set-pink, .hide_if_a-star-is-born-baby-sign-
   blue, .hide_if_a-star-is-born-baby-sign-pink, .hide_if_a-star-is-born-bottle-
   stopper-in-adorable-showcase-display-box, .hide_if_a-star-is-born-personalized-
   baby-boy-blanket-hat-set, .hide_if_a-star-is-born-personalized-baby-girl-blanket-
   hat-set, .hide_if_about-to-hatch-baby-chick-salt-pepper-shaker-in-gift-box-with-
   organza-bow, .hide_if_about-to-hatch-kitchen-egg-timer-in-showcase-gift-box, .
   hide_if_about-to-pop-popcorn-favor-box-set-of-24, .hide_if_about-to-pop-expectant-
   mom-notepad-pink-or-blue, .hide_if_all-about-plaid-personalized-ceramic-wall-
   tile-boy, .hide_if_all-about-plaid-personalized-ceramic-wall- etc etc etc **SECOND
   ERROR from [http://boomerangpromotions.net/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,underscore,shortcode,media-upload,hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax&load%5B%5D=-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,suggest,postbox,tags-box,word-count,post,editor-expand,bac&load%5B%5D=kbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-vi&load%5B%5D=ew,imgareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-button,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-dialog,&load%5B%5D=jquery-ui-slider,jquery-touch-punch,iris,jquery-ui-menu,jquery-ui-autocomplete,editor,wplink&ver=4.3.1](http://boomerangpromotions.net/wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,underscore,shortcode,media-upload,hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax&load%5B%5D=-response,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,suggest,postbox,tags-box,word-count,post,editor-expand,bac&load%5B%5D=kbone,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-vi&load%5B%5D=ew,imgareaselect,image-edit,svg-painter,wp-auth-check,jquery-ui-button,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-dialog,&load%5B%5D=jquery-ui-slider,jquery-touch-punch,iris,jquery-ui-menu,jquery-ui-autocomplete,editor,wplink&ver=4.3.1)
   LINE load-scripts.php:687:1481** (This error pops up several times over a period
   of time) TypeError: e is undefined
 * Please help. I’ve been troubleshooting for over 2 weeks now and I’m so over it!
   lol Need halpz! Thanks in advance!! 🙂
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6779848)
 * Hey [@aug1222](https://wordpress.org/support/users/aug1222/),
 * Hopefully you’ve found a solution. I will say though that this is nearly impossible
   for anyone to troubleshoot without admin access :/
 *  Thread Starter [aug1222](https://wordpress.org/support/users/aug1222/)
 * (@aug1222)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6779948)
 * [@jesse](https://wordpress.org/support/users/jesse/) Pearson – No, I haven’t 
   found a solution. I would be willing to give someone access that can help me!
 *  Thread Starter [aug1222](https://wordpress.org/support/users/aug1222/)
 * (@aug1222)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6779961)
 * [@jesse](https://wordpress.org/support/users/jesse/) Pearson is awesome! He helped
   me resolve this issue fast and like a pro. It was too many product types in the
   db that was causing the js errors. Thank you so much, Jesse!!
 *  [audrielis](https://wordpress.org/support/users/audrielis/)
 * (@audrielis)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6780001)
 * Hey, i have this problem, how you resolve this problem?
 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [10 years, 1 month ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6780002)
 * Hey [@audrielis](https://wordpress.org/support/users/audrielis/),
 * If I recall correctly, the problem in this instance was caused by a bad import
   that created hundreds of product types within WooCommerce. The product types 
   were loaded in JavaScript for additional admin functions, which broke the JS.
   Once the types in the database were cleaned up, the error went away.
 * For your case, it could be any number of things. I’d start by deactivating WooCommerce,
   then reactivating it, and/or installing a fresh copy of WooCommerce. Then, if
   that did not solve the issue, deactivate plugins one by one to see if the issue
   stops, and if it does, then it’s a plugin conflict.
 * If the problem still persists after that, it would be best for you to start your
   own thread explaining your problem, what you’ve done to resolve it, and any errors
   you find in your browser inspector (usually this can be opened by right clicking
   on something on the page and choosing Inspect).
 * Thank you,
    Jesse
 *  [audrielis](https://wordpress.org/support/users/audrielis/)
 * (@audrielis)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6780003)
 * Hi, i found problem.
    I try: 1.Disable all plugins, than activate 1 by 1. No 
   result. 2.Reinstall woocomerce, try another versiom, downgrade, upgrade. No result.
   3.Reinstall same versiom WordPress, downgrade to other version. No result. 4.
   Connect to PHPMYADMIN, go to table wp_term_taxonomy, delete latest posts about
   200. Works well.
 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [10 years, 1 month ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6780004)
 * Hey [@audrielis](https://wordpress.org/support/users/audrielis/),
 * That may have worked for you, however, I don’t believe it will work for everyone
   and deleting items directly from the database isn’t always the best option. It
   should also never be done without a backup.
 * It sounds like there was something that got entered into your database that was
   breaking the JavaScript when it was being output in the admin.

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

The topic ‘Javascript loadscripts.php errors – PRODUCT post page add/edit – TOGGLES/
WIDGETS’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [javascript errors](https://wordpress.org/support/topic-tag/javascript-errors/)
 * [jQuery errors](https://wordpress.org/support/topic-tag/jquery-errors/)
 * [product pages](https://wordpress.org/support/topic-tag/product-pages/)
 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * 7 replies
 * 3 participants
 * Last reply from: [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/javascript-loadscriptsphp-errors-product-post-page-addedit-toggleswidgets-1/#post-6780004)
 * Status: resolved