Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have module JS2watchdog installed. Now I see sometimes the following series of errors in watchdog.
I appears on the node edit page when cloning a node, e.g. http://www.example.com/node/101615/clone
Browser: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322)
The node has 2 textfields with CKEditor activated.
I don't know how to reproduce the errors, yet.
- message: 'type' is null or not an object
fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
lineNumber: 32
type: exception - message: Invalid argument.
fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
lineNumber: 14
type: exception - message: Invalid argument.
fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
lineNumber: 14
type: exception - message: Invalid argument.
fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
lineNumber: 14
type: exception - NODE_TYPE: added NODE_TITLE.
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedWhen you turn off "JS2watchdog " module everything works fine ?
Do you see these errors in Firebug (Firefox add-on) or similar tool ?
Does CKEditor works fine with these errors ?
Comment #2
johnvCK works fine. I have no complaints about it. I think the JS error always occurred - enabling JS2watchdog only makes it detectable.
I'm not sure if an error occurs, or wether the code in ckeditor.js neesd some (minor) improvement on checking variables.
Comment #3
mkesicki CreditAttribution: mkesicki commented@johnv, thank you for information.
We will check this. Please be patient.
Comment #4
dczepierga CreditAttribution: dczepierga commentedI try to reproduce this with last DEV, but i didn't see any errors...
So if u will know howw to reproduce this pls write step by step what to do...
Greetings and thx for help
Comment #5
johnvThis might be the same, or related.
Below errors appears, when editing a node that has no Body field. Therefor, there is no field that can be edited using CKEditor. Apperently, the ckeditor.js is still loaded.
Message: 'onLoad' is null or not an object
Line: 23
Char: 1628
Code: 0
URI: http://.../sites/all/libraries/ckeditor/ckeditor.js?m7g33p