• Resolved futurestorm

    (@futurestorm)


    I noticed this had been queried by someone else but had been closed without being solved so I am opening a new thread.

    I am not able to add quiz questions to the quiz – when I click the button nothing happens. I opened Firebug to inspect the console and got an error
    Error: Option ‘multiple’ is not allowed for Select2 when attached to a <select> element.
    …,”tags”],function(){if(this in c)throw new Error(“Option ‘”+this+”‘ is not allow…

    I read the documentation on known errors and I am using Advanced Custom Fields in the site.
    Is there any way around this? Your plugin looks perfect for what I need but will be going into a site that ahas already been built with ACF…
    I’ve installed the plugin on a test site at the moment so happy to give you login access to have a look if that helps

    Cheers

    https://wordpress.org/plugins/lifterlms/

Viewing 3 replies - 1 through 3 (of 3 total)
  • @futurestorm,

    We do not currently have a resolution for this issue. I think I’ve found a possible solution but it’s not going to be available until LifterLMS 3.0.0 is released.

    The issue is, unfortunately, very complicated and most easily resolved by other plugins updating and other plugins don’t want to do that I can’t do anything about it.

    The best solution is to de-enqueue the version of Select2 enqueued by the other plugin on the screens where LifterLMS uses it… but, unfortunately, ACF is used on almost all screens. If you’re not using ACF for quizzes then we can do this.

    You can look at this snippet and try to adjust it to accommodate your needs: https://gist.github.com/thomasplevy/d84a7ceb65c7d9f56b677d7ee824534c

    If you’d like me to do it for you that’s fine but I cannot accept logins here. If you want to subscribe to LifterLMS Pro you can submit a support ticket and send credentials there and I can take a look and write a snippet for you that will at least temporarily resolve the issue.

    Thanks,

    Thread Starter futurestorm

    (@futurestorm)

    Thanks Thomas.
    I’m pretty sure we don’t need to use ACF for quizzes as LifterLMS seems to handle everything we need included. I had a play around with the code you provided (incorporating in some code from this support thread) and did manage to find something that I think will work.
    There are one or two small bugs (one of which may be caused by me not configuring things properly) but I am proposing to our client that they purchase a Pro subscription so we can access full support to deal with these.
    Once again, thank you for your assistance.

    @futurestorm,

    Okay, if you do open a support thread please drop a link to this thread in the post so I can catch up on the history when it opens.

    Take care,

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

The topic ‘Add New Question button not working’ is closed to new replies.