waring:in_array()[function.in-array]:wrong datatype for second argument

简介:

waring:in_array()[function.in-array]:wrong datatype for second argument in /usr/local/apache/htdocs/cacti/plugins/monitor/monitor.php on line 193

 

解决办法:


# vi +193 /usr/local/apache/htdocs/cacti/plugins/monitor/monitor.php

$plugins = array();           (添在if的上一行)

:wq

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/840308如需转载请自行联系原作者


yangzhimingg

相关文章
成功解决TypeError: ‘encoding’ is an invalid keyword argument for this function
成功解决TypeError: ‘encoding’ is an invalid keyword argument for this function
|
6月前
|
人工智能 自然语言处理 语音技术
Invalid prop: type check failed for prop “index“. Expected String with value “5“问题解决
Invalid prop: type check failed for prop “index“. Expected String with value “5“问题解决
52 0
TypeError: randint() received an invalid combination of arguments - got (int, int, int), but expecte
TypeError: randint() received an invalid combination of arguments - got (int, int, int), but expecte
527 0
TypeError: sequence item 0: expected string, int found
TypeError: sequence item 0: expected string, int found
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
关于 error: invalid types ‘int[int]‘ for array subscript 的解决
关于 error: invalid types ‘int[int]‘ for array subscript 的解决
1026 0
关于 error: invalid types ‘int[int]‘ for array subscript 的解决
TypeError: 'encoding' is an invalid keyword argument for this function
TypeError: 'encoding' is an invalid keyword argument for this function
219 0