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.

  1. message: 'type' is null or not an object
    fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
    lineNumber: 32
    type: exception
  2. message: Invalid argument.
    fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
    lineNumber: 14
    type: exception
  3. message: Invalid argument.
    fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
    lineNumber: 14
    type: exception
  4. message: Invalid argument.
    fileName: .../all/libraries/ckeditor/ckeditor.js?m5vtfj
    lineNumber: 14
    type: exception
  5. NODE_TYPE: added NODE_TITLE.

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

When 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 ?

johnv’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Active

CK 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.

mkesicki’s picture

@johnv, thank you for information.
We will check this. Please be patient.

dczepierga’s picture

I 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

johnv’s picture

Title: message: 'type' is null or not an object in ckeditor.js » message: 'type' / 'onLoad' is null or not an object in ckeditor.js

This 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