• Resolved simplemachines

    (@simplemachines)


    Hi there,

    When selecting Tabs Mode on Small Screen > Accordion, we receive this error and the tabs do no switch:

    collapse.min.js?ver=2.1.5:6

    Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
        at SP_Collapse_Pro._getParent (collapse.min.js?ver=2.1.5:6:9901)
        at new SP_Collapse_Pro (collapse.min.js?ver=2.1.5:6:5814)
        at HTMLDivElement.<anonymous> (collapse.min.js?ver=2.1.5:6:10817)
        at Function.each (jquery.min.js?ver=3.6.0:2:3003)
        at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
        at s.fn.init._jQueryInterface [as collapse] (collapse.min.js?ver=2.1.5:6:10583)
        at HTMLDivElement.<anonymous> (collapse.min.js?ver=2.1.5:6:11564)
        at Function.each (jquery.min.js?ver=3.6.0:2:3003)
        at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
        at HTMLLabelElement.<anonymous> (collapse.min.js?ver=2.1.5:6:11434)
    _getParent @ collapse.min.js?ver=2.1.5:6
    SP_Collapse_Pro @ collapse.min.js?ver=2.1.5:6
    (anonymous) @ collapse.min.js?ver=2.1.5:6
    each @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    _jQueryInterface @ collapse.min.js?ver=2.1.5:6
    (anonymous) @ collapse.min.js?ver=2.1.5:6
    each @ jquery.min.js?ver=3.6.0:2
    each @ jquery.min.js?ver=3.6.0:2
    (anonymous) @ collapse.min.js?ver=2.1.5:6
    dispatch @ jquery.min.js?ver=3.6.0:2
    v.handle @ jquery.min.js?ver=3.6.0:2

    Can you help fix this?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @simplemachines,

    Thanks for reaching us. Sorry to hear that you’re facing such an issue.

    It seems that this issue is occurring due to deferring the two JS (jquery.min.js and jquery.migrate.min.js) files with the WP Rocket plugin or another plugin. To solve this issue, exclude the files from Load JavaScript Deferred. Please take a look at the screenshot.
    ?

    Hope it may help. Please let us know if it works or not.

    Thread Starter simplemachines

    (@simplemachines)

    Excluded those file from being deferred but we’re still experiencing the issue. We also tried turning off the defering javascript and delaying javascript.

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @simplemachines,

    Sorry to hear that the issue still exists. Please create a support ticket here with the necessary information so that our support member can review it deeply to figure out the issue.

    Thank you

    Thread Starter simplemachines

    (@simplemachines)

    Will do. Thank you!

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @simplemachines,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mobile Accordion Error’ is closed to new replies.