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

[TH] Reactions [Paid] 1.0.5 Patch Level 4

No permission to buy ($35.00)

ThemeHouse

Well-known member
ThemeHouse updated [TH] Reactions with a new update entry:

Version 1.0.5 Released

Bugs fixed:
  • Fixed error when deleting user
  • Fixed error when rebuilding daily statistics for certain content types
Enhancements:
  • Created a "Dislike" reaction, this is only applied on new installs if you're upgrading and would like to add this reaction you can use styles/themehouse/reactions/dislike.svg as the icon
Read the rest of this update entry...
 

Jake B.

Well-known member
Yep, the convert likes to reactions only inserts the fields for the reaction portion, as long as you keep the "Like wrapper" option checked for one of your reactions any time a user reacts with the "Like" reaction it'll insert as a XenForo like as well, which will continue to work with user promotions and other systems that rely on Likes
 

Nirjonadda

Well-known member
@Jake B. I am doing Rebuilding... "Convert likes to reactions" but can we do new add-on install in admin CP from new tab or other browser?

Rebuilding... Content react count (326195) take to long time to complete because Total Messages is 1,428,582 but does not know that how many like.
 

Jake B.

Well-known member
@Jake B. I am doing Rebuilding... "Convert likes to reactions" but can we do new add-on install in admin CP from new tab or other browser?

Rebuilding... Content react count (326195) take to long time to complete because Total Messages is 1,428,582 but does not know that how many like.
I'm not sure if XenForo 2's system will let you install an add-on in another tab, it definitely won't hurt to try though, worst case scenario is that it pauses or cancels your current rebuild and you have to resume it after installing the add-on :)
 

Nirjonadda

Well-known member
I'm not sure if XenForo 2's system will let you install an add-on in another tab, it definitely won't hurt to try though, worst case scenario is that it pauses or cancels your current rebuild and you have to resume it after installing the add-on :)
Do cancels but how to resume? I am getting lot of Server error logs about [E_NOTICE] Trying to get property of non-object

Code:
ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php:193

Generated by: Nirjon Dec 5, 2017 at 4:13 AM

Stack trace

#0 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(193): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 193, Array)

#1 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(158): ThemeHouse\Reactions\Entity\ReactedContent->adjustUserReactCount(2, 1)

#2 src/addons/ThemeHouse/Reactions/Entity/ReactedContent.php(90): ThemeHouse\Reactions\Entity\ReactedContent->adjustReactCount(1460, 1580, 2, 67057, 'post', 1)

#3 src/XF/Mvc/Entity/Entity.php(1137): ThemeHouse\Reactions\Entity\ReactedContent->_postSave()

#4 src/addons/ThemeHouse/Reactions/Repository/ReactedContent.php(197): XF\Mvc\Entity\Entity->save()

#5 src/addons/ThemeHouse/Reactions/Job/ConvertLike.php(61): ThemeHouse\Reactions\Repository\ReactedContent->convertLikeToReaction(Object(DBTech\Credits\XF\Entity\LikedContent))

#6 src/XF/Job/AbstractRebuildJob.php(47): ThemeHouse\Reactions\Job\ConvertLike->rebuildById(401666)

#7 src/XF/Job/Manager.php(241): XF\Job\AbstractRebuildJob->run(99.999999046326)

#8 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 99.999999046326)

#9 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 99.999999046326)

#10 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 100)

#11 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))

#12 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)

#13 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))

#14 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()

#15 src/XF.php(328): XF\App->run()

#16 admin.php(13): XF::runApp('XF\\Admin\\App')

#17 {main}

Request state

array(4) {

  ["url"] => string(24) "/admin.php?tools/run-job"

  ["referrer"] => string(50) "/admin.php?tools/run-job"

  ["_GET"] => array(1) {

    ["tools/run-job"] => string(0) ""

  }

  ["_POST"] => array(3) {

    ["_xfRedirect"] => string(60) "/admin.php?tools/rebuild&success=1"

    ["_xfToken"] => string(8) "********"

    ["only_ids"] => string(2) "26"

  }

}
 

cmeinck

Well-known member
Receiving the following error when running the Importer. I cancelled and tried again. It seems to fail around 8%.

Code:
InvalidArgumentException: Attempted to convert NULL to integer [content_user_id] in src/XF/Import/Data/EntityEmulator.php at line 79

XF\Import\Data\EntityEmulator->set() in src/XF/Import/Data/AbstractEmulatedData.php at line 24

XF\Import\Data\AbstractEmulatedData->set() in src/XF/Import/Data/AbstractData.php at line 70

XF\Import\Data\AbstractData->bulkSet() in src/addons/ThemeHouse/Reactions/Import/Importer/DarkPostRatings.php at line 157

ThemeHouse\Reactions\Import\Importer\DarkPostRatings->setupImportReactedContent() in src/addons/ThemeHouse/Reactions/Import/Importer/DarkPostRatings.php at line 128

ThemeHouse\Reactions\Import\Importer\DarkPostRatings->stepReactedContent() in src/XF/Import/Runner.php at line 161

XF\Import\Runner->runStep() in src/XF/Import/Runner.php at line 75

XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 231

XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 249

XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89

XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41

XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1879

XF\App->run() in src/XF.php at line 328

XF::runApp() in admin.php at line 13
Any suggestions are greatly appreciated.