Javascript loadscripts.php errors – PRODUCT post page add/edit – TOGGLES/WIDGETS
-
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 databaseAll 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 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 LINE load-scripts.php:687:1481
(This error pops up several times over a period of time)
TypeError: e is undefinedPlease help. I’ve been troubleshooting for over 2 weeks now and I’m so over it! lol Need halpz! Thanks in advance!! 🙂
-
Hey @aug1222,
Hopefully you’ve found a solution. I will say though that this is nearly impossible for anyone to troubleshoot without admin access :/
@jesse Pearson – No, I haven’t found a solution. I would be willing to give someone access that can help me!
@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!!
Hey, i have this problem, how you resolve this problem?
Hey @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,
JesseHi, 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.Hey @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.
The topic ‘Javascript loadscripts.php errors – PRODUCT post page add/edit – TOGGLES/WIDGETS’ is closed to new replies.