Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
警告:typo3/sysext/lang/Classes/LanguageService.php中的非法字符串偏移量“target”_Typo3_Typo3 6.1.x_Typo3 6.2.x - Fatal编程技术网

警告:typo3/sysext/lang/Classes/LanguageService.php中的非法字符串偏移量“target”

警告:typo3/sysext/lang/Classes/LanguageService.php中的非法字符串偏移量“target”,typo3,typo3-6.1.x,typo3-6.2.x,Typo3,Typo3 6.1.x,Typo3 6.2.x,我正在将一个项目从4.5更新到6.2.9 我的一个后端模块在核心模块中显示此警告。这是对语言模块的区域调用 $this->MOD_MENU = Array ( "function" => Array ( "1" => $LANG->getLL("function1"), "2" => $LANG->getLL("function2"), "3" => $LANG->getLL

我正在将一个项目从4.5更新到6.2.9

我的一个后端模块在核心模块中显示此警告。这是对语言模块的区域调用

 $this->MOD_MENU = Array (
     "function" => Array (
         "1" => $LANG->getLL("function1"),
         "2" => $LANG->getLL("function2"),    
         "3" => $LANG->getLL("function3"),  

有什么想法吗?

经过两天的研究和发现。我在模块目录[mod/index.php]中的index.php中发现了一个小错误

我已经包含了locallang.php文件,使用

require 'locallang.php';
当我用typo3API函数$GLOBALS['LANG']->includeLLFile替换它时,它已经被修复了

$GLOBALS['LANG']->includeLLFile("EXT:extension_directory/mod1/locallang.php");

TYPO3\CMS\Core\Error\ErrorHandler::handleError2,非法字符串偏移量“target”