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

Fixed Redirect link of a thread can't be deleted

Affected version
2.0.0 RC 2

Fethi.dz

Active member
#1
Hi,

When I move a thread to a different forum and I leave a link in the old forum, I can see the "Edit" link next to the redirect link of that thread in the old forum. Well when click on Edit then click on delete NOTHING HAPPENED. This is a bug!!!

View media item 2053

Thanks.
 

Chris D

XenForo developer
Staff member
#3
Hi,

When I move a thread to a different forum and I leave a link in the old forum, I can see the "Edit" link next to the redirect link of that thread in the old forum. Well when click on Edit then click on delete NOTHING HAPPENED. This is a bug!!!

View media item 2053

Thanks.
We shouldn't really be displaying the edit link here but also we've made some other changes.
BTW, when I tryied to post this thread I got this error:
The actual error would have been in the browser console. If it happens again, please look for the error in there and post that.
 

Fethi.dz

Active member
#4
Hello Chris,

I just noted this on my test forum Error log: (The error logged when I try to delete tha redirect link)



  • ErrorException: Fatal Error: Call to a member function canSendModeratorActionAlert() on null
  • src/XF/Entity/Thread.php:395
  • Generated by: Fethi.dz
  • Nov 21, 2017 at 10:31 PM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(151) "/demo/threads/12/delete?_xfRequestUri=%2Fdemo%2Fforums%2F7%2F&_xfWithData=1&_xfToken=1511303452%2Cf8bc1180b9537e2119d044cf0d59375d&_xfResponseType=json"
["referrer"] => string(34) "http://4algeria.com/demo/forums/7/"
["_GET"] => array(4) {
["_xfRequestUri"] => string(15) "/demo/forums/7/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1511303452,f8bc1180b9537e2119d044cf0d59375d"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}