• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Error when editing existing resource categories (RM1.1)

Ferdinand

Active member
#1
Hi, I get the following error when trying to edit categories in the resource manager:
call_user_func_array() expects parameter 1 to be a valid callback, class 'RmDownloadPermissions_Extend_XenResource_DataWriter_Category' does not have a method '_verifyAllowSubmitUserGroupIds'
  1. XenForo_Application::handlePhpError()
  2. call_user_func_array() in XenForo/DataWriter.php at line 970
  3. XenForo_DataWriter->_runVerificationCallback() in XenForo/DataWriter.php at line 725
  4. XenForo_DataWriter->_isFieldValueValid() in XenForo/DataWriter.php at line 643
  5. XenForo_DataWriter->set() in RmDownloadPermissions/Extend/XenResource/DataWriter/Category.php at line 27
  6. RmDownloadPermissions_Extend_XenResource_DataWriter_Category->_preSave() in XenForo/DataWriter.php at line 1434
  7. XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1373
  8. XenForo_DataWriter->save() in XenResource/ControllerAdmin/Category.php at line 158
  9. XenResource_ControllerAdmin_Category->actionSave() inRmDownloadPermissions/Extend/XenResource/ControllerAdmin/Category.php at line 57
  10. RmDownloadPermissions_Extend_XenResource_ControllerAdmin_Category->actionSave() in XenForo/FrontController.php at line 337
  11. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  12. XenForo_FrontController->run() in /home/carpedie/public_html/admin.php at line 13

Think it's a bug, anyone else get it?
 

Mike

XenForo developer
Staff member
#2
This is an issue with an add-on -- RmDownloadPermissions it seems.

Also, please note that there is a dedicated RM bug report forum.
 

Ferdinand

Active member
#4
@Mike I disabled this but still get this error when creating new categories:
Mysqli statement execute error : Field 'download_by_perm' doesn't have a default value
  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
  4. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1612
  5. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1601
  6. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1393
  7. XenForo_DataWriter->save() in XenResource/ControllerAdmin/Category.php at line 158
  8. XenResource_ControllerAdmin_Category->actionSave() in XenForo/FrontController.php at line 337
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /home/carpedie/public_html/admin.php at line 13
 

Brogan

XenForo moderator
Staff member
#5
That doesn't appear to be a default field.
You will need to contact the developer of the add-on for assistance with the error.