CDN Suddenly Breaks: "DataTable is not a function" and "Cannot read properties of undefined"
CDN Suddenly Breaks: "DataTable is not a function" and "Cannot read properties of undefined"

Hi, I'm currently using DataTables via CDN and everything was working fine earlier today. However, I'm now seeing the following errors in my browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'defaults') — datatables.min.js
Uncaught TypeError: Cannot read properties of undefined (reading 'ext') — buttons.server-side.js
Uncaught TypeError: $(...).DataTable is not a function — jquery-3.7.0.min.js
Screenshot of the console:
These errors only appeared recently without any code changes, and it seems related to how the CDN is loading or ordering the scripts.
i use this cdn
https://cdn.datatables.net/v/bs4/jszip-3.10.1/dt-1.13.5/b-2.4.1/b-html5-2.4.1/b-print-2.4.1/sl-1.7.0/datatables.min.js
Both jQuery and the DataTables CSS are loading fine — the problem appears to be with the JavaScript bundle itself.
Replies
Yes, Datatables have had issues with their CDN, some appear to still be ongoing despite a fix being put in place an hour or so ago.
There is a workaround mentioned here, it works fine for us:
https://status.datatables.net/incidents/304991