Home › Forums › WoodMart support forum › JS console error
JS console error
- This topic has 15 replies, 2 voices, and was last updated 9 months, 3 weeks ago by Artem Temos.
-
AuthorPosts
-
January 30, 2024 at 12:02 pm #534912
supp0rtParticipantHello,
I recently created a layout for an archive page and I used the categories carousel on the header.
If I am inside a category that has no other children I get this message on the dev console:Uncaught TypeError: Cannot read properties of null (reading 'children') swiperInit.min.js?ver=7.4.3:1 at c (swiperInit.min.js?ver=7.4.3:1:3019) at swiperInit.min.js?ver=7.4.3:1:5422 at NodeList.forEach (<anonymous>) at woodmartThemeModule.swiperInit (swiperInit.min.js?ver=7.4.3:1:5402) at HTMLDocument.<anonymous> (swiperInit.min.js?ver=7.4.3:1:230) at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035) at v.handle (jquery.min.js?ver=3.7.1:2:38006) at Object.trigger (jquery.min.js?ver=3.7.1:2:70124) at HTMLDocument.<anonymous> (jquery.min.js?ver=3.7.1:2:70726) at Function.each (jquery.min.js?ver=3.7.1:2:3129)
Can you please check this on your end? The site I am working on is currently in development and I can not provide you a URL to see the error. If you need more information, let me know
Best Regards
January 30, 2024 at 12:55 pm #534963
Artem TemosKeymasterHello,
We tried but we can’t reproduce the error. Check the video https://monosnap.com/file/lPAJHYF9Rq13Ivffcl53fFShfDVbAJ
Kind Regards
January 30, 2024 at 1:16 pm #534972
supp0rtParticipantI will provide the IP of the site so that you can add it to your Host file of your OS and inspect it there. Please take note that you will need the IP to check the site that is in the staging phase. I have also provided the page with the error.
Let me know if you need any more information.
Best Regards
January 30, 2024 at 1:41 pm #534987
Artem TemosKeymasterWe need your admin and FTP access to check this issue further.
Kind Regards
January 30, 2024 at 2:15 pm #534997
supp0rtParticipantOk. I have provided the details. I am currently working on the site.
I would like to also report another issue with the blog element. It seems to ignore everything on the page. Would you mind taking a look at it?
I have provided the page below with the issue. You can see that it ignores the settings about the blog layout, even if it is set to take the default values from theme settings. Also, the position of the sidebar seems a bit off.
Let me know if you need any more information.
Best Regards
- This reply was modified 9 months, 3 weeks ago by supp0rt.
January 30, 2024 at 5:52 pm #535170
Artem TemosKeymasterHello,
You can fix it by applying patch #
535166
. To do this, go to Dashboard -> WoodMart -> Patcher, find the corresponding patch and click on the “Apply” button. Let us know if it works for you.Kind Regards
January 31, 2024 at 11:38 am #535366
supp0rtParticipantThank you for this. The error seems to be fixed. Can you also check the problem with the blog element?
Best Regards
January 31, 2024 at 6:22 pm #535597
Artem TemosKeymasterThe page you sent seems to have a different theme active, not WoodMart. Could you please check this?
February 1, 2024 at 10:51 am #535723
supp0rtParticipantHello,
Did you check using the server IP I provided previously?
If not you will see the live site and not the one in development using the theme.
Let me know if you need anything else.
Best Regards
February 1, 2024 at 1:09 pm #535769
Artem TemosKeymasterSorry, now it works well. I tried to change the design option for the blog element on the page and it works well https://gyazo.com/b7fdb777227d25c98bcdf39b996df462
Also, the sidebar seems to be displayed correctly. Could you please clarify what is wrong?February 1, 2024 at 1:25 pm #535778
supp0rtParticipantOk. Let me add some clarifications on the matter.
The sidebar appears to be on top of the page while the content of the archive is below. It overlaps with the title section. Link with the image https://snipboard.io/mhziQO.jpg.
Except and this is the default behaviour as I have set the sidebar on the page settings to inherit. So it is the default behaviour of the sidebar that ignores any content on the page.
I would also like to ask if, under the design element, the value default represents any kind of inheritance from the theme’s settings. If this is not the case, then it would be a nice addition if there was such an option, just in case I would like a different layout but the blog grid design could be set on the global settings.
Let me know if you need any more information.
Best Regards
February 1, 2024 at 3:04 pm #535820
Artem TemosKeymasterHello,
There is no page title on this page. You have two full screen sections on this page that overlaps with sidebar. If you want to create your page with WPBakery then you need to disable theme’s sidebar and use WPBakery element https://gyazo.com/ea479834c98aca5243fb17e9376d463b
Global settings are applied for the blog page set in Settings -> Reading. If you use the WPBakery element then you need to configure it using its option.
Kind Regards
February 1, 2024 at 4:46 pm #535899
supp0rtParticipantYou are right about this. I must use the elements as I use wp-bakery for the layout. It would be a nice addition to add under the Design tab > blog design > Inherit from theme settings.
One last question. Is there any breadcrumb element from the theme or any shortcode that I can use to add to pages?
Best Regards
February 1, 2024 at 5:46 pm #535928
Artem TemosKeymasterUnfortunately, there is no such element or shortcode. Breadcrumbs can be displayed as a part of the Page title only.
Kind Regards
February 1, 2024 at 7:08 pm #535967
supp0rtParticipantOk then. Thank you for all your help, support and clarifications on the matters above.
You may close the ticket.
Best Regards
February 2, 2024 at 10:11 am #536082
Artem TemosKeymasterYou are always welcome. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘JS console error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register