[TH] Reactions [Deleted]

I've encountered some problems with alignment on the thread list page, thought I'd screenshot it!

This occurs on default, UI.X, and my custom theme. Can we get this area to play nice?

Note: Ignore the lines in the photo below, they were left over fireworks lol

Thanks!

reactions_bug_1.webp
 
Server error also to report:

  • Error: Call to undefined method ThemeHouse\Reactions\React\Post::getReactions()
  • src/addons/ThemeHouse/Reactions/Pub/Controller/React.php:99

Stack trace
#0 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(23): ThemeHouse\Reactions\Pub\Controller\React->verifyReactionId(Object(XFMG\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#1 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
["url"] => string(32) "/reactions/react/post/1140503/43"
["referrer"] => string(58) "URL REMOVED"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(39) "URL REMOVED"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
@Jake B. I'm getting this server error every single day since uninstalling the add-on. It's the same error I showed you before. You said it was because the add-on was disabled and not uninstalled, however it's been a daily occurrence that I've been receiving this error and the add-on is completely uninstalled.

I need a fix for this if possible. Thanks.

Code:
    ErrorException: Template error: Template public:news_feed_item_post_react is unknown src/XF/Template/Templater.php:564 

    Generated by: Unknown account Dec 31, 2017 at 8:30 PM 

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/ccausecod...', 564, Array)
#1 src/XF/Template/Templater.php(564): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(519): XF\Template\Templater->getTemplateData('public', 'news_feed_item_...')
#3 src/XF/Template/Templater.php(1229): XF\Template\Templater->getTemplateCode('public', 'news_feed_item_...')
#4 src/XF/NewsFeed/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('news_feed_item_...', Array)
#5 src/XF/Entity/NewsFeed.php(64): XF\NewsFeed\AbstractHandler->render(Object(XF\Entity\NewsFeed))
#6 [internal function]: XF\Entity\NewsFeed->render()
#7 src/XF/Template/Templater.php(920): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s13/public/news_feed_macros.php(34): XF\Template\Templater->method(Object(XF\Entity\NewsFeed), 'render', Array)
#9 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(LiamW\AllRichUsernames\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s13/public/news_feed_macros.php(14): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_item', Array, Array)
#11 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(LiamW\AllRichUsernames\XF\Template\Templater), Array, Array)
#12 internal_data/code_cache/templates/l1/s13/public/member_latest_activity.php(34): XF\Template\Templater->callMacro('news_feed_macro...', 'feed_row', Array, Array)
#13 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(LiamW\AllRichUsernames\XF\Template\Templater), Array)
#14 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('member_latest_a...', Array)
#15 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#16 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Member\\Lates...', 'public:member_l...', Array)
#17 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#20 src/XF.php(328): XF\App->run()
#21 index.php(13): XF::runApp('XF\\Pub\\App')
#22 {main}

Request state

