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
Content management system TYPO3@dontverifyrequesthash_Content Management System_Typo3_Typo3 9.x - Fatal编程技术网

Content management system TYPO3@dontverifyrequesthash

Content management system TYPO3@dontverifyrequesthash,content-management-system,typo3,typo3-9.x,Content Management System,Typo3,Typo3 9.x,在我们的一个扩展中,我们有以下代码片段: /** * action main * * @return void * @dontverifyrequesthash */ 带有PHP7.1的TYPO3版本8可以工作。 使用PHP7.2的TYPO3版本9出现以下错误: [语义错误]从未导入方法X\Y\Controller\Z::mainAction()中的注释“@dontverifyrequesthash”。您是否忘记为该注释添加“use”语句 有人能帮忙吗?注释@d

在我们的一个扩展中,我们有以下代码片段:

 /** 
  * action main 
  * 
  * @return void 
  * @dontverifyrequesthash 
  */
带有PHP7.1的TYPO3版本8可以工作。 使用PHP7.2的TYPO3版本9出现以下错误:

[语义错误]从未导入方法X\Y\Controller\Z::mainAction()中的注释“@dontverifyrequesthash”。您是否忘记为该注释添加“use”语句


有人能帮忙吗?

注释
@dontverifyrequesthash
在TYPO3版本6.2之前就死了,所以你可以删除它。

注释
@dontverifyrequesthash
在TYPO3版本6.2之前死了,所以你可以删除它。

谢谢,我们没有看到。TYPO3日志中有任何官方信息吗?我刚刚查看了文档,结果是错误的。简言之:使用新的属性映射器(从6.2开始默认),属性映射器不再识别注释
@dontvalidate
@dontverifyrequesthash
。您只能使用
@ignorevalidation$object
。谢谢,我们没有看到。TYPO3日志中有任何官方信息吗?我刚刚查看了文档,结果是错误的。简言之:使用新的属性映射器(从6.2开始默认),属性映射器不再识别注释
@dontvalidate
@dontverifyrequesthash
。您只能使用
@ignorevalidation$object