Home Forums WC Vendors Pro Support New version of Wcvendors and Theme make widgets unavailable

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #35970
    karl
    Participant

    Hi, After updating to the latest version of my theme and Wcvendors plugin I have a issue with my theme’s widgets. They are no longer available. The widget area are blank and I get the message: “There are no widget areas currently rendered in the preview. Navigate in the preview to a template that makes use of a widget area in order to access its widgets here.”

    When I disable the Wcvendors plugin I get the widgets back again.

    The theme I use is Listify (http://themeforest.net/item/listify-wordpress-directory-theme/9602611)

    The support @Listify wanted me to ask you.

    Do you have any tip or suggestions?

    #35972
    WC Vendors Support
    Participant

    We dont interfere with widgets in any way, no widgets ship with WC Vendors. It’s a problem on Listify’s end…..

    #36310
    karl
    Participant

    Hi again 🙂

    So the latest version of the Wcvendors plugin and Listify is incompatible with each other.

    Wcvendors support says:
    “We dont interfere with widgets in any way, no widgets ship with WC Vendors. It’s a problem on Listify’s end…..”

    Listify support says:
    “We have had many reports that the plugin called WC Vendors is causing this issue on a lot of customers sites so please start there. They are likely loading an outdated version of a Javascript library which is causing the error.”

    Do you think Listify support is right: “They are likely loading an outdated version of a Javascript library which is causing the error” ?

    #36315
    WC Vendors Support
    Participant

    There’s one way to find out — Make it break, then hit Ctrl+SHift+J (in Chrome) to see if there’s any errors in the console. Are there?

    #36346
    karl
    Participant

    Yes it says:
    “Uncaught Error: Option ‘ajax’ is not allowed for Select2 when attached to a <select> element.”

    Also see attached printscreen.

    #36494
    WC Vendors Support
    Participant

    Hover your mouse over the “select2.min.js?ver=3.5.2:1” and tell me the full URL to that file. It’ll show up once you hover over it.

    #36525
    karl
    Participant

    xxx/wp-content/plugins/wc-vendors-pro/includes/assets/js/Select2.min.js?ver=3.5.3:1

    #36644
    WC Vendors Support
    Participant

    Thanks Karl. I’m going to guess your theme is bundling a different version of Select2 which is causing conflicts. How nice of your theme author to do that. 🙂 In Pro v1.3.3, which is being released in a couple hours today, has an option in the WC Vendors settings to disable our Select2 that way you wont have conflicts any longer.

    #37896
    karl
    Participant

    OK thank you Ben :-)! Are there any risks at selecting the “Disable select2 from loading with pro”?

    #37908
    WC Vendors Support
    Participant

    Yup, the risk is that checking it will break your entire Pro Dashboard. Only check it if your Pro Dashboard pages arent working at all for adding products.

    #37957
    karl
    Participant

    OK, I do not want to risk that! But if I wait for 1.4.0 (“The updated select2 library being included in Pro will have to wait for v1.4.0”) it will solve my issue without disabling “select2 from loading with pro”?

    #38139
    WC Vendors Support
    Participant

    It may, unless your theme dumps a different version on you by forcing it like your theme is. If that happens, check the disable select2 box, otherwise, leave it be. 🙂

    #38190
    karl
    Participant

    OK. Thanks.

    Listify support says:
    “We have had many reports that the plugin called WC Vendors is causing this issue on a lot of customers sites so please start there. They are likely loading an outdated version of a Javascript library which is causing the error.”

    Can you help me with a message I can send to Listify support to make them understand the issue and not doing this in the future?

    #38991
    Adam Pickering
    Participant

    Hey there @ben and @jamie,

    Adam from Astoundify (creators of Listify) here. Would just like to clear a few things up:

    – WC Vendors Pro includes its own copy of select2 (3.5.2) as mentioned, and does not use what is bundled with WooCommerce:

    wp_register_script( ‘select2’, $this->base_dir . ‘../includes/assets/js/select2’ . $this->suffix . ‘.js’, array( ‘jquery’ ), ‘3.5.2’, true );

    So while it happens to be the same version that WooCommerce uses the same issue will occur again when WooCommerce updates their version.

    Is there a reason to include the duplicate?

    – “Bundling” assets in a theme or plugin should hold the same weight — I do not believe it is anyone’s fault when incompatibilities occur; but it is everyone’s responsibility to keep up to date libraries and work towards fixes together when problems arise. Not really sure how the theme is “forcing” it anymore than the plugin. Or why that matters. Blaming someone for taking the necessary steps to build their product is not helpful.

    – Version 4.0.1 of select2 was released in November of 2015, and “no reason to update” goes against every thing the WordPress community pushes for. It is akin to saying there is no reason to update WordPress core or even the WC Vendors plugin. Surely we all know how important it is to stay up to date.

    Hope that helps and please let me know if there is anything else I can help with!

    #40587
    karl
    Participant

    Hello @ben

    Just wanted to ask again on this issue, it would help me much if this could be solved 🙂

    WC Vendors Pro includes its own copy of select

    If I understand my themes support correct “WC Vendors Pro includes its own copy of select and does not use what is bundled with WooCommerce” Is it possible for you to use the one from WooCommerce?

    “wp_register_script( ‘select2’, $this->base_dir . ‘../includes/assets/js/select2’ . $this->suffix . ‘.js’, array( ‘jquery’ ), ‘3.5.2’, true );”

    “…So while it happens to be the same version that WooCommerce uses the same issue will occur again when WooCommerce updates their version.
    Is there a reason to include the duplicate?
    – “Bundling” assets in a theme or plugin should hold the same weight…”

    Or do I missunderstand this?

    Best regards Karls

    #40626
    Anna
    Member

    Karl,
    I think you are understanding.
    The author of your theme is explaining that wc vendors is using a different, older version of select2 than listify, and that it is generally encouraged in the wp community to keep all versions in plugins and themes updated. So, all in all, wc vendors is a bit behind in select2 versions, and listify is not.

    He’s right: It is, overall, a good practice for all libraries to be updated. I do not know why wc vendors is not in this respect, yet- but there is likely a reason.

    #56042
    brad
    Participant

    Any plugin update on this issue? i’m trying to decide on which multistore plugin to use?

    i have purchased listify and would like to use it possibly with your wc vendor pro plugin

Viewing 17 posts - 1 through 17 (of 17 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.