• I’m using Free Ascend template on several sites and I love it.

    I have a compatibility issue in the admin panel after installing the Post Grid plugin.(www.ads-software.com/plugins/post-grid/)

    Selects in Theme Options are broken, instead of the select I get a x next to the value previously selected and there is no way to change it

    From the console I get “The select2(‘destroy’) method was called on an element that is not using Select2.”.

    Site is using latest Woocommerce and latest WordPress installations

    I had the same problem 1 year ago in another site and after investigation I found that was related to the WooCommerce Product Subtitle plugin.
    At that time I opened a ticket but the problem was not solved

    Could you please suggest a fix to resolve these compatibility issues of Ascend with plugin using Select2?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hey,
    Thanks for reaching out! Just to confirm, if the post grid plugin is deactivated this issue goes away? Have you tried contacting the post grid plugin support? Can you post a link?

    Thanks,
    Hannah

    Thread Starter ecstoreweb

    (@ecstoreweb)

    Hi,

    yes if I dactivate Post grid plugin the issue goes away

    I did further investigation and I dequeued ascend select2-min.js

    wp_dequeue_script( ‘select2’, get_template_directory_uri() . ‘/assets/js/min/select2-min.js’, array( ‘jquery’ ), ASCEND_VERSION, false );

    after this, all select are working in theme options except the part regarding typography because the error is now

    Uncaught TypeError: c(…).select2 is not a function
    at Object.redux.field_objects.typography.select (field_typography.min.js?ver=1627114354:1)

    I think you can easly replicate the problem loading Post grid plugin on a fresh Ascend installation. I have the same issue on all my sites with Ascend + Post Grid

    thanks

    Hello,

    Apologies for the delay in getting back to you!

    I sent a note regarding this to our developer. However, I would suggest getting in touch with the Post Grid plugin as well and see if they have any code snippet available to not load their select2.js on admin pages that are not showing their plugin settings.

    We’ll update you once we heard back from the developer.

    Kind Regards,
    Karla

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Selects in Theme Options are broken’ is closed to new replies.