Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › URGENT! "Submit for Review" button is broken after WordPress update (Maybe)
- This topic has 1 reply, 1 voice, and was last updated 5 years ago by Luke Lee.
- AuthorPosts
- November 15, 2019 at 6:11 am #92397Luke LeeParticipant
Hi, so for vendor, when they upload a product, the “Submit for Review” button suddenly not working anymore.
I’m assuming it is after the WordPress’s newest updates, or maybe WooCommerce’s newest update.
I check the console when I click the button, here shows the error:
Uncaught TypeError: $ is not a function at HTMLBodyElement.<anonymous> ((index):1029) at HTMLBodyElement.dispatch (jquery.js?ver=1.12.4-wp:3) at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4-wp:3) at Object.trigger (jquery.js?ver=1.12.4-wp:3) at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2) at HTMLBodyElement.<anonymous> (jquery.js?ver=1.12.4-wp:3) at Function.each (jquery.js?ver=1.12.4-wp:2) at a.fn.init.each (jquery.js?ver=1.12.4-wp:2) at a.fn.init.trigger (jquery.js?ver=1.12.4-wp:3) at wcfm_products_manage_form_validate (wcfm-script-products-manage.js?ver=6.3.3:1455) at HTMLInputElement.<anonymous> (wcfm-script-products-manage.js?ver=6.3.3:1537) at HTMLInputElement.dispatch (jquery.js?ver=1.12.4-wp:3) at HTMLInputElement.r.handle (jquery.js?ver=1.12.4-wp:3)
Screenshot for showing which button I’m talking about (a very important button):
https://gyazo.com/cc76465c2acf4c7aabf85e5df8845e61
Very urgent, because now all our sellers don’t know what to do.
Thanks.
- November 15, 2019 at 6:25 am #92400Luke LeeParticipant
Hi, I have located the bug, which is a custom coding provided from you previously that helps to validate that user have to pick a sub-category in order to submit for review.
I have changed all the unnecessary $ sign into jQuery (wordPress requires to use jQuery if under header script)
and now its functioning again.
Thank and this problem is resolved.
- AuthorPosts
- The topic ‘URGENT! "Submit for Review" button is broken after WordPress update (Maybe)’ is closed to new replies.