Home  >  Article  >  Backend Development  >  phpcms报array_keys错误

phpcms报array_keys错误

WBOY
WBOYOriginal
2016-06-06 20:50:161082browse

array_keys() [function.array-keys]: The first argument should be an array in /home/wwwroot/xxxx.com/phpcms/libs/functions/autoload/video.func.php on line 141

应该是数据类型错误,但是小白不知道怎么解决

回复内容:

array_keys() [function.array-keys]: The first argument should be an array in /home/wwwroot/xxxx.com/phpcms/libs/functions/autoload/video.func.php on line 141

应该是数据类型错误,但是小白不知道怎么解决

打印一下第一个参数的值看一下。 he first argument should be an array 第一个参数不是数组导致。

可以看一下手册 arraykeys 的用法 错误信息提示的是 arraykeys 接受的一个第一个参数 不是数组

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn