日安,
有人知道以下问题的解决方案吗?
我最近用自定义帖子模板设置了高级自定义字段插件,并一直在使用重力表单提交帖子数据。在一些帖子上,一切似乎都运行得很好。然而,我通过文章编辑器屏幕更新了一篇文章,当我点击“更新”或“预览”时,我得到了以下错误:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/uswfeoab/public_html/wp-content/plugins/advanced-custom-fields/core/fields/_functions.php on line 396在出现以下错误代码之前,重复了8次:
Warning: Cannot modify header information - headers already sent by (output started at /home/uswfeoab/public_html/wp-content/plugins/advanced-custom-fields/core/fields/_functions.php:396) in /home/uswfeoab/public_html/wp-includes/pluggable.php on line 876我已经很好地查看了论坛和ACF网站,但找不到任何与_functions.php文件相关的错误的故障排除。作为参考,第396行上的代码行是$field = array_merge($defaults,$field);
不幸的是,这远远超出了我的PHP技能。如有任何建议,我们将不胜感激!
发布于 2013-05-12 00:15:58
呼!
高级自定义字段的作者今天发布并更新到版本4.1.2。这就解决了这个问题。
恐慌过去了!
https://stackoverflow.com/questions/16498163
复制相似问题