[TH] Reactions [Deleted]

I have compatibility issues with xenforos media galleria if this addon and your trending addon is enabled. This error message occurs when I try to post a picture there with reactions enabled (reactions version: 1.0.11 Patch Level 1).
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'react_users' in 'field list' in src/XF/Db/AbstractStatement.php at line 212

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
    XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
    XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
    XF\Mvc\Entity\Entity->save() in src/addons/XFMG/Service/Media/Creator.php at line 233
    XFMG\Service\Media\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
    XFMG\Service\Media\Creator->save() in src/addons/XFMG/Pub/Controller/Media.php at line 739
    XFMG\Pub\Controller\Media->actionSaveMedia() in src/XF/Mvc/Dispatcher.php at line 249
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
    XF\App->run() in src/XF.php at line 328
    XF::runApp() in index.php at line 13
Furthermore I have a similar problem iwth your trending addon. This error message occurs when I try to post a picture with trending enabled (trending version: 1.0.0a).
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'thtrending_positive_rating_count' in 'field list' in src/XF/Db/AbstractStatement.php at line 212

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
    XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
    XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
    XF\Mvc\Entity\Entity->save() in src/addons/XFMG/Service/Media/Creator.php at line 233
    XFMG\Service\Media\Creator->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
    XFMG\Service\Media\Creator->save() in src/addons/XFMG/Pub/Controller/Media.php at line 739
    XFMG\Pub\Controller\Media->actionSaveMedia() in src/XF/Mvc/Dispatcher.php at line 249
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
    XF\App->run() in src/XF.php at line 328
    XF::runApp() in index.php at line 13
Ps: I am also using
[TH] Donate 1.0.2 Patch Level 2
[TH] Nodes 1.0.2 Patch Level 1
[TH] UI.X 2.0.5 Patch Level 2
without issues.
Xenforo2
v2.0.4

Got any ideas, fixes in mind for this 2 problems. Would be awesome, cuz I really want to enable this 2 addons for my forum.

Thank you in advance

-Xiomera

Check the FAQ tab as this is covered there :)

Nothing happens when I change something under options, like the size and position.
I'm using UI.X2 as a theme. Do I need to rebuild something?

What exactly do you mean?
Will this add on ever have the ability to auto hide a post of it receive x amount of negative ratings?

Yes, it's on our list. Not something I can really offer an ETA for at this time, however
 
@Jake B. I have disabled Hover for Triggers and no more getting this error from now. So this happen from Hover for Triggers button.

Yeah, it's likely due to something along the lines of a slow response time on the device removing the button allowing it to be clicked twice, we've got a fix for this for the next release :)
 
Check the FAQ tab as this is covered there :)



What exactly do you mean?


Yes, it's on our list. Not something I can really offer an ETA for at this time, however
Sry and thank you very much, it's working for Reations. Is there a similar solution for your Trending Addon too? I couldn't find the fix there.

-Xiomera
 
For trending right now we just recommend reinstalling the trending addon the issue only happens if you install xfrm or xfmg after our addon and we are working on a way to detect this
 
Ah you're correct on this. Looks like this didn't get packaged into patch 1, will be included in the following update. Sorry about that.

Yeah, it's likely due to something along the lines of a slow response time on the device removing the button allowing it to be clicked twice, we've got a fix for this for the next release :)

@Jake B. Please any ETA for next release? Please give hotfix for bug fix update because we are using in live site. Thanks
 
While upgrading to Ui.X 2.0.5 on a client's site, this error came up...
Code:
Line 56: Template tags are not well formed. Tag macro was found when expecting if.

Disabled TH Reactions and the Ui.X 2.0.5 upgrade went through without a problem.

After upgrade, re-enabled Reactions and this error came up when visiting the main page...
Code:
    ErrorException: Template error: Macro public:account_visitor_menu:visitor_panel_row is unknown src/XF/Template/Templater.php:557 

    Generated by: Snog May 3, 2018 at 7:30 AM 

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:ac...', '/var/www/client...', 557, Array)
#1 src/XF/Template/Templater.php(557): trigger_error('Macro public:ac...', 512)
#2 src/XF/Template/Templater.php(661): XF\Template\Templater->getTemplateMacro('public', 'account_visitor...', 'visitor_panel_r...')
#3 internal_data/code_cache/templates/l1/s92/public/widget_visitor_panel.php(11): XF\Template\Templater->callMacro('account_visitor...', 'visitor_panel_r...', Array, Array)
#4 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#5 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_visitor_...', Array)
#6 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#7 src/XF/Template/Templater.php(1525): XF\Widget\WidgetRenderer->__toString()
#8 internal_data/code_cache/templates/l1/s92/public/forum_list.php(210): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#9 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#13 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(1894): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}

Request state

array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => string(21) "https://website.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

If I disable the account_visitor_menu template modification for TH Reactions, the error goes away.

This happens with the XenForo Visitor panel widget being displayed on the main forum page.
 
@Jake B. ETA on reactions for media comments? ETA on reactions for Xenporta 2 articles? (using the custom article layout as seen here: https://www.theaocdungeon.com/threads/ashes-of-creation-pre-order-store-may-update-is-live.95/)

No ETA currently, unfortunately.

While upgrading to Ui.X 2.0.5 on a client's site, this error came up...
Code:
Line 56: Template tags are not well formed. Tag macro was found when expecting if.

Disabled TH Reactions and the Ui.X 2.0.5 upgrade went through without a problem.

After upgrade, re-enabled Reactions and this error came up when visiting the main page...
Code:
    ErrorException: Template error: Macro public:account_visitor_menu:visitor_panel_row is unknown src/XF/Template/Templater.php:557

    Generated by: Snog May 3, 2018 at 7:30 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Macro public:ac...', '/var/www/client...', 557, Array)
#1 src/XF/Template/Templater.php(557): trigger_error('Macro public:ac...', 512)
#2 src/XF/Template/Templater.php(661): XF\Template\Templater->getTemplateMacro('public', 'account_visitor...', 'visitor_panel_r...')
#3 internal_data/code_cache/templates/l1/s92/public/widget_visitor_panel.php(11): XF\Template\Templater->callMacro('account_visitor...', 'visitor_panel_r...', Array, Array)
#4 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#5 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('widget_visitor_...', Array)
#6 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#7 src/XF/Template/Templater.php(1525): XF\Widget\WidgetRenderer->__toString()
#8 internal_data/code_cache/templates/l1/s92/public/forum_list.php(210): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#9 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#10 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#11 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#12 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#13 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#14 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#15 src/XF/App.php(1894): XF\Mvc\Dispatcher->run()
#16 src/XF.php(328): XF\App->run()
#17 index.php(13): XF::runApp('XF\\Pub\\App')
#18 {main}

Request state

array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => string(21) "https://website.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

If I disable the account_visitor_menu template modification for TH Reactions, the error goes away.

This happens with the XenForo Visitor panel widget being displayed on the main forum page.

I wasn't able to replicate this issue, could you have them create a ticket on themehouse.com with admin details? It could be related to a customization they've made
 
I wasn't able to replicate this issue, could you have them create a ticket on themehouse.com with admin details? It could be related to a customization they've made
I don't think the ticket will be needed.

I was able to reproduce this on my development server and it turns out it's an old Reactions version that's causing the problem. I'll have him get the latest version.

Sorry about that! ;)
 
No ETA currently, unfortunately.

Too bad.. :/ Our media section is getting active and it looks very odd they you can react on media, but not their comments.. Of course it is a bit different with the Xenporta addon, as that's a community addon.

But I'll wait, hopefully it isn't too far in the future :)
 
@Jake B. I have disabled [TH] Reactions but why getting Server error log about ErrorException: Template error: Function reaction is unknown src/XF/Template/Templater.php:859?

Code:
ErrorException: Template error: Function reaction is unknown src/XF/Template/Templater.php:859

Generated by: মাইন May 7, 2018 at 2:12 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function reacti...', '/home/nadda/pub...', 859, Array)
#1 src/XF/Template/Templater.php(859): trigger_error('Function reacti...', 512)
#2 internal_data/code_cache/templates/l1/s6/public/alert_post_react.php(9): XF\Template\Templater->fn('reaction', Array, true)
#3 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#4 src/XF/Alert/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('alert_post_reac...', Array)
#5 src/XF/Entity/UserAlert.php(67): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(939): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s6/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s6/public/account_alerts_popup.php(21): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#13 src/XF/Mvc/Renderer/Json.php(81): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#16 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#18 src/XF/App.php(1894): XF\Mvc\Dispatcher->run()
#19 src/XF.php(328): XF\App->run()
#20 index.php(13): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
  ["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1525634888%2C1e2a14fa1abe79223c7e18cd2afd9a66&_xfResponseType=json&_=1525637598892"
  ["referrer"] => string(23) "/"
  ["_GET"] => array(5) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1525634888,1e2a14fa1abe79223c7e18cd2afd9a66"
    ["_xfResponseType"] => string(4) "json"
    ["_"] => string(13) "1525637598892"
  }
  ["_POST"] => array(0) {
  }
}
 
@Jake B. I have disabled [TH] Reactions but why getting Server error log about ErrorException: Template error: Function reaction is unknown src/XF/Template/Templater.php:859?

Code:
ErrorException: Template error: Function reaction is unknown src/XF/Template/Templater.php:859

Generated by: মাইন May 7, 2018 at 2:12 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Function reacti...', '/home/nadda/pub...', 859, Array)
#1 src/XF/Template/Templater.php(859): trigger_error('Function reacti...', 512)
#2 internal_data/code_cache/templates/l1/s6/public/alert_post_react.php(9): XF\Template\Templater->fn('reaction', Array, true)
#3 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#4 src/XF/Alert/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('alert_post_reac...', Array)
#5 src/XF/Entity/UserAlert.php(67): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(939): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s6/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(662): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s6/public/account_alerts_popup.php(21): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1249): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#13 src/XF/Mvc/Renderer/Json.php(81): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#16 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#18 src/XF/App.php(1894): XF\Mvc\Dispatcher->run()
#19 src/XF.php(328): XF\App->run()
#20 index.php(13): XF::runApp('XF\\Pub\\App')
#21 {main}

Request state

array(4) {
  ["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1525634888%2C1e2a14fa1abe79223c7e18cd2afd9a66&_xfResponseType=json&_=1525637598892"
  ["referrer"] => string(23) "/"
  ["_GET"] => array(5) {
    ["_xfRequestUri"] => string(1) "/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1525634888,1e2a14fa1abe79223c7e18cd2afd9a66"
    ["_xfResponseType"] => string(4) "json"
    ["_"] => string(13) "1525637598892"
  }
  ["_POST"] => array(0) {
  }
}

This is because XenForo will attempt to render alerts associated with the add-on regardless of whether it is disabled or not, the template for these alerts are calling a function which XenForo doesn't know exists when the add-on is disabled. Realistically not a whole lot we can do about this.
 
Hello, my safari users still cant react otherwise then with the thumbs up... (after the 1.0.11 level 1 patch) Is there a fix for these users?
Did anyone find a solution for this? This is affecting both our safari desktop and mobile users.
 
I wish in the postbit, i could just show only positive reaction. I deleted neutral and bad ones, but have 750 0 0; could you fix that as a simple display fix? Not all of us enjoy negativity on the forum; it bashes certain members.
 
Top Bottom