0
나는 magento에서 카테고리를 관리하고 싶다.하지만 카테고리를 추가 할 때 한 에러가있다. 그 시간은 나의 에러를보고 나에게 정확한 대답을 준다. 나는 내 에러를 보여준다. 치명적인 오류 : 멤버 함수 getId()를 호출한다. C에서 비 객체 : \ WAMP \ www가 \ 젠토 \ LIB \ 난 내 코드를나는 magento에서 카테고리를 관리하고 싶다
public function loadEnsuredNodes($category, $rootNode)
{
$pathIds = $category->getPathIds();
$rootNodeId = $rootNode->getId();
$rootNodePath = $rootNode->getData($this->_pathField);
$select = clone $this->_select;
$select->order($this->_table.'.'.$this->_orderField . ' ASC');
if ($pathIds) {
$condition = $this->_conn->quoteInto("$this->_table.$this->_idField in (?)", $pathIds);
$select->where($condition);
}