URGENT! "Submit for Review" button is broken after WordPress update (Maybe)

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM URGENT! "Submit for Review" button is broken after WordPress update (Maybe)

Viewing 1 reply thread
  • Author
    Posts
    • #92397
      Luke Lee
      Participant

      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.

    • #92400
      Luke Lee
      Participant

      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.

Viewing 1 reply thread
  • The topic ‘URGENT! "Submit for Review" button is broken after WordPress update (Maybe)’ is closed to new replies.