刚刚开始使用新项目,并希望尝试使用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
的外部文件中创建了一个新的插件。添加一个事件并保存。在此之后,出现上述错误。
试图删除它,再做一次等,没有任何帮助。有人知道发生了什么吗?
我使用最新的XAMPP,最新的SQL / PHP以及在localhost(Windows 7)上运行的具有管理员权限的最新ModX。
答案 0 :(得分:0)