Embedding accordions inside other accordions crashed the page

Ticket for: Accordions
0
Embedding accordions inside other accordions crashed the page 1
PickPlugins
Jun 13, 2023 10:39 AM 0 Answers
Member Since Aug 2015
Subscribed Subscribe Not subscribe
Flag(0)

I have already submitted a ticket on Friday and it looks like there was an update on Saturday.  However, this problem is still causing issues.....  (I sent an email to our last rep at public.nurhasan@gmail.com)

We have the latest version of Accordion Combo and Accordion Pro for our website.  Everything has been going well until this last update where whenever we try to add a sub-accordion to our main accordion it completely messes up the page.

 

I had submitted a support ticket and it looks like it fixed some of the ones we already had up.  However, one of the accordions we edited with sub-accordions (and also any NEW one we try to create using sub-accordions) completely mess everything up.  As long as we just have text in the accordions, we are fine.

 

I took a look at the error log whenever we try to load a preview of the accordion with sub accordions and you can see what is happening.

Here is the error (I did check and "accordion_1332" does function correctly - it is only text)

Uncaught DOMException: Document.querySelector: '#accordions-'1332' .items' is not a valid selector scripts.js:28
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions-pro/assets/frontend/js/scripts.js?ver=1686595392:28  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions-pro/assets/frontend/js/scripts.js?ver=1686595392:8  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions-pro/assets/frontend/js/scripts.js?ver=1686595392:28  
    forEach self-hosted:203  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions-pro/assets/frontend/js/scripts.js?ver=1686595392:8  
   
9796  2 scripts.js:28:21
'1332' scripts.js:28:21
   
Uncaught DOMException: Document.querySelector: '#accordions-'1332' .items' is not a valid selector scripts.js:31
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions/assets/frontend/js/scripts.js?ver=1686595392:31  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions/assets/frontend/js/scripts.js?ver=1686595392:10  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions/assets/frontend/js/scripts.js?ver=1686595392:31  
    forEach self-hosted:203  
    <anonymous> https://dfs.wyo.gov/wp-content/plugins/accordions/assets/frontend/js/scripts.js?ver=1686595392:10  

It looks like it’s trying to add some HTML ID number that is not referenced correctly?

For your info, here are the version numbers we currently have....

WordPress: Version 6.2.2
Accordions Combo: Version 2.2.79
Accordions Combo - Pro: Version 1.0.9

Site URL: dfs.wyo.gov

Please help as these accordions are non-functional.

 

0 Subscribers
Submit Answer
Please login to submit answer.
0 Answers
Sort By: