简体   繁体   English

错误:SCRIPT65535:无效的调用对象行1字符1

[英]Error: SCRIPT65535: Invalid calling object line 1 character 1

We have built a Magento Community 1.7.0.1 template that is fully based on jQuery mobile v1.2.0. 我们构建了一个完全基于jQuery mobile v1.2.0的Magento Community 1.7.0.1模板。 It also loads the regular jQuery library version 1.8.2. 它还加载常规的jQuery库版本1.8.2。

Everything works fine in every browser (Chrome, Firefox, Opera, ...) except in Internet Explorer the following error is showing in the console: 在每个浏览器(Chrome,Firefox,Opera,...)中一切正常,除了在Internet Explorer中,控制台中显示以下错误:

SCRIPT65535: Invalid calling object SCRIPT65535:无效的调用对象

index, line 1 character 1 index,第1行1

We have been searching on how to fix this issue but haven't found any solution. 我们一直在搜索如何解决此问题但尚未找到任何解决方案。 The same error appears on both IE8 and IE9. IE8和IE9上都出现相同的错误。 We have tried removing all add-ons, accelerators, ... and the issue still persists. 我们已尝试删除所有加载项,加速器......但问题仍然存在。

The following is code is located on line 1: 以下代码位于第1行:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

EDIT1: Weird thing is, if I start up developer tools in IE and under the script tab click on "Start debugging" the error goes way when I refresh the page. 编辑1:奇怪的是,如果我在IE中启动开发人员工具并在脚本选项卡下点击“开始调试”,当我刷新页面时错误就会出现。 When I click on "Stop debugging" and refresh the page, the error still DOES NOT show. 当我点击“停止调试”并刷新页面时,错误仍然没有显示。 Weirdest thing ever... 奇怪的事情......

Has any of you come across this issue already? 你们有没有遇到过这个问题吗? Any idea how I can go around to debug/solve this? 知道如何调试/解决这个问题吗?

After debugging a bit more I found out that the following code was causing the issue: 调试了一下后,我发现以下代码导致了问题:

<body onload="setTimeout(scrollTo, 0, 0, 1)">

Simply remove that and it will work again ;) 只需删除它,它将再次工作;)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 未捕获的TypeError:Chrome或SCRIPT65535中的非法调用:提交表单时IE中的调用对象无效 - Uncaught TypeError: Illegal invocation in Chrome or SCRIPT65535: Invalid calling object in IE when submit form IE 11 Ajax错误-“ SCRIPT65535:参数不可选” - IE 11 ajax error - “SCRIPT65535: Argument not optional” (仅在IE中)SCRIPT65535:对方法或属性访问的意外调用。 main.js,第152行字符28 - (Only in IE) SCRIPT65535: Unexpected call to method or property access. main.js, line 152 character 28 使用 Internet Explorer 11 发送数据时出现 Ajax 错误 - “SCRIPT65535 参数不是可选的” - Ajax error when sending data with Internet Explorer 11 - “SCRIPT65535 argument not optional” 为什么这个“无效的调用对象”错误? - Why is this “invalid calling object” error? IE中无效的调用对象错误 - Invalid Calling Object error in IE jQuery和highcharts的无效字符错误SCRIPT1014:无效字符 - invalid character error with jquery and highcharts SCRIPT1014: Invalid character 带有XML的Javascript“无效的调用对象”错误 - Javascript “Invalid calling object” error with xml SCRIPT1002:语法错误,第1行字符6 - SCRIPT1002: Syntax Error, Line 1 Character 6 调用对象函数时出现的问题:“脚本错误。 (:第0行)”在p5.js在线编辑器中 - Issues when calling object function: “Script error. (: line 0)” in p5.js online editor
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM