XF2 [8WR] Member Utilities

XF2 [8WR] Member Utilities [Paid] 2.2.0.1

No permission to buy ($20.00)
Edit: Upgraded Forum to 2.0.2 and reinstalled AddOn, no change.

I have a problem. After installation and setting "Moderate MAD Reports:" YES I get this error:

Code:
[LIST]
[*]ErrorException: [E_RECOVERABLE_ERROR] Argument 1 passed to EWR\Member\Listener\App::EWR\Member\Listener\{closure}() must be an instance of EWR\Member\Listener\Container, instance of XF\Container given, called in /mnt/web217/a2/46/52564746/htdocs/___SotA/Forum/src/XF/App.php on line 1406 and defined
[*]src/addons/EWR/Member/Listener/App.php:10
[*]Generated by: Spawn
[*]Feb 2, 2018 at 8:23 PM
[/LIST]
Stack trace

#0 src/addons/EWR/Member/Listener/App.php(10): XF::handlePhpError(4096, 'Argument 1 pass...', '/mnt/web217/a2/...', 10, Array)
#1 src/XF/App.php(1406): EWR\Member\Listener\App::EWR\Member\Listener\{closure}(Object(XF\Container), 'madCounts')
#2 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(2716): XF\Container->offsetGet('madCounts')
#4 src/addons/EWR/Member/Listener/App.php(19): XF\App->container('madCounts')
#5 [internal function]: EWR\Member\Listener\App::pubStartEnd(Object(XF\Pub\App))
#6 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#7 src/XF/App.php(2350): XF\Extension->fire('app_pub_start_e...', Array, NULL)
#8 src/XF/Pub/App.php(125): XF\App->fire('app_pub_start_e...', Array)
#9 src/XF/App.php(1885): XF\Pub\App->start(true)
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}



Request state



array(4) {
  ["url"] => string(16) "/Forum/index.php"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
Its a new installation.
I have a phpBB3 Forum, but I want to change to XenForo.
So far, I have only installed very few Add-Ons and did some testing.

I disabled all Add-Ons, but nothing changed.
XenForo_InstalledAddOns.webp
 
I was able to narrow down the problem.
It occurs with MS Edge on the front page. Admin page is ok.
With Chrome, all is fine. No entry in Server error log.
Edit: After installation and some testing with Snogs Social Groups AddOn, the problem solved itself. Dont know why, :unsure: but atm all is ok.
 
Last edited:
Upgraded Forum to 2.0.2 and reinstalled AddOn, no change.

I have a problem. After installation and setting "Moderate MAD Reports:" YES I get this error:
Yup, same issue, the moment I activate to moderate MAD reports, it breaks the frontend, showing the error, and I get this error logged.

Code:
Server error log
[LIST]
[*]TypeError: Argument 1 passed to EWR\Member\Listener\App::EWR\Member\Listener\{closure}() must be an instance of EWR\Member\Listener\Container, instance of XF\Container given, called in /var/www/myptsd/html/src/XF/App.php on line 1406
[*] 
[*]src/addons/EWR/Member/Listener/App.php:10
[*]Generated by: anthony
[*] 
[*]Feb 15, 2018 at 11:54 AM
[/LIST]
Stack trace
#0 src/XF/App.php(1406): EWR\Member\Listener\App::EWR\Member\Listener\{closure}(Object(XF\Container), 'madCounts')
#1 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(2716): XF\Container->offsetGet('madCounts')
#3 src/addons/EWR/Member/Listener/App.php(19): XF\App->container('madCounts')
#4 [internal function]: EWR\Member\Listener\App::pubStartEnd(Object(XF\Pub\App))
#5 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#6 src/XF/App.php(2350): XF\Extension->fire('app_pub_start_e...', Array, NULL)
#7 src/XF/Pub/App.php(125): XF\App->fire('app_pub_start_e...', Array)
#8 src/XF/App.php(1885): XF\Pub\App->start(true)
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Open up EWR\Member\Listener\App.php

Find: (line 10)
Code:
function(Container $c)
Replace with:
Code:
function(\XF\Container $c)

Tell me if that fixes it.
 
Sorry to bother you, but where is set so I can merge?
I remember looking into it, but can't remember exactly which file it was..

99% certain it was a .xml file (templates.xml maybe?), and you'd basically have to do "fake updates" on all 8WR modifications to achieve it, and re-do the edit on all future updates.
 
I remember looking into it, but can't remember exactly which file it was..

99% certain it was a .xml file (templates.xml maybe?), and you'd basically have to do "fake updates" on all 8WR modifications to achieve it, and re-do the edit on all future updates.

thanks for the reply. i'll check into it
 
The username change, should it not already have 1 available? Right now you have to wait the set time, so if you set it for once a year a member must wait one year from registration to change a mistake. Should it not be ready to change, then when changed, begin counting?

Also... how do I get rid of the "was x username" from the title?
 
Also, I seem to be doing something wrong with Multiple account detection: I whitelisted two users that share a computer, but I still get detections every time one of them logs in. Any suggestions? Thanks!
 
If multiple account detection use standart XenForo report system, why i can't "resolve" detection? I can only remove it, or whitelist. But if I want to hide the report until the next detection, I can't do it.
 
Top Bottom