[OzzModz] Advanced Forms

[OzzModz] Advanced Forms [Paid] 2.2.6 Beta2

No permission to buy ($40.00)
You must validate your XenForo license to see quoted content


Okay, it's sorted. In the Staff Application under "Types" you had the "Privileges and status " set to Moderator and Administrator as well as logged in and Valid. I removed the Moderator and Administrator. Now the test user can access the form.
 
Bug report for version: 2.0.27

This happens when the post is approved.

Testing Workflow:
I posted a form with my login
I approved the post with my login
Error

I have not tested if other users posts and I approve.

Full error trace:
Code:
#0 src/addons/Snog/Forms/Pub/Controller/Form.php(1491): XF\Service\Conversation\Creator->save()
#1 src/addons/Snog/Forms/Pub/Controller/Form.php(1357): Snog\Forms\Pub\Controller\Form->sendPC('You have been a...', 'Your applicatio...', Object(EWR\Discord\Entity\User), '1SG Benality.G[...', false, false)
#2 src/XF/Mvc/Dispatcher.php(350): Snog\Forms\Pub\Controller\Form->actionApprove(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('Snog\\Forms:Form', 'Approve', Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#7 src/XF.php(391): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}


array(4) {
  ["url"] => string(26) "/index.php?form/78/approve"
  ["referrer"] => string(113) "https://3rdsfg.us/index.php?threads/1sg-benality-g-3sfg-has-submitted-an-application-for-server-administrator.42/"
  ["_GET"] => array(1) {
    ["form/78/approve"] => string(0) ""
  }
  ["_POST"] => array(4) {
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(96) "/index.php?threads/1sg-benality-g-3sfg-has-submitted-an-application-for-server-administrator.42/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
You must validate your XenForo license to see quoted content
The error itself is in the first few lines of the display (above the stack trace) when looking at the error in the admin area...

errorlog.png
 
Imported the example form and getting following error:

  • Error: Call to a member function getUsablePrefixes() on null
  • src/addons/Snog/Forms/Pub/Controller/Form.php:146
  • Generated by: t0daY
  • May 6, 2020 at 1:33 PM
Stack trace
#0 src/XF/Mvc/Dispatcher.php(350): Snog\Forms\Pub\Controller\Form->actionSelect(Object(XF\Mvc\ParameterBag))
#1 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('Snog\\Forms:Form', 'Select', Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#2 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Snog\Forms\Pub\Controller\Form), NULL)
#3 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#5 src/XF.php(391): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state
array(4) {
["url"] => string(26) "/form/sample-form.1/select"
["referrer"] => string(51) "https://revolutionsimracing.com/form/sample-form.1/"
["_GET"] => array(1) {
["/form/sample-form_1/select"] => string(0) ""
}
["_POST"] => array(0) {
}
}

Did I do something wrong? Regards
 
Back
Top