Создаю новую роль в административной части магенто, выбираю разделы, к которым администратор получит доступ (Заказы и Пользователи).
Пытаюсь сохранить, появляется ошибка:
[Df_AccessControl_Helper_Data::getLastSavedRoleId]
Результат метода забракован проверяющим «Zend_Validate_Int».
Сообщения проверяющего:
Invalid type given. String or integer expected
#0 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/Qa/Helper/Method.php(887): Df_Qa_Helper_Method::throwException()
#1 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/Qa/Helper/Method.php(710): Df_Qa_Helper_Method->throwException()
#2 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/Qa/Helper/Method.php(181): Df_Qa_Helper_Method->validateResult()
#3 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/Core/lib/fp/validation.php(484): Df_Qa_Helper_Method->assertResultIsInteger()
#4 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/AccessControl/Helper/Data.php(37): df_result_integer()
#5 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/AccessControl/Model/Event/Permissions/Role/Saverole.php(54): Df_AccessControl_Helper_Data->getLastSavedRoleId()
#6 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/AccessControl/Model/Handler/Permissions/Role/Saverole/UpdateCatalogAccessRights.php(90): Df_AccessControl_Model_Event_Permissions_Role_Saverole->getRoleId()
#7 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/AccessControl/Model/Handler/Permissions/Role/Saverole/UpdateCatalogAccessRights.php(56): Df_AccessControl_Model_Handler_Permissions_Role_Saverole_UpdateCatalogAccessRights->getRole()
#8 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/Core/lib/fp/other.php(299): Df_AccessControl_Model_Handler_Permissions_Role_Saverole_UpdateCatalogAccessRights->handle()
#9 /srv/www/tmp.pizza.by/htdocs/app/code/local/Df/AccessControl/Model/Dispatcher.php(128): df_handle_event()
#10 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Model/App.php(1265): Df_AccessControl_Model_Dispatcher->controller_action_postdispatch_adminhtml_permissions_role_saverole(Object(Varien_Event_Observer))
#11 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Model/App.php(1246): Mage_Core_Model_App->_callObserverMethod(Object(Df_AccessControl_Model_Dispatcher), 'controller_acti...', Object(Varien_Event_Observer))
#12 /srv/www/tmp.pizza.by/htdocs/app/Mage.php(416): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#13 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(526): Mage::dispatchEvent('controller_acti...', Array)
#14 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(422): Mage_Core_Controller_Varien_Action->postDispatch()
#15 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('saverole')
#16 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /srv/www/tmp.pizza.by/htdocs/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#18 /srv/www/tmp.pizza.by/htdocs/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#19 /srv/www/tmp.pizza.by/htdocs/index.php(80): Mage::run('', 'store')
#20 {main}
Подскажите в чем может быть проблема и что делать?