Object #<Text> has no method 'getBoundingClientRect' on XAJAX - javascript

recently, I'm getting very strange error using the libraries XAJAX. Everything seems to work correctly, but Chrome console gives me an error every time I run any element.
The page where I is happening is this:
http://es.woow360.com/
For example clicking on any tab business that appears in the search box it does is load a new panoramic generates this error:
Uncaught TypeError: Object #<Text> has no method 'getBoundingClientRect'
WombatUtils.getElementRect
M
U
Y
CrossbrowserMutationObserver.n
d.callbackWrapper
xajax.dom.assign xajax_core.js:210
(anonymous function) xajax_core.js:318
xajax.command.handler.call xajax_core.js:315
xajax.executeCommand xajax_core.js:404
xajax.tools.queue.process xajax_core.js:150
xajax.responseProcessor.xml xajax_core.js:165
xajax.responseReceived xajax_core.js:399
oRequest.request.onreadystatechange xajax_core.js:356
Here you have the link to the file where error occurs:
http://es.woow360.com/xajax/xajax_js/xajax_core.js
It's very strange. Until recently it worked fine.
But now fails.
It fails only on this page, also I have other pages that use the same library, and gives the same error.
Even in other domains, where I have loaded the library XAJAX gives the same error.
Not to be that.
The strange thing is that except for the error message, everything works fine.
Any idea?
Thank you!

I've got the same errors/warnings. Add-less chrome extension was the issue. Try to review extensions of your chrome.

Related

Why do I keep getting a console error when using VS Code and Live Server?

I'm in the process of learning Javascript. I installed the Live Server extension on VS Code, as well as typing "live-server" into the terminal, to see Chrome's console update upon save. Whenever I have a live server up, I keep getting this message in red in the console:
VM4057 content_script.js:1 Uncaught SyntaxError: Identifier 'WBSAutoFillFormTypeUndetermined' has already been declared (at VM4057 content_script.js:1:1)
The only thing I have at 1:1 is 'use strict';, but even if I remove that I still get the message. All code works otherwise. Is there something I can change to make it stop? And just to be clear, I use either the extension or type live-server. Never both at the same time.
The error comes from the Apple's chrome plugin "iCloud Passwords". Deactivate or remove it and the error will disappear.

TypeError: Cannot read property 'name' of undefined, at Array.forEach

When I press the button to display the task pane, I am seeing the following error message in the console window which I cannot remove or explain ?
"Uncaught (in promise) TypeError: Cannot read property 'name' of undefined"
at t (word-web-16.00.js:26)
at word-web-16.00.js:26
at Office.js:46
at Array.forEach ()
at d (Office.js:46)
at Office.js:46
Steps to Reproduce - Side load the TypeScript add-in into Word Online and press the Button to display the task pane.
The task pane is displayed but why is this error message appearing.
This error message might have always been there, not sure.
I have tried all the following URLs and the message is consist.
src="appsforoffice.microsoft.com/lib/beta/hosted/Office.js"
src="appsforoffice.microsoft.com/lib/1/hosted/Office.js"
src="appsforoffice.microsoft.com/lib/1.1/hosted/Office.js"
This appears in Word Online
Windows 10 64 bit and Office 64 bit
Browser - Microsoft Edge, Version 88.0.705.68 (Official build) (64-bit)
The following repository contains the project (only 5 files):
https://github.com/OfficeAddins/undefined
This issue was logged on github but no-one has replied yet:
https://github.com/OfficeDev/office-js/issues/1644
Can you try using this using lowercase o when referencing the office.js url -
src="appsforoffice.microsoft.com/lib/beta/hosted/office.js"
This could be due to a case sensitive string comparison bug, which we will fix. You should be able to workaround it by using the lowercase office.js.

Error in event handler: TypeError: Cannot read property 'apply' of undefined when I load my pages

I am editing a codeIgniter application purchased online which have no support, everything is OK but javascript codes are not working, it keeps giving this error message
Error in event handler: TypeError: Cannot read property 'apply' of undefined
at w.g.P (chrome-extension://ngpampappnmepgilojfohadhhmbhlaek/content.js:22:354)
at w.g.na (chrome-extension://ngpampappnmepgilojfohadhhmbhlaek/content.js:4:214)
and when continue viewing the page it says
content.js:21 Uncaught Error: Attempting to use a disconnected port object
at w.g.ka (content.js:21)
But actually in my directories I don't see the page named content.js
How can I solve this error? and finally have my javascript functions working?
Thank you.
Thank you so much for contribution, I came to realize that problem was on my script arrangement, JavaScript had to start at the top of the page, so my problem solved by uninstalling IDM plugin from chrome and re-arranging the script.

Uncaught Error: Expected to find a document already present for removed

When I try to log into app, the error I get in client console (chrome dev tools) is this:
Uncaught Error: Expected to find a document already present for removed mongo.js?69942a86515ec397dfd8cbb0a151a0eefdd9560d:253
and the login is halted: the loading gif from the accounts-google package shows and the loading never ends.
I however get no errors in server console. Unfortunately, the error gives me little understanding as to where to even start debugging my app from.
I have gone through the portion where the error is thrown in the mongo.js file, but I don't get what's going on there from it either.
Since I do not have any idea where I am going wrong, this is the link to the project repository.
Maybe you was use fast-render package and doing 2 subscriptions for the same publication as explined here
Hope this help someone.

google chrome bug?

this message appears all the time in chrome developer tool's console:
Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:232
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:232
Error in event handler for 'undefined': Cannot read property 'instanceId' of undefined TypeError: Cannot read property 'instanceId' of undefined
at [object Object].<anonymous> (chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:2:372)
at chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:1:182
at miscellaneous_bindings:276:11
at [object Object].dispatch (event_bindings:203:41)
at Object.<anonymous> (miscellaneous_bindings:235:27) event_bindings:207
chrome.Event.dispatch event_bindings:207
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:235
is this a bug in chrome or there is something wrong in my chrome installation?
It seems to be a problem with the Google Dictionary (by Google)
This script doesn't seem to exist or is not accessible by that port.
Based on some googling, this is a problem with a chrome extension, but it may not be clear which. (For me, it was Feedly).
The quickest way to find out which is causing the problem:
Disable all your chrome extensions. (Chrome menu > tools > extensions)
Refresh a page - hopefully the port error should be gone now
Re-enable your extensions one by one, refreshing the page after each, 'til the error pops up again in the console. You should now have your culprit.
I know this could be a pain if there are a lot of extensions :/ personally, I took it as a chance to prune the unused / unworthy extensions while I was going through them.

Categories