![](/img/trans.png)
[英]PHP Catchable fatal error: Argument 1 passed to must be of the type array, null given, called in on line 208 and defined
[英]Modx: Catchable fatal error: Argument 2 passed to modParser::collectElementTags() must be of the type array, null given
刚开始使用新项目,并想尝试ModX将其用于项目,但会卡在此错误上(它不会消失):
**Catchable fatal error: Argument 2 passed to modParser::collectElementTags() must be of the type array, null given, called in D:\Personal\illumation\modx\core\model\modx\modstaticresource.class.php on line 57 and defined in D:\Personal\illumation\modx\core\model\modx\modparser.class.php on line 101**
目前,我想尝试编写插件时出现了问题,因此我在Manager中的外部文件webit-core-plugin.php
创建了一个新插件。 向其中添加一个事件并保存。 此后,出现上述错误。
试图删除它,再做一次,等等,没有任何帮助。 有人知道发生了什么吗?
我使用具有管理员权限的在localhost(Windows 7)上运行的最新XAMPP,最新SQL / PHP和最新ModX。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.