[OzzModz] Email Whitelist

[OzzModz] Email Whitelist 2.0.4

No permission to download

MFA Baybars

Member
[OzzModz] Email Whitelist 2.0.1
XenForo & Add-ons 2.2.0 Beta 4

Code:
ErrorException: [E_NOTICE] Undefined variable: validationResponse src/addons/OzzModz/EmailWhitelist/XF/Entity/User.php:21
Generated by: MFA Aug 29, 2020 at 8:52 PM
Stack trace
#0 src/addons/OzzModz/EmailWhitelist/XF/Entity/User.php(21): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(787): OzzModz\EmailWhitelist\XF\Entity\User->verifyEmail()
#2 src/XF/Mvc/Entity/Entity.php(632): XF\Mvc\Entity\Entity->_verifyValueCustom()
#3 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set()
#4 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet()
#5 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}()
#6 src/XF/Admin/Controller/User.php(516): XF\Mvc\FormAction->run()
#7 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\User->actionSave()
#8 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#11 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#12 src/XF.php(464): XF\App->run()
#13 admin.php(13): XF::runApp()
#14 {main}

Code:
LogicException: Verification method of email did not return a valid indicator (true/false) src/XF/Mvc/Entity/Entity.php:793
Generated by: MFA Aug 29, 2020 at 8:52 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(632): XF\Mvc\Entity\Entity->_verifyValueCustom()
#1 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set()
#2 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet()
#3 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}()
#4 src/XF/Admin/Controller/User.php(516): XF\Mvc\FormAction->run()
#5 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\User->actionSave()
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#9 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#10 src/XF.php(464): XF\App->run()
#11 admin.php(13): XF::runApp()
#12 {main}
 

Ozzy47

Well-known member
Sorry, should be properly fixed in 2.0.2

Got this issue when trying to edit someone profile from AdminCP, had to remove it from my forum.


LogicException: Verification method of email did not return a valid indicator (true/false) in src/XF/Mvc/Entity/Entity.php at line 774
  1. XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 613
  2. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
  3. XF\Mvc\Entity\Entity->bulkSet() in src/XF/Mvc/FormAction.php at line 34
  4. XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 164
  5. XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 511
  6. XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  8. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
  11. XF\App->run() in src/XF.php at line 391
  12. XF::runApp() in admin.php at line 13

[OzzModz] Email Whitelist 2.0.1
XenForo & Add-ons 2.2.0 Beta 4

Code:
ErrorException: [E_NOTICE] Undefined variable: validationResponse src/addons/OzzModz/EmailWhitelist/XF/Entity/User.php:21
Generated by: MFA Aug 29, 2020 at 8:52 PM
Stack trace
#0 src/addons/OzzModz/EmailWhitelist/XF/Entity/User.php(21): XF::handlePhpError()
#1 src/XF/Mvc/Entity/Entity.php(787): OzzModz\EmailWhitelist\XF\Entity\User->verifyEmail()
#2 src/XF/Mvc/Entity/Entity.php(632): XF\Mvc\Entity\Entity->_verifyValueCustom()
#3 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set()
#4 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet()
#5 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}()
#6 src/XF/Admin/Controller/User.php(516): XF\Mvc\FormAction->run()
#7 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\User->actionSave()
#8 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#11 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#12 src/XF.php(464): XF\App->run()
#13 admin.php(13): XF::runApp()
#14 {main}

Code:
LogicException: Verification method of email did not return a valid indicator (true/false) src/XF/Mvc/Entity/Entity.php:793
Generated by: MFA Aug 29, 2020 at 8:52 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(632): XF\Mvc\Entity\Entity->_verifyValueCustom()
#1 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set()
#2 src/XF/Mvc/FormAction.php(34): XF\Mvc\Entity\Entity->bulkSet()
#3 src/XF/Mvc/FormAction.php(164): XF\Mvc\FormAction->XF\Mvc\{closure}()
#4 src/XF/Admin/Controller/User.php(516): XF\Mvc\FormAction->run()
#5 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\User->actionSave()
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#9 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#10 src/XF.php(464): XF\App->run()
#11 admin.php(13): XF::runApp()
#12 {main}
 

Dragonfruit

Well-known member
Yup, it looks like I was able to update an account with a disallowed email domain, from 'valid' to 'awaiting email confirmation' without issue.

Thanks!
 

rdn

Well-known member
Hi,

Is this a bug with this addon?
Running this addon:

Produce this error:
Code:
Server error log

ErrorException: [E_WARNING] Attempt to read property "title" on null src/XF/ModeratorLog/Post.php:61
Generated by: Admin Aug 27, 2021 at 3:40 AM

Stack trace
#0 src/XF/ModeratorLog/Post.php(61): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 61)
#1 src/XF/ModeratorLog/AbstractHandler.php(67): XF\ModeratorLog\Post->setupLogEntityContent(Object(XF\Entity\ModeratorLog), Object(XFES\XF\Entity\Post))
#2 src/XF/ModeratorLog/AbstractHandler.php(47): XF\ModeratorLog\AbstractHandler->log(Object(XFES\XF\Entity\Post), 'edit', Array, Object(OzzModz\EmailWhitelist\XF\Entity\User))
#3 src/XF/ModeratorLog/Logger.php(62): XF\ModeratorLog\AbstractHandler->logChange(Object(XFES\XF\Entity\Post), 'message', '@Manong Chano.....', '[XX='Manong Cha...', Object(OzzModz\EmailWhitelist\XF\Entity\User))
#4 src/XF/Logger.php(47): XF\ModeratorLog\Logger->logChanges('post', Object(XFES\XF\Entity\Post), true)
#5 src/XF/Entity/Post.php(606): XF\Logger->logModeratorChanges('post', Object(XFES\XF\Entity\Post))
#6 src/addons/XFES/XF/Entity/Post.php(9): XF\Entity\Post->_postSave()
#7 src/XF/Mvc/Entity/Entity.php(1266): XFES\XF\Entity\Post->_postSave()
#8 src/XF/Service/Post/Editor.php(187): XF\Mvc\Entity\Entity->save(true, false)
#9 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Post\Editor->_save()
#10 src/addons/XFPR/Admin/Controller/PostReplace.php(59): XF\Service\Post\Editor->save()
#11 src/XF/Mvc/Dispatcher.php(350): XFPR\Admin\Controller\PostReplace->actionReplace(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFPR:postReplac...', 'Replace', Object(XF\Mvc\RouteMatch), Object(XFPR\Admin\Controller\PostReplace), NULL)
#13 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFPR\Admin\Controller\PostReplace), NULL)
#14 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#16 src/XF.php(512): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}

Request state
array(4) {
["url"] => string(31) "/admin.php?post-replace/replace"
["referrer"] => string(44) "[URL]https://xf.com/admin.php?post-replace/[/URL]"
["_GET"] => array(1) {
["post-replace/replace"] => string(0) ""
}
["_POST"] => array(5) {
["quick_find"] => string(5) "[XX='"
["regex"] => string(61) "/([\[XX=']+)([\w\-\s]+)([,\sc:\s\d+,\sm:\s\d+'\]\[\/XX\]]+)/s"
["replace"] => string(5) "@$2.."
["commit"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}
 
Top