[UW] Forum Comments System [Deleted]

3rd Bug.
I can't still run Spam Cleaner on users with comments.

Code:
Server error log
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Jun 28, 2020 at 9:52 AM

Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}

Request state
array(4) {
  ["url"] => string(37) "/spam-cleaner/user.123456/"
  ["referrer"] => string(52) "https://domain.com/members/user.123456/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/user_123456/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(32) "/members/user.123456/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
My problem since June is still unresolved.
I still got the same error today.
Code:
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:18 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(47) "https://web.com/members/userspammer.1234/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(27) "/members/userspammer.1234/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


######
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:15 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(35) "https://web.com/reports/77701/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(0) ""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(15) "/reports/77701/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


######
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:15 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(47) "https://web.com/members/userspammer.1234/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(27) "/members/userspammer.1234/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
I'm thinking about getting this, but I'd want to know that if nested replies ever become part of xenforo core (and there is a very popular suggestion afoot) that there would be an importer - not just to replies as it is now but to nested replies.
 
I'm thinking about getting this, but I'd want to know that if nested replies ever become part of xenforo core (and there is a very popular suggestion afoot) that there would be an importer - not just to replies as it is now but to nested replies.
If XF ever comes up with something that would be basically replacing this add-on, then of course importers would have to be done. But if it is something that would not be replacing this add-on, then there is always an option to get a custom job done.
 
My problem since June is still unresolved.
I still got the same error today.
Code:
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:18 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(47) "https://web.com/members/userspammer.1234/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(27) "/members/userspammer.1234/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


######
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:15 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(35) "https://web.com/reports/77701/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(0) ""
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(15) "/reports/77701/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


######
ErrorException: [E_WARNING] Creating default object from empty value src/addons/UW/FCS/Entity/Comment.php:237
Generated by: Admin Sep 5, 2020 at 1:15 PM
Stack trace
#0 src/addons/UW/FCS/Entity/Comment.php(237): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(1595): UW\FCS\Entity\Comment->_postDelete()
#2 src/addons/UW/FCS/Extend/Spam/Cleaner/Post.php(41): XF\Mvc\Entity\Entity->delete()
#3 src/XF/Spam/Cleaner.php(120): UW\FCS\Extend\Spam\Cleaner\Post->cleanUp()
#4 src/XF/Spam/Cleaner.php(105): XF\Spam\Cleaner->cleanUpContent()
#5 src/XF/Pub/Controller/SpamCleaner.php(47): XF\Spam\Cleaner->cleanUp()
#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\SpamCleaner->actionIndex()
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#10 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#11 src/XF.php(391): XF\App->run()
#12 index.php(20): XF::runApp()
#13 {main}
Request state
array(4) {
  ["url"] => string(32) "/spam-cleaner/userspammer.1234/"
  ["referrer"] => string(47) "https://web.com/members/userspammer.1234/"
  ["_GET"] => array(1) {
    ["/spam-cleaner/userspammer_1234/"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["action_threads"] => string(1) "1"
    ["delete_messages"] => string(1) "1"
    ["delete_conversations"] => string(1) "1"
    ["ban_user"] => string(1) "1"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(27) "/members/userspammer.1234/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
As I said already, we are not able to reproduce that. We don't have that kind of problem nor anybody else.
 
It took me long enough but I am finally ready to roll this out on my forums - purchased. :D
Great. Thanks a lot for support. Please check the manual here to see all the features:

 
Reply can't be moved under another reply as a comment, at this time.
It would be perfect if you could do that to tidy up threads made previously to the comments addon, e.g. select a post or several posts and convert to comments.

Perhaps you might think about including this feature I think it would be very useful and popular.
 
Last edited:
Great. Thanks a lot for support. Please check the manual here to see all the features:

Thank you, the thoroughness of your docs went a long way in helping me make my decision! Eagerly waiting for XF2.2 support before I can use it, though (currently running RC1).
 
I tried "Uninstalling the addon" now under XF 2.1.11 and still got HTTP ERROR 500 page.

No error logged also just this notice:
1600876031467.webp

On the addon list I can see this:
Last action: uninstall:0

Server specs:
PHP version 7.4.10
MySQL version 10.3.24 (10.3.24-MariaDB)
Server software nginx/1.19.2
PHP memory_limit 1024M
PHP post_max_size 515M
PHP upload_max_filesize 515M
PHP max_input_vars 10000
PHP max_execution_time 30
cURL version 7.29.0
SSL version NSS/3.44
Suhosin enabled No
Imagick support No
EXIF support Yes
GZip support Yes
mbstring support Yes
gmp support Yes
ZipArchive support Yes

I do have 318,474 comments right now.

I just keep repeating the Uninstall step until it succeed finally after 2nd error.

Another problem now, not sure if comments are retain as thread reply as I cannot visit last page of threads with comments before.
What else I can run to correct this?

Thanks.
 
Another problem now, not sure if comments are retain as thread reply as I cannot visit last page of threads with comments before.
What else I can run to correct this?
Last page just redirect me to 1st page of the thread.

Trying
Rebuild threads > Rebuild position and post counters... atm.
 
Bug?
When giving a warning and having Content action > Post a public warning, it isn't displayed on Comments.
 
Top Bottom