메뉴 건너뛰기

enjoyTools.net

소스1 : http://www.cikorea.net/bbs/view/tip?idx=16509&page=1&view_category=&lists_style=

소스2: http://stackoverflow.com/questions/41557760/codeigniter-hmvc-object-to-array-error?answertab=votes#tab-top

 

application/third_party/MX/Loader.php , line 300의 주석친 내용에서 주석 안친 내용으로 수정

 

//return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
if (method_exists($this, 'ci_object_to_array')) {
    return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
} else {
    return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return));
}