Same issue bro dude !! Did You got corrected !! @code-boxx help me to solve it
![Screenshot (1)](https://private-user-images.githubusercontent.com/93751501/263226990-57b8951b-d4ab-4d2f-a62d-691f7772eb10.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMzI0NTUsIm5iZiI6MTcyMjAzMjE1NSwicGF0aCI6Ii85Mzc1MTUwMS8yNjMyMjY5OTAtNTdiODk1MWItZDRhYi00ZDJmLWE2MmQtNjkxZjc3NzJlYjEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDIyMTU1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3NGZiZjM0MDg3NTQ4YzA5NjUxZDVmNWY5OTIwYTJhYWIyYWMzYWEyY2FmNGQzZWFiNThjMTU0Y2IwNjg0NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VsPi0qFKRVp8eNVLcgLWBkytwA78sMqpRHzD69Bm9is)
if (opt.loading) { cb.loading(true); } fetch(opt.url, { method:"POST", credentials:"include", body:data }) .then(async res => { if (res.status==200) { return res.text(); } else { console.error(await res.text()); cb.modal("SERVER ERROR", "Bad server response - " + res.status); if (opt.onerr) { opt.onerr(); } throw new Error("Bad server response"); } }) .then(txt => opt.onpass(txt)) .catch(err => { cb.modal("AJAX ERROR", err.message); console.error(err); if (opt.onerr) { opt.onerr(); } }) .finally(() => { if (opt.loading) { cb.loading(false); } }); },
this line certainly it does that error produced , I need rhis really for my proeject for my Student event management