Divvens
Well-known member
Get the following error when you delete an album and select to send an alert to user (without filling out any content on the alert), XF 1.5.6 and latest XFMG
PHP:
XenForo_Exception: Serialized value contains an object and this is not allowed - library/XenForo/DataWriter/Helper/Denormalization.php:40
Generated By: Divvens, 3 minutes ago
Stack Trace
#0 /home/xxxxxx/public_html/library/XenForo/DataWriter/Alert.php(86): XenForo_DataWriter_Helper_Denormalization::verifySerialized('a:4:{s:6:"reaso...', Object(XenForo_DataWriter_Alert), 'extra_data')
#1 [internal function]: XenForo_DataWriter_Alert->_verifyExtraData('a:4:{s:6:"reaso...', Object(XenForo_DataWriter_Alert), 'extra_data', Array)
#2 /home/xxxxxx/public_html/library/XenForo/DataWriter.php(996): call_user_func_array(Array, Array)
#3 /home/xxxxxx/public_html/library/XenForo/DataWriter.php(725): XenForo_DataWriter->_runVerificationCallback(Array, 'a:4:{s:6:"reaso...', Array, 'extra_data')
#4 /home/xxxxxx/public_html/library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('extra_data', Array, 'a:4:{s:6:"reaso...', Array)
#5 /home/xxxxxx/public_html/library/XenForo/Model/Alert.php(450): XenForo_DataWriter->set('extra_data', Array)
#6 /home/xxxxxx/public_html/library/XenForo/Model/Alert.php(426): XenForo_Model_Alert->alertUser(10916, 0, '', 'user', 10916, 'xengallery_albu...', Array)
#7 /home/xxxxxx/public_html/library/XenGallery/Model/Media.php(3517): XenForo_Model_Alert::alert(10916, 0, '', 'user', 10916, 'xengallery_albu...', Array)
#8 /home/xxxxxx/public_html/library/XenGallery/ControllerPublic/Abstract.php(345): XenGallery_Model_Media->sendAuthorAlert(Array, 'xengallery_albu...', 'delete', Array, Array, 'album_user_id')
#9 /home/xxxxxx/public_html/library/XenGallery/ControllerPublic/Album.php(395): XenGallery_ControllerPublic_Abstract->_sendAuthorAlert(Array, 'xengallery_albu...', 'delete', Array, 'album_user_id')
#10 /home/xxxxxx/public_html/library/XenForo/FrontController.php(351): XenGallery_ControllerPublic_Album->actionDelete()
#11 /home/xxxxxx/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/xxxxxx/public_html/index.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(56) "http://orojackson.com/media/albums/grand-live.815/delete"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["hard_delete"] => string(1) "0"
["reason"] => string(0) ""
["send_author_alert"] => string(1) "1"
["author_alert_reason"] => string(0) ""
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(29) "/media/albums/grand-live.815/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}