Home › Forums › WPLMS AddOns › WPLMS Appointments › Problems with WPLMS Appointments: Service-worker: The script resource
Tagged: appointments
- This topic has 14 replies, 2 voices, and was last updated 4 years, 8 months ago by
Diana.
Viewing 15 posts - 1 through 15 (of 15 total)
-
AuthorPosts
-
March 6, 2020 at 10:50 am #244829
Fintex
ParticipantProblems with WPLMS Appointments: Service-worker: The script resource is behind a redirect, which is disallowed. I have some problems with WPLMS Appointments. I can't confirm an appointment caused by service-worker.js I can't find any redirects. How to solve this? Error during service worker registration: DOMException: Failed to register a ServiceWorker for scope ('https://url.com/') with script ('https://url.com/service-worker.js'): The script resource is behind a redirect, which is disallowed. (anonymous) @ myappointments.js?ver=1.4.1:6 DevTools failed to parse SourceMap: https://url.com/wp-content/plugins/wplms-appointments/assets/js/main.ec75f26b.chunk.js.map Other errors: Uncaught TypeError: $ is not a function at HTMLDocument.<anonymous> ((index):305) at t.value (wplms_appointments_booking.js?ver=1.4.1:1) at r (wplms_appointments_booking.js?ver=1.4.1:1) at n.l (wplms_appointments_booking.js?ver=1.4.1:1) at o (wplms_appointments_booking.js?ver=1.4.1:1) at B.handleSelectEvent (wplms_appointments_booking.js?ver=1.4.1:1) at o (wplms_appointments_booking.js?ver=1.4.1:1) at t.N._select (wplms_appointments_booking.js?ver=1.4.1:1) at onClick (wplms_appointments_booking.js?ver=1.4.1:1) at Object.o (wplms_appointments_booking.js?ver=1.4.1:1) 6(index):676 Uncaught TypeError: Cannot read property 'confirm' of undefined at HTMLDocument.<anonymous> ((index):676) at HTMLButtonElement.<anonymous> ((index):538) at HTMLButtonElement.dispatch (jquery.js?ver=1.12.4-wp:3) at HTMLButtonElement.r.handle (jquery.js?ver=1.12.4-wp:3) errors on my server: 301 GET /service-worker.js HTTP/1.0 200 GET /wp-json/wplms/v1/appointments/availability?args={%22author_id%22:[7],%22item_id%22:%22any%22,%22status%22:%22open%22,%22start_date%22:1583013600000,%22end_date%22:1585688340000,%22start_time%22:0,%22end_time%22:1440} HTTP/1.0March 7, 2020 at 7:55 pm #244985Diana
Participant@Fintex, Service worker error you can just ignore and for the error $ is not a function. Please share your cpanel credentials with site URL and admin credentials in a private reply hereMarch 8, 2020 at 9:10 am #244997Fintex
ParticipantThis reply has been marked as private.March 11, 2020 at 9:50 am #245246Fintex
ParticipantThis reply has been marked as private.March 11, 2020 at 7:40 pm #245329Diana
ParticipantThis reply has been marked as private.March 13, 2020 at 8:16 am #245536Fintex
ParticipantThis reply has been marked as private.March 16, 2020 at 10:19 am #245853Diana
Participant@Fintex, Working on your site... Updated Reply: Added the fix on your site. Please check and update here, if you still face any issueMarch 16, 2020 at 10:20 am #245854Fintex
ParticipantThis reply has been marked as private.March 16, 2020 at 10:28 am #245857Diana
Participant@Fintex, Notices can be ignored it will not create any issue on your siteMarch 20, 2020 at 9:01 am #246495Fintex
ParticipantThis reply has been marked as private.March 23, 2020 at 10:54 am #246899Diana
ParticipantThis reply has been marked as private.March 23, 2020 at 11:34 am #246909Fintex
ParticipantThis reply has been marked as private.March 25, 2020 at 10:46 am #247248Diana
Participant@Fintex, Actually when the appointment slots are free then instructor need to confirm whether he is available for that appointment or not. So when student book the appointment from student view it goes to pending appointments section. Instructor first acceot this appointments and only then it will be visible Check this recording: https://screencast-o-matic.com/watch/cqiqXkOtF3March 25, 2020 at 11:14 am #247253Fintex
ParticipantThis reply has been marked as private.March 26, 2020 at 6:49 pm #247514Diana
ParticipantThis reply has been marked as private. -
AuthorPosts
Viewing 15 posts - 1 through 15 (of 15 total)
- The topic ‘Problems with WPLMS Appointments: Service-worker: The script resource’ is closed to new replies.