count warning 에러 라이믹스 코어에서 고쳐져야 하는건지 문의 드립니다.
CMS/프레임워크 | Rhymix 1.9 |
---|---|
개발 언어 | PHP 7.2 |
01. Warning: count(): Parameter must be an array or an object that implements Countable
modules/module/module.admin.model.php:157
modules/eventsticker/eventsticker.admin.view.php:38
classes/module/ModuleObject.class.php:600
classes/module/ModuleHandler.class.php:816
index.php:52
02. Warning: count(): Parameter must be an array or an object that implements Countable
modules/module/tpl/module_grants.html:30
classes/template/TemplateHandler.class.php:358
classes/template/TemplateHandler.class.php:156
modules/module/module.admin.model.php:209
modules/eventsticker/eventsticker.admin.view.php:38
classes/module/ModuleObject.class.php:600
classes/module/ModuleHandler.class.php:816
index.php:52
1번 에러 과련 코드 내용
modules/eventsticker/eventsticker.admin.view.php:38
$grant_content = $oModuleAdminModel->getModuleGrantHTML($this->module_info->module_srl, $this->xml_info->grant);
라이믹스 코어
modules/module/module.admin.model.php:157
if(count($source_grant_list))
{
foreach($source_grant_list as $key => $val)
{
if(!$val->default) $val->default = 'guest';
if($val->default == 'root') $val->default = 'manager';
$grant_list->{$key} = $val;
}
}
2번 관련 코드 내용
라이믹스 코어
modules/module/tpl/module_grants.html:30
<select name="_admin_member" multiple="multiple" size="{max(3, count($admin_member))}">
ps: 기본 탑재 모듈인 게시판 설정의 각 탭들에서도 count 관련 warning 에러는 굉장히 많이 뜨고 있네요.
댓글 4
그리고 2.0 전에 고칠 수 있다면 고치면 좋겠죠.
어디에서 어떻게 호출했든지 상관없이, 실제로 워닝이 뜨는 위치가 코어에 포함된 파일이라면 깃허브에 제보해 주시면 감사하겠습니다. ㅎㅎ
기본모듈인 게시판의 설정,권한관리 탭 등에서도 워닝이 뜨는 것으로 보아 코어에서 문제가 있지 않을까 합니다.