jquery-3.5.1.js:4055 Uncaught TypeError: $.fn.dataTable.Editor is not a constructor
jquery-3.5.1.js:4055 Uncaught TypeError: $.fn.dataTable.Editor is not a constructor

This bug is so frustrating how do you fix this this issue? I purchased a license but this keeps giving me this error.
jquery-3.5.1.js:4046 jQuery.Deferred exception: $.fn.dataTable.Editor is not a constructor TypeError: $.fn.dataTable.Editor is not a constructor
at HTMLDocument.<anonymous> (http://localhost:54081/InstallFees/options:121:22)
at mightThrow (https://code.jquery.com/jquery-3.5.1.js:3762:29)
at process (https://code.jquery.com/jquery-3.5.1.js:3830:12) undefined
jQuery.Deferred.exceptionHook @ jquery-3.5.1.js:4046
jquery-3.5.1.js:4055 Uncaught TypeError: $.fn.dataTable.Editor is not a constructor
at HTMLDocument.<anonymous> (options:121)
at mightThrow (jquery-3.5.1.js:3762)
at process (jquery-3.5.1.js:3830)
Replies
EDIT: Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
Usually the main cause for the error is that, since its licensed, you need to download it and load it from a local resource. If this doesn't help please post the code you are using to load the editor.js and initializing.
Kevin
I purchased the license and loading the editor.js locally, Still broken
I might be missing it but it doesn't look like you are loading
jquery.js
nordatatables.js
. Please see this basic Editor example.Kevin
I am loading those files in the shared layout file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> - Intermountian Gas Project Cost Estimator</title>
Is that shared layout loaded first?
Kevin
Try clearing the browsers cache.
Kevin
Yes it was
Ok after some adjustments I am getting a new error
jquery-3.5.1.js:4046 jQuery.Deferred exception: Cannot read property 'style' of undefined TypeError: Cannot read property 'style' of undefined
at Xa (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:79:399)
at za (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:65:188)
at f (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:110:53)
at HTMLTableElement.<anonymous> (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:110:139)
at Function.each (https://code.jquery.com/jquery-3.5.1.js:381:19)
at jQuery.fn.init.each (https://code.jquery.com/jquery-3.5.1.js:203:17)
at jQuery.fn.init.u [as dataTable] (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:100:148)
at jQuery.fn.init.k.fn.DataTable (https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js:184:240)
at HTMLDocument.<anonymous> (http://localhost:54081/InstallFees/InstallFeeUpdate:172:30)
at mightThrow (https://code.jquery.com/jquery-3.5.1.js:3762:29) undefined
jQuery.Deferred.exceptionHook @ jquery-3.5.1.js:4046
jquery-3.5.1.js:4055 Uncaught TypeError: Cannot read property 'style' of undefined
at Xa (jquery.dataTables.min.js:79)
at za (jquery.dataTables.min.js:65)
at f (jquery.dataTables.min.js:110)
at HTMLTableElement.<anonymous> (jquery.dataTables.min.js:110)
at Function.each (jquery-3.5.1.js:381)
at jQuery.fn.init.each (jquery-3.5.1.js:203)
at jQuery.fn.init.u [as dataTable] (jquery.dataTables.min.js:100)
at jQuery.fn.init.k.fn.DataTable (jquery.dataTables.min.js:184)
at HTMLDocument.<anonymous> (InstallFeeUpdate:172)
at mightThrow (jquery-3.5.1.js:3762)
See if this thread asking about the same error helps.
Kevin
If Kevin's link doesn't fix it, can you post a link to your page please so we can take a look?
Colin