XF 2.1 Server Error Occurred - Intermittent Error on Registration

Chris Radford

Active member
We have installed a fresh version of Xenforo 2 to serve as a platform to test and everything appeared to install correctly and the site navigates well.

However, intermittently the following message will occur on the registration page/when someone tries to register.

How can I troubleshoot this to get to the root cause when the issue is not always present?

197732
 
Thanks for the replies; here we go;

  • RuntimeException: GuzzleHttp requires cURL, the allow_url_fopen ini setting, or a custom HTTP handler.
  • src/vendor/guzzlehttp/guzzle/src/functions.php:119
  • Generated by: Unknown account
  • Mar 12, 2019 at 1:26 PM

Stack Trace
Code:
#0 src/vendor/guzzlehttp/guzzle/src/HandlerStack.php(40): GuzzleHttp\choose_handler()
#1 src/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create()
#2 src/XF/SubContainer/Http.php(100): GuzzleHttp\Client->__construct(Array)
#3 src/XF/SubContainer/Http.php(13): XF\SubContainer\Http->createClient()
#4 src/XF/Container.php(28): XF\SubContainer\Http->XF\SubContainer\{closure}(Object(XF\Container))
#5 src/XF/SubContainer/Http.php(112): XF\Container->offsetGet('client')
#6 src/XF/Captcha/ReCaptcha.php(75): XF\SubContainer\Http->client()
#7 src/XF/Mvc/Controller.php(810): XF\Captcha\ReCaptcha->isValid()
#8 src/XF/Pub/Controller/Register.php(405): XF\Mvc\Controller->captchaIsValid()
#9 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#11 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#12 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#14 src/XF.php(390): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}

Request State
Code:
array(4) {
  ["url"] => string(34) "/forum/index.php?register/register"
  ["referrer"] => string(39) "http://iptvreviews.info/forum/index.php"
  ["_GET"] => array(1) {
    ["register/register"] => string(0) ""
  }
  ["_POST"] => array(15) {
    ["username"] => string(0) ""
    ["098ef1171e76d52dabb2a26a98a9717aa8934414"] => string(13) "Paulallward87"
    ["387d346f5e302adf15871aef238eb58716b2b38a"] => string(0) ""
    ["01f38e5cfa50e355c6abfefad6be1f956f505465"] => string(26) "paul_allward@hotmail.co.uk"
    ["email"] => string(0) ""
    ["password"] => string(8) "********"
    ["92c68fa974d3f7c0ca8be5e5d32874532b3166d8"] => string(8) "********"
    ["g-recaptcha-response"] => string(398) "03AOLTBLS-3oR1TxpN-WOG2Nkv11yuBhs-nrVSYyzXYhPn3sfP8nBn6Drw1N8LVBDngbaVqPWug-muV57Df4t-KzUTVg5qgiXpT1QLnuEPuOrgq6oc0RowvGOGsXua7ruggt3WMh6QbLX4jGK7g6NRECl5qHUlWC2kmtUfWUXX61AnqlCmWy6sdPWwkmFiZuXs22t1MHRhtakPQEtcIJsw2dNE1sQxSEjvxm9Ei13imxrsqjsxGs5GW2wBZVuki8YW1BFFKASo5ScCj3bZ4c1PJcLd56vJXoHE_0skedJXHvN-XVx1VH2X5qMaEoVo0uy_L7i0Kv6ZhiQYPSKe9uHVMJjswARqMT-AnRT41loBiOzu4WKujn91Z0FVVezKCp9XU3Xm8avvZ4BL"
    ["accept"] => string(1) "1"
    ["reg_key"] => string(16) "9ONdDPvqMUHoKTgC"
    ["0304f3359a3af21c29e73117867210aa1d279534"] => string(13) "Europe/London"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(16) "/forum/index.php"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Ask your host to install cURL.

Or if it is already installed, ask them to investigate why there are intermittent failures related to it.
 
Back
Top Bottom