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

Fixed Error while trying to edit user's album title as an admin

Discussion in 'Media Gallery Resolved Bugs' started by Freelancer, Feb 28, 2016.

  1. Freelancer

    Freelancer Well-Known Member

    XF Core & XFMG latest version

    Super Admin wants to edit a user's album title to make it board conform and filled in the "reason" field. The following error was displayed as a modal as he hit save.

    (But album was saved with the changes)

    The following error occurred:
    Serialized value contains an object and this is not allowed
    XenForo_DataWriter_Helper_Denormalization::verifySerialized() in XenForo/DataWriter/Alert.php at line 86
    call_user_func_array() in XenForo/DataWriter.php at line 996
    XenForo_DataWriter->_runVerificationCallback() in XenForo/DataWriter.php at line 725
    XenForo_DataWriter->_isFieldValueValid() in XenForo/DataWriter.php at line 643
    XenForo_DataWriter->set() in XenForo/Model/Alert.php at line 450
    XenForo_Model_Alert->alertUser() in XenForo/Model/Alert.php at line 426
    XenForo_Model_Alert::alert() in XenGallery/Model/Media.php at line 3517
    XenGallery_Model_Media->sendAuthorAlert() in XenGallery/ControllerPublic/Abstract.php at line 345
    XenGallery_ControllerPublic_Abstract->_sendAuthorAlert() in XenGallery/ControllerPublic/Album.php at line 338
    XenGallery_ControllerPublic_Album->actionEdit() in XenForo/FrontController.php at line 351
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /var/www/clients/client180/web812/web/index.php at line 13
  2. adamsmasher

    adamsmasher Active Member

    I had a similar "XenForo_Exception: Serialized value contains an object and this is not allowed" error when testing reporting an album.

    #0 /home/xentest/public_html/library/XenForo/DataWriter.php(721): XenForo_DataWriter->_castValueToType('serialized', Array, 'content_info', Array)
    #1 /home/xentest/public_html/library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('content_info', Array, Array, Array)
    #2 /home/xentest/public_html/library/XenForo/DataWriter.php(1009): XenForo_DataWriter->set('content_info', Array, '', NULL)
    #3 /home/xentest/public_html/library/XenForo/Model/Report.php(515): XenForo_DataWriter->bulkSet(Array)
    #4 /home/xentest/public_html/library/XenGallery/ControllerPublic/Album.php(731): XenForo_Model_Report->reportContent('xengallery_albu...', Array, 'dunno')
    #5 /home/xentest/public_html/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Album->actionReport()
    #6 /home/xentest/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/xentest/public_html/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Freelancer likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    Both these cases are sorted now, thank you.
    Freelancer, thedude and adamsmasher like this.
  4. adamsmasher

    adamsmasher Active Member

  5. Freelancer

    Freelancer Well-Known Member

    Thank you!

Share This Page