Report Improvements by Xon

Report Improvements by Xon 2.18.3

No permission to download
Thanks! So it's not native to Xenforo, then?
Correct.
When installing this addon, there are some warnings:
This add-on introduces potentially breaking changes to moderation permissions. Please review usergroup permissions carefully!

Should I worry about these if I uninstall the addon down the road? Will the changes made upon installation, be simply reversed if I uninstall, especially the logs?
This add-on adds the "report center" permission group to control how report center features work while XenForo uses the 'is moderator' flag and implicitly grants access based on random permissions. Removing the add-on will just default to XenForo standard behavior.

Can you explain this one?

Note; when reports are sent to a forum, the warning<->report links can not be created!
If you aren't using the report center, most of this add-on can't function.
 
Nope. This add-on doesn't allow deleting reports or report comments.

Doing so via SQL isn't terrible hard.
 
error

Code:
Error: Call to a member function isValidGetter() on null in src/addons/SV/ReportImprovements/Service/WarningLog/Creator.php at line 239
[LIST=1]
[*]SV\ReportImprovements\Service\WarningLog\Creator->getWarnedContentPublicBanner() in src/addons/SV/ReportImprovements/Service/WarningLog/Creator.php at line 274
[*]SV\ReportImprovements\Service\WarningLog\Creator->setupDefaultsForWarning() in src/addons/SV/ReportImprovements/Service/WarningLog/Creator.php at line 172
[*]SV\ReportImprovements\Service\WarningLog\Creator->setupDefaults() in src/addons/SV/ReportImprovements/Service/WarningLog/Creator.php at line 85
[*]SV\ReportImprovements\Service\WarningLog\Creator->__construct() in src/XF/Container.php at line 276
[*]XF\Container->createObject() in src/XF/App.php at line 1725
[*]XF\App->XF\{closure}() in src/XF/Container.php at line 234
[*]XF\Container->create() in src/XF/App.php at line 3158
[*]XF\App->service() in src/addons/SV/ReportImprovements/Repository/ReportQueue.php at line 193
[*]SV\ReportImprovements\Repository\ReportQueue->SV\ReportImprovements\Repository\{closure}() in src/XF.php at line 625
[*]XF::asVisitor() in src/addons/SV/ReportImprovements/Repository/ReportQueue.php at line 205
[*]SV\ReportImprovements\Repository\ReportQueue->logToReport() in src/addons/SV/ReportImprovements/Behavior/ReportResolver.php at line 173
[*]SV\ReportImprovements\Behavior\ReportResolver->logToReport() in src/addons/SV/ReportImprovements/Behavior/ReportResolver.php at line 68
[*]SV\ReportImprovements\Behavior\ReportResolver->postDelete() in src/XF/Mvc/Entity/Entity.php at line 1663
[*]XF\Mvc\Entity\Entity->delete() in src/XF/ControllerPlugin/Delete.php at line 18
[*]XF\ControllerPlugin\Delete->actionDelete() in src/addons/SV/WarningImprovements/XF/Pub/Controller/Warning.php at line 44
[*]SV\WarningImprovements\XF\Pub\Controller\Warning->actionDelete() in src/addons/SV/ReportImprovements/XF/Pub/Controller/Warning.php at line 43
[*]SV\ReportImprovements\XF\Pub\Controller\Warning->actionDelete() in src/XF/Mvc/Dispatcher.php at line 352
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
[*]XF\App->run() in src/XF.php at line 524
[*]XF::runApp() in index.php at line 20
[/LIST]

Got this from deleting a legacy warning on a test account in my local sandbox environment.
 
My reports are cutting off the area at the bottom where you take actions. So I can't do anything with the reports. I tried uninstalling and reinstalling this latest bug fix (2.13.3) but I'm having the same behavior.
 
Did you check you've assigned the relevant permissions? The add-on tries to configure defaults, but this doesn't work in all situations.
 
ErrorException: Fatal Error: Declaration of SV\ElasticSearchEssentials\Search\Data\ReportComment::getTypePermissionConstraints(XF\Search\Query\Query $query, $isOnlyType) must be compatible with SV\ReportImprovements\Search\Data\ReportComment::getTypePermissionConstraints(XF\Search\Query\Query $query, $isOnlyType): array src/addons/SV/ElasticSearchEssentials/Search/Data/ReportComment.php:23

What did i do wrong? Though everything was up2date! :D
 
TypeError: Return value of SV\ReportImprovements\Search\Data\Report::getMessage() must be of the type string, null returned in src/addons/SV/ReportImprovements/Search/Data/Report.php at line 140
  1. SV\ReportImprovements\Search\Data\Report->getMessage() in src/addons/SV/ReportImprovements/Search/Data/Report.php at line 120
  2. SV\ReportImprovements\Search\Data\Report->getIndexData() in src/XF/Search/Search.php at line 39
  3. XF\Search\Search->index() in src/addons/SV/SearchImprovements/XF/Search/SearchPatch.php at line 119
  4. SV\SearchImprovements\XF\Search\SearchPatch->index() in src/addons/SV/ElasticSearchEssentials/XF/Search/Search.php at line 83
  5. SV\ElasticSearchEssentials\XF\Search\Search->index() in src/XF/Behavior/Indexable.php at line 48
  6. XF\Behavior\Indexable->XF\Behavior\{closure}() in src/XF.php at line 377
  7. XF::triggerRunOnce() in src/XF/Job/Atomic.php at line 58
  8. XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 260
  9. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  10. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 86
  11. XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 141
  12. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  13. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  14. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2483
  17. XF\App->run() in src/XF.php at line 524
  18. XF::runApp() in admin.php at line 13
 
TypeError: Return value of SV\ReportImprovements\Search\Data\Report::getMessage() must be of the type string, null returned in src/addons/SV/ReportImprovements/Search/Data/Report.php at line 140
This the result of some 3rd party code or really old report with bad cached data. A workaround will be released after the weekend.
 
Just updated 2.13.x -> 2.14.8
ErrorException: [E_WARNING] Attempt to read property "prefix_id" on null src/addons/SV/ReportImprovements/Job/Upgrades/EnrichReportPostInstall.php:63

Code:
Stack trace

#0 src/addons/SV/ReportImprovements/Job/Upgrades/EnrichReportPostInstall.php(63): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/vhosts...', 63)
#1 src/XF/Job/AbstractRebuildJob.php(42): SV\ReportImprovements\Job\Upgrades\EnrichReportPostInstall->rebuildById(2535)
#2 src/XF/Job/Atomic.php(40): XF\Job\AbstractRebuildJob->run(7.29439)
#3 src/XF/Job/Manager.php(260): XF\Job\Atomic->run(8)
#4 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#5 src/XF/Job/Manager.php(118): XF\Job\Manager->runJobEntry(Array, 8)
#6 src/XF/Admin/Controller/Tools.php(122): XF\Job\Manager->runByIds(Array, 8)
#7 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(X0815\ChkTables\XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(X0815\ChkTables\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}

Code:
Request state

array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(51) "https://www.x.com/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(88) "https://www.x.com/admin.php?add-ons/install-from-archive-complete&batch_id=148"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(6) "220633"
  }
}
 
Top Bottom