2017-05-30 16 views
1

我很难过!0 - Input_0:112:错误 - “arguments.callee”不能在严格模式下使用

获取错误,然后刷新页面消失。我真的希望有人能指出我正确的方向。不知道是什么原因造成的?使用Apache,Nginx的是,Joomla,...

0 - Input_0:112:错误 - “arguments.callee的” 不能严格模式下使用


0 - Input_0:112:错误 - “arguments.callee的” 不能在严格模式使用,如果(arguments.callee的& & ^^^^^^^^^^^^^^^^ Input_0:113 :错误 - “arguments.callee”不能用于严格模式arguments.callee.caller & & ^^^^^^^^^^^^^^^^ Input_0:114:ERROR - “arguments.callee”不能用于严格模式arguments.callee.caller.toString()。indexOf('isPropagationStopped')!== -1){// jquery mark ^^^^^^ ^^^^^^^^^^ Input_0:122:错误 - “arguments.callee”不能用于严格模式if(arguments.callee & & ^^^^^^^^^^^^^^^^ Input_0:123:ERROR - “arguments.callee”不能用于严格模式arguments.callee.caller & & ^^^^^^^^^^^^^^^^ Input_0:124:ERROR - “arguments.callee “不能用于严格模式arguments.callee.caller.toString()。indexOf('isPropagationStopped')!== -1){// jquery mark ^^^^^^^^^^^^^^^^ Input_0:132:ERROR - “arguments.callee”不能用于严格模式if(arguments.callee & & ^^^^^^^^^^^^^^^^ Input_0:133:ERROR - “arguments.callee “不能在严格模式下使用arguments.callee.caller & & ^^^^^^^^^^^^^^^^ Input_0:134:错误 - “arguments.callee”不能用于严格模式arguments.callee.caller.toString()。indexOf('isPropagationStopped' )!== -1){// jquery mark ^^^^^^^^^^^^^^^^

回答

1

对我来说,这是T3插件在/ plugins/system/t3/base-bs3/js/script.js

我已经注释掉正在使用折旧arguments.callee方法的第102 - 142行。

希望这会有所帮助。

克雷格

+0

你敢打赌,这有助于克雷格!我无法在任何地方找到关于它的信息。你能看到评论这些行的任何负面影响吗? – Colin

+0

@Colin我认为有问题的代码是MooTools的某种兼容性检查工具。所以只要你不使用它应该没问题。我还没有任何负面影响。 –

1

有同样的问题,我按照上面的说明,但最初没有运气。 对我来说有效的是注释掉script.js文件中的违规函数,但在相邻目录下,即 plugins/system/t3/base/js/script.js 我希望这可以帮助某人。 感谢您的初步指针!

0
  1. 文件:\plugins\system\t3\base-bs3\js\menu.js

  2. 线:15

  3. 删除字符 “;” (主代码前的单独字符)

相关问题