Theme JQuery inlcusion on WordPress 6.0 always fails

Theme JQuery inlcusion on WordPress 6.0 always fails

error code: 523