Problems with WPLMS Appointments: Service-worker: The script resource

Home Forums WPLMS AddOns WPLMS Appointments Problems with WPLMS Appointments: Service-worker: The script resource

Tagged: 

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #244829
    Fintex
    Participant
    Problems 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.0
    #244985
    Diana
    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 here
    #244997
    Fintex
    Participant
    This reply has been marked as private.
    #245246
    Fintex
    Participant
    This reply has been marked as private.
    #245329
    Diana
    Participant
    This reply has been marked as private.
    #245536
    Fintex
    Participant
    This reply has been marked as private.
    #245853
    Diana
    Participant
    @Fintex, Working on your site... Updated Reply: Added the fix on your site. Please check and update here, if you still face any issue
    #245854
    Fintex
    Participant
    This reply has been marked as private.
    #245857
    Diana
    Participant
    @Fintex, Notices can be ignored it will not create any issue on your site
    #246495
    Fintex
    Participant
    This reply has been marked as private.
    #246899
    Diana
    Participant
    This reply has been marked as private.
    #246909
    Fintex
    Participant
    This reply has been marked as private.
    #247248
    Diana
    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/cqiqXkOtF3
    #247253
    Fintex
    Participant
    This reply has been marked as private.
    #247514
    Diana
    Participant
    This reply has been marked as private.
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.