array(4) {
  ["url"] => string(40) "/members/kawaiihannah.81/latest-activity"
  ["referrer"] => string(52) "https://www.causecoders.com/members/kawaiihannah.81/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
It looks like it has something to do with All Rich Usernames being involved. Not sure but it references the add-on in the stack trace.

It also says:

news_feed_item_post_react is unknown src/XF/Template/Templater.php:564

So I assume its regarding reactions
 
Bug?

After editing someone's post, I can't immediately react to that post once the edit is finalized. I have to refresh the page?
 
@Jake B. I am getting server error log.

Code:
TypeError: Argument 1 passed to XF\Template\Templater::setMediaSites() must be of the type array, boolean given, called in /home/nadda/public_html/src/XF/App.php on line 1447 src/XF/Template/Templater.php:383

Generated by: Unknown account Dec 26, 2017 at 7:37 PM

Stack trace

#0 src/XF/App.php(1447): XF\Template\Templater->setMediaSites(false)
#1 src/XF/App.php(1079): XF\App->setupTemplaterObject(Object(XF\Container), 'ThemeHouse\\Reac...')
#2 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(1089): XF\Container->offsetGet('templater')
#4 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#5 src/XF/App.php(2657): XF\Container->offsetGet('cssWriter')
#6 css.php(19): XF\App->cssWriter()
#7 {main}

Request state

array(4) {
  ["url"] => string(450) "/css.php?css=public%3Adbtech_donate_display_block.less%2Cpublic%3Alightslider.less%2Cpublic%3Anode_list.less%2Cpublic%3Anotices.less%2Cpublic%3Ashare_controls.less%2Cpublic%3Ath_firework_holidays.less%2Cpublic%3Ath_lastPostAv.less%2Cpublic%3Ath_snow_holidays.less%2Cpublic%3Ath_winter_holidays.less%2Cpublic%3Axc_user_activity.less%2Cpublic%3Axfmg_media_list.less%2Cpublic%3Aextra.less&s=24&l=1&d=1514043850&k=fc8fc91ba088fecd456874932af753f4f64ed645"
  ["referrer"] => string(27) "/"
  ["_GET"] => array(5) {
    ["css"] => string(326) "public:dbtech_donate_display_block.less,public:lightslider.less,public:node_list.less,public:notices.less,public:share_controls.less,public:th_firework_holidays.less,public:th_lastPostAv.less,public:th_snow_holidays.less,public:th_winter_holidays.less,public:xc_user_activity.less,public:xfmg_media_list.less,public:extra.less"
    ["s"] => string(2) "24"
    ["l"] => string(1) "1"
    ["d"] => string(10) "1514043850"
    ["k"] => string(40) "fc8fc91ba088fecd456874932af753f4f64ed645"
  }
  ["_POST"] => array(0) {
  }
}

not sure about this error, I don't see anything that indicates it would be coming from this add-on, we're not doing anything with media sites, and nothing with our add-on is indicated in the stack trace anywhere

Does a positive reaction increment user's like count ?

Only the reaction that is configured to be a like wrapper will increment the like counts

@Jake B. I am getting Server error log.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'post-1262804-20383' for key 'content_type_id_like_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: krishno Dec 30, 2017 at 5:38 PM

Stack trace

INSERT  INTO `xf_liked_content` (`content_type`, `content_id`, `like_user_id`, `content_user_id`, `is_counted`, `like_id`, `like_date`) VALUES (?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_liked_conten...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Repository/LikedContent.php(94): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(143): XF\Repository\LikedContent->insertLike('post', 1262804, Object(Snog\StyleStats\XF\Entity\User), false)
#8 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(93): ThemeHouse\Reactions\Entity\ReactedContent->toggleLike()
#9 src/XF/Mvc/Entity/Entity.php(1137): ThemeHouse\Reactions\Entity\ReactedContent->_postSave()
#10 src/addons/ThemeHouse/Reactions/Repository/ReactedContent.php(101): XF\Mvc\Entity\Entity->save()
#11 src/addons/ThemeHouse/Reactions/ControllerPlugin/React.php(22): ThemeHouse\Reactions\Repository\ReactedContent->insertReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#12 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(27): ThemeHouse\Reactions\ControllerPlugin\React->actionToggleReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent), 'insert')
#13 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#15 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#17 src/XF.php(328): XF\App->run()
#18 index.php(13): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state

array(4) {
  ["url"] => string(31) "/reactions/react/post/1262804/2"
  ["referrer"] => string(49) "/threads/43713/page-156"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(23) "/threads/43713/page-156"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Will have a look into this, not sure why this would be happening as we're explicitly checking if a like already exists before we attempt to insert it, so there may be some unexpected data in your database. Will see if we can work around this.

I've encountered some problems with alignment on the thread list page, thought I'd screenshot it!

This occurs on default, UI.X, and my custom theme. Can we get this area to play nice?

Note: Ignore the lines in the photo below, they were left over fireworks lol

Thanks!

View attachment 165514

This may be from a change we made in a recent update, will have a look!

Server error also to report:

  • Error: Call to undefined method ThemeHouse\Reactions\React\Post::getReactions()
  • src/addons/ThemeHouse/Reactions/Pub/Controller/React.php:99

Stack trace
#0 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(23): ThemeHouse\Reactions\Pub\Controller\React->verifyReactionId(Object(XFMG\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#1 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
["url"] => string(32) "/reactions/react/post/1140503/43"
["referrer"] => string(58) "URL REMOVED"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(39) "URL REMOVED"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Will have a look at this and get back to you as well!

It looks like it has something to do with All Rich Usernames being involved. Not sure but it references the add-on in the stack trace.

It also says:

news_feed_item_post_react is unknown src/XF/Template/Templater.php:564

So I assume its regarding reactions

Not related to all rich usernames, this type of error should definitely be expected when disabling the add-on, but not on uninstall. Looks like we just aren't removing items from the news feed when uninstalling, will get this sorted in an update, but in the mean time you can run this query to get rid of them:

delete from xf_news_feed where action='react';

I almost wonder if XF should silently ignore these rather than displaying an error (mainly in the case of a disabled add-on, as these should have been removed on uninstall)
 
Bug?

After editing someone's post, I can't immediately react to that post once the edit is finalized. I have to refresh the page?

This is a known issue, it's due to the way the item is selected with jQuery since the element doesn't exist on the page on when the DOM is initially loaded. We're currently working on a fix for this :)
 
OK another issue I've run into...

With this add-on enabled, in the Admin CP I get a request to run manual rebuild jobs.

When clicked, it seems to run a "user react count" recount?

I tested with both 128M and 256M memory permitted in the php.ini file, and it errors out about 5-10 seconds after running that "user react count" recount?

Here is the error from the error_log:

PHP.INI set at 128M memory size:
[02-Jan-2018 17:08:24 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /home/wtf/public_html/src/XF/Db/Mysqli/Statement.php on line 113

PHP.INI set at 256M memory size:
[02-Jan-2018 17:29:19 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in /home/wtf/public_html/src/XF/Db/Mysqli/Statement.php on line 113

The notice in the Admin CP then vanishes, and reoccurs about 10 or so minutes later and if you click it, the same results occur. Its all an endless loop.

We imported from Post Ratings days ago, and there were no errors at that time that I am aware of. All old threads seem to have their proper ratings.

Any thoughts? Would love to kill this gremlin. Thanks!
 
This rebuild would have been queued after the import was complete, with a lot of users the import will take quite some time to run and there is a lot of data being manipulated, so I'd recommend updating your memory limit to 512M while running it, and you can later lower it back to 128M if you'd like. We may make a change to this rebuild job to decrease the number of users it processes per load by default
 
This rebuild would have been queued after the import was complete, with a lot of users the import will take quite some time to run and there is a lot of data being manipulated, so I'd recommend updating your memory limit to 512M while running it, and you can later lower it back to 128M if you'd like. We may make a change to this rebuild job to decrease the number of users it processes per load by default

Really appreciate that, Jake. Will attempt, and report back!
 
This rebuild would have been queued after the import was complete, with a lot of users the import will take quite some time to run and there is a lot of data being manipulated, so I'd recommend updating your memory limit to 512M while running it, and you can later lower it back to 128M if you'd like. We may make a change to this rebuild job to decrease the number of users it processes per load by default

OK, I ran it with 512M and it seemed to complete in 10-15 seconds.. That was very quick.

Would you recommend I recount anything else in cron entries?
 
Generally you should be good to go, you can run "Convert likes to reactions" in case some of your normal XF likes don't match up with Reactions :)
 
@Jake B. I am also getting this error log.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'post-1125727-20231' for key 'content_type_id_like_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: Jajm Jan 2, 2018 at 7:18 PM

Stack trace

INSERT  INTO `xf_liked_content` (`content_type`, `content_id`, `like_user_id`, `content_user_id`, `is_counted`, `like_id`, `like_date`) VALUES (?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_liked_conten...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Repository/LikedContent.php(94): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(143): XF\Repository\LikedContent->insertLike('post', 1125727, Object(Datio\AllowedEmails\XF\Entity\User), false)
#8 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(93): ThemeHouse\Reactions\Entity\ReactedContent->toggleLike()
#9 src/XF/Mvc/Entity/Entity.php(1137): ThemeHouse\Reactions\Entity\ReactedContent->_postSave()
#10 src/addons/ThemeHouse/Reactions/Repository/ReactedContent.php(101): XF\Mvc\Entity\Entity->save()
#11 src/addons/ThemeHouse/Reactions/ControllerPlugin/React.php(22): ThemeHouse\Reactions\Repository\ReactedContent->insertReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#12 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(27): ThemeHouse\Reactions\ControllerPlugin\React->actionToggleReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent), 'insert')
#13 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#15 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#17 src/XF.php(328): XF\App->run()
#18 index.php(13): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state

array(4) {
  ["url"] => string(31) "/reactions/react/post/1125727/2"
  ["referrer"] => string(47) "/threads/28684/page-8"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(21) "/threads/28684/page-8"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
@Jake B. I am also getting this error log.

Code:
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry 'post-1125727-20231' for key 'content_type_id_like_user_id' src/XF/Db/AbstractStatement.php:212

Generated by: Jajm Jan 2, 2018 at 7:18 PM

Stack trace

INSERT  INTO `xf_liked_content` (`content_type`, `content_id`, `like_user_id`, `content_user_id`, `is_counted`, `like_id`, `like_date`) VALUES (?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(174): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(69): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(74): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(150): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1381): XF\Db\AbstractAdapter->insert('xf_liked_conten...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1113): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Repository/LikedContent.php(94): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(143): XF\Repository\LikedContent->insertLike('post', 1125727, Object(Datio\AllowedEmails\XF\Entity\User), false)
#8 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(93): ThemeHouse\Reactions\Entity\ReactedContent->toggleLike()
#9 src/XF/Mvc/Entity/Entity.php(1137): ThemeHouse\Reactions\Entity\ReactedContent->_postSave()
#10 src/addons/ThemeHouse/Reactions/Repository/ReactedContent.php(101): XF\Mvc\Entity\Entity->save()
#11 src/addons/ThemeHouse/Reactions/ControllerPlugin/React.php(22): ThemeHouse\Reactions\Repository\ReactedContent->insertReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent))
#12 src/addons/ThemeHouse/Reactions/Pub/Controller/React.php(27): ThemeHouse\Reactions\ControllerPlugin\React->actionToggleReact(Object(haydric\toRights\XF\Entity\Post), Object(ThemeHouse\Reactions\Entity\ReactedContent), 'insert')
#13 src/XF/Mvc/Dispatcher.php(249): ThemeHouse\Reactions\Pub\Controller\React->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('ThemeHouse\\Reac...', 'React', 'json', Object(XF\Mvc\ParameterBag), 'reactions', Object(ThemeHouse\Reactions\Pub\Controller\React), NULL)
#15 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#17 src/XF.php(328): XF\App->run()
#18 index.php(13): XF::runApp('XF\\Pub\\App')
#19 {main}

Request state

array(4) {
  ["url"] => string(31) "/reactions/react/post/1125727/2"
  ["referrer"] => string(47) "/threads/28684/page-8"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(21) "/threads/28684/page-8"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Yep, that's the same error you had reported before. We're looking into it
 
Not related to all rich usernames, this type of error should definitely be expected when disabling the add-on, but not on uninstall. Looks like we just aren't removing items from the news feed when uninstalling, will get this sorted in an update, but in the mean time you can run this query to get rid of them:

delete from xf_news_feed where action='react';

I almost wonder if XF should silently ignore these rather than displaying an error (mainly in the case of a disabled add-on, as these should have been removed on uninstall)

Okay I ran the query through phpmyadmin. Hopefully it was the right one.

Thanks for the fix. I'll let you know if I get the error again. Also thanks for sorting it out on an update just in case I was to install it again.

I may install it later on if you do the features you had suggested with notable members and things like that. Maybe possibly adding more like handlers later on. For now I'm happy without the add-on but I'll continue to view the add-ons progress and may opt. for it again at some point. Thanks.
 
@Jake B. Looking to have certain reactions for 1st post only. And also reactions for all posts other than 1st post.

Possible?
 
Bug Report: If you hover your mouse and move, especially left and right a few times across the default up/down reaction trigger image it affects ALL of the pages links with dimming oddities. Do it a few times over and over, happens with UI.X but wasn't sure if it was due to that OR Reactions. :) Its very visible depending on what your link color is, you have to look closely. It does not occur the other way (hovering over any other links does not effect the reaction trigger image).

Hope that can get fixed. :)
 
Could record a video fo what you're referring to? Can use licecap or something similar to make a gif as well
 
Top Bottom