[UW] Forum Comments System [Deleted]

Can you be more specific, it would be help a lot. What did you do to get that error?
Same error here
 
This time, 2 error log on 1 request:

PHP:
Error: Call to a member function canView() on null src/addons/UW/FCS/Pub/Controller/Comment.php:45
Generated by: User Jun 8, 2020 at 12:18 AM
Stack trace
#0 src/addons/UW/FCS/Pub/Controller/Comment.php(20): UW\FCS\Pub\Controller\Comment->assertViewableComment()
#1 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Pub\Controller\Comment->actionindex()
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp()
#8 {main}
Request state
array(4) {
  ["url"] => string(15) "/comments/4992/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/comments/4992/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Error: Call to a member function canView() on null src/addons/UW/FCS/Pub/Controller/Comment.php:45
Generated by: User Jun 8, 2020 at 12:18 AM
Stack trace
#0 src/addons/UW/FCS/Pub/Controller/Comment.php(20): UW\FCS\Pub\Controller\Comment->assertViewableComment()
#1 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Pub\Controller\Comment->actionindex()
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp()
#8 {main}
Request state
array(4) {
  ["url"] => string(15) "/comments/4992/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/comments/4992/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
This time, 2 error log on 1 request:

PHP:
Error: Call to a member function canView() on null src/addons/UW/FCS/Pub/Controller/Comment.php:45
Generated by: User Jun 8, 2020 at 12:18 AM
Stack trace
#0 src/addons/UW/FCS/Pub/Controller/Comment.php(20): UW\FCS\Pub\Controller\Comment->assertViewableComment()
#1 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Pub\Controller\Comment->actionindex()
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp()
#8 {main}
Request state
array(4) {
  ["url"] => string(15) "/comments/4992/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/comments/4992/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Error: Call to a member function canView() on null src/addons/UW/FCS/Pub/Controller/Comment.php:45
Generated by: User Jun 8, 2020 at 12:18 AM
Stack trace
#0 src/addons/UW/FCS/Pub/Controller/Comment.php(20): UW\FCS\Pub\Controller\Comment->assertViewableComment()
#1 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Pub\Controller\Comment->actionindex()
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp()
#8 {main}
Request state
array(4) {
  ["url"] => string(15) "/comments/4992/"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/comments/4992/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
And what did you do to get the error?
 
Error when I visit those ["url"] => string(24) "

Full error logs:
 
Error when I visit those ["url"] => string(24) "

Full error logs:
Same error I got again now but on different comment ID.
Myforum.com/comments/15217/
 
Hey there!

This plug-in has been an amazing addition to my forum, all of my users are loving it, and thank you for the support so far.

Just wanted to flag a minor bug and bring it to your attention:
Screen Shot 2020-06-10 at 12.36.25 PM.webp

Whenever editing posts / comments, the Image upload button (from add.pic) is repeated. It's not a big deal to me, since it's hidden from view most of the time, but just wanted to let you know.

The image upload button in the main reply box is fine. Only occurs when editing posts.
 
Hey there!

This plug-in has been an amazing addition to my forum, all of my users are loving it, and thank you for the support so far.

Just wanted to flag a minor bug and bring it to your attention:
View attachment 227467

Whenever editing posts / comments, the Image upload button (from add.pic) is repeated. It's not a big deal to me, since it's hidden from view most of the time, but just wanted to let you know.

The image upload button in the main reply box is fine. Only occurs when editing posts.
Will check it out and let you know soon.
 
Code:
Server error log
XF\Db\Exception: MySQL query error [1412]: Table definition has changed, please retry transaction src/XF/Db/AbstractStatement.php:228
Generated by: User Jun 18, 2020 at 9:35 PM
Stack trace
            SELECT title, output
            FROM xf_css_cache
            WHERE title IN ('email:core.less')
                AND style_id = ?
                AND language_id = ?
                AND modifier_key = ?
                AND cache_date >= ?
        
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException()
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException()
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(175): XF\Db\AbstractAdapter->query()
#4 src/XF/CssRenderer.php(223): XF\Db\AbstractAdapter->fetchPairs()
#5 src/XF/CssRenderer.php(109): XF\CssRenderer->getIndividualCachedTemplates()
#6 src/XF/Mail/Styler.php(72): XF\CssRenderer->render()
#7 src/XF/Mail/Styler.php(59): XF\Mail\Styler->renderCoreCss()
#8 src/XF/Mail/Styler.php(33): XF\Mail\Styler->getEmailCss()
#9 src/XF/Mail/Mailer.php(187): XF\Mail\Styler->styleHtml()
#10 src/XF/Mail/Mail.php(319): XF\Mail\Mailer->renderMailTemplate()
#11 src/XF/Mail/Mail.php(375): XF\Mail\Mail->renderTemplate()
#12 src/XF/Mail/Mail.php(406): XF\Mail\Mail->getSendableMessage()
#13 src/addons/UW/FCS/Notifier/Comment/ThreadWatch.php(102): XF\Mail\Mail->queue()
#14 src/XF/Service/AbstractNotifier.php(92): UW\FCS\Notifier\Comment\ThreadWatch->sendEmail()
#15 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType()
#16 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify()
#17 src/addons/UW/FCS/Entity/Comment.php(288): XF\Service\AbstractNotifier->notifyAndEnqueue()
#18 src/XF/Mvc/Entity/Entity.php(1219): UW\FCS\Entity\Comment->_postSave()
#19 src/addons/UW/FCS/Extend/Pub/Controller/Post.php(57): XF\Mvc\Entity\Entity->save()
#20 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Extend\Pub\Controller\Post->actionaddcomment()
#21 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#22 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#23 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#24 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#25 src/XF.php(391): XF\App->run()
#26 index.php(20): XF::runApp()
#27 {main}

Request state
array(4) {
  ["url"] => string(27) "/posts/15724515/add-comment"
  ["referrer"] => string(65) "https://domain.com/threads/889696/page-3"
  ["_GET"] => array(1) {
    ["/posts/15724515/add-comment"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["message"] => string(48) "my post reply here"
    ["last_date"] => string(1) "0"
    ["last_known_date"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(45) "/threads/889696/page-3"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Error log related to this addon.
 
New issue I got today.
Error when someone try to comment-quote a deleted user comment.

Code:
Server error log

ErrorException: [E_NOTICE] Trying to get property 'username' of non-object src/addons/UW/FCS/Pub/Controller/Comment.php:388
Generated by: User Jun 26, 2020 at 6:21 PM

Stack trace
#0 src/addons/UW/FCS/Pub/Controller/Comment.php(388): XF::handlePhpError()
#1 src/XF/Mvc/Dispatcher.php(350): UW\FCS\Pub\Controller\Comment->actionCommentQuote()
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#5 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#6 src/XF.php(391): XF\App->run()
#7 index.php(20): XF::runApp()
#8 {main}

Request state
array(4) {
  ["url"] => string(29) "/comments/37977/comment-quote"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/comments/37977/comment-quote"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Thanks.
 
Back
Top Bottom