Home › Forums › Legacy Support › Support queries › Other issues › Console errors & warnings in Courses
- This topic has 9 replies, 3 voices, and was last updated 4 years, 10 months ago by Veronica.
Viewing 10 posts - 1 through 10 (of 10 total)
-
AuthorPosts
-
February 6, 2020 at 8:29 pm #241720ArtevoDesignParticipant
- When I start a course (example: http://plus-one.ro/module/cae-reading-rue-test-1-rm/) the console reads a warning and an error regarding jquery.js (screenshot: https://prnt.sc/qymjx8).
- The Blog page contains to identical IDs (id="s"): https://www.plus-one.ro/blog/ (screenshot: https://prnt.sc/qymby0)
Thank you!
February 6, 2020 at 8:30 pm #241721ArtevoDesignParticipantThis reply has been marked as private.February 7, 2020 at 12:14 pm #241789loganMemberHello, that's the warning, not an issue. if you use the 2 search form or input box, in that case, it says https://prnt.sc/qymby0 to prevent this we have to create the same widget 2 times with different id and that's not a solution. try to avoid this notification. for 404 try this: https://www.fixrunner.com/how-to-fix-wordpress-error-404-page-not-found/February 8, 2020 at 12:41 pm #241903ArtevoDesignParticipantOk, thanks Logan! Ticked closed.February 9, 2020 at 1:06 am #241963ArtevoDesignParticipantHi Logan! Excuse me, may I reopen this subject, please? I've just found another console issue that was lurking around. It's about a dead link JS file (waypoints). You have in the 1st screenshot the missing file in the console and in the 2nd one the actual file's path on the server. https://prnt.sc/qzkrkl https://prnt.sc/qzkrj5 Thank you!February 10, 2020 at 6:50 am #242014loganMemberMy dear friend, this is a third party plugin known as wp-bakery aka visual composer plugin. https://share.getcloudapp.com/OAur005A you can contact them for this: https://support.wpbakery.com/ https://visualcomposer.com/support/
quick fix trick: copy the file shown in the error and paste this at this place: https://share.getcloudapp.com/OAur005A it would fix the issue.February 10, 2020 at 8:26 am #242038ArtevoDesignParticipantYes, Logan, I know it's about a 3rd party plugin but the WPLMS theme is trying to register that JS file looking for it in the wrong location. Maybe I'm wrong, but if WPBakery itself was trying to register the JS file in the course page, it would look for it in the right place. So, if there's a PHP file inside WPLMS that is doing this, can you please tell me what's it's name? I undestand the quickfix but I wanted to do it the right way. best regards!February 11, 2020 at 8:19 am #242168loganMemberSorry, we are not enqueuing anything. courses are just the custom post_types. if you enable the wp-bakery edit for the custom post types only then it works with that custom post type.February 11, 2020 at 9:05 am #242174ArtevoDesignParticipantIt's ok, I solved it with your quickfix. Anyway, I searched inside WPBakery and I found the files class-vc-base.php, vc-line-chart.php, vc-pie.php and vc-round-chart.php which register the waypoints but they does it with the correct path. No other WPBakery file is doing it with the wrong one. Thank you! Ticket closed.February 12, 2020 at 5:03 am #242257VeronicaModeratorthanks for your confirmation closing the topic. -
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)
- The topic ‘Console errors & warnings in Courses’ is closed to new replies.