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 에러는 굉장히 많이 뜨고 있네요.