简体   繁体   English

cal:周期性事件的索引器不起作用

[英]cal: Indexer for recurring events not working

cal 1.11.1 in TYPO3 7.6.22 TYPO3 7.6.22中的cal 1.11.1

the backand module cal indexer is working as expected, all recurring events will bi written in the database. backand模块cal索引器将按预期工作,所有重复发生的事件将被双向写入数据库。

but the scheduler task Indexer for recurring events (cal) does not work. 但是用于重复事件(cal)的调度程序任务索引器不起作用。 I filled out with all necessairy data: Folder with cal data, page with calendar plugin, index start and stop. 我填写了所有必需的数据:带有cal数据的文件夹,带有日历插件的页面,索引的开始和结束。 When i manuelly start the indexer i get this error: 当我手动启动索引器时,出现此错误:

Execution of task "Indexer for recurring events (cal)" failed with the following message: PHP Warning: Creating default object from empty value in /typo3_src-7.6.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 824 任务“重复发生事件的索引器(cal)”的执行失败,并显示以下消息:PHP警告:从/typo3_src-7.6.22/typo3/sysext/frontend/Classes/Contentes/ContentObjectRenderer.php行中的空值创建默认对象

When i change the version to the last master in git, the error message is gone but the task does nothing. 当我将版本更改为git中的最后一个主服务器时,错误消息消失了,但任务不执行任何操作。

Any idea? 任何想法? Thanks! 谢谢!

OK, my fault ... but perhaps it is interesting for others because it nearly is a kind of a trap ... 好的,我的错...但是对于其他人来说也许很有趣,因为它几乎是一个陷阱...

You have to give the scheduler the date or the period, eg -1 years and +1 years. 您必须给调度程序指定日期或期限,例如-1年和+1年。 I wrote in the second line + 1 years (see the blank between + and 1 ... ) This tiny fault results in the error message because the time period was not defined. 我在第二行中写了+ 1年(请参阅+到1 ...之间的空白)。由于未定义时间段,此微小错误会导致错误消息。 Well ... 好 ...

Now it works. 现在可以了。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM