XF 2.2 Error : cURL error 35

PhriXion

Member
Hello,


I have a new problem on my XF :

Code:
GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to discord.com:443 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php at line 185
GuzzleHttp\Handler\CurlFactory::createRejection() in src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php at line 149
GuzzleHttp\Handler\CurlFactory::finishError() in src/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php at line 102
GuzzleHttp\Handler\CurlFactory::finish() in src/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php at line 43
GuzzleHttp\Handler\CurlHandler->__invoke() in src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php at line 28
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}() in src/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php at line 51
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}() in src/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php at line 66
GuzzleHttp\PrepareBodyMiddleware->__invoke() in src/vendor/guzzlehttp/guzzle/src/Middleware.php at line 30
GuzzleHttp\Middleware::GuzzleHttp\{closure}() in src/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php at line 70
GuzzleHttp\RedirectMiddleware->__invoke() in src/vendor/guzzlehttp/guzzle/src/Middleware.php at line 60
GuzzleHttp\Middleware::GuzzleHttp\{closure}() in src/vendor/guzzlehttp/guzzle/src/HandlerStack.php at line 67
GuzzleHttp\HandlerStack->__invoke() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 277
GuzzleHttp\Client->transfer() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 125
GuzzleHttp\Client->requestAsync() in src/vendor/guzzlehttp/guzzle/src/Client.php at line 131
GuzzleHttp\Client->request() in src/addons/NF/Discord/Api.php at line 715
NF\Discord\Api->request() in src/addons/NF/Discord/Api.php at line 857
NF\Discord\Api->patch() in src/addons/NF/Discord/Api.php at line 302
NF\Discord\Api->modifyUserNick() in src/addons/NF/Discord/Helper.php at line 158
NF\Discord\Helper->setUserRoles() in src/addons/NF/Discord/Helper.php at line 92
NF\Discord\Helper->setUserServerGroupsByConnectedAccount() in src/addons/NF/Discord/XF/Entity/User.php at line 27
NF\Discord\XF\Entity\User->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
XF\Mvc\FormAction->run() in src/XF/Admin/Controller/User.php at line 516
XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in admin.php at line 13

Screenshot : https://prnt.sc/vb6y1l

Help me please :(
 

PhriXion

Member
I tried to uninstall nixfifty's Discord add-on but couldn't create a new account:
  • XF\Db\Exception: MySQL query error [1364]: Field 'nf_discord_optout' doesn't have a default value
  • src/XF/Db/AbstractStatement.php:228

Code:
INSERT  INTO `xf_user_option` (`content_show_signature`, `show_dob_year`, `show_dob_date`, `receive_admin_email`, `email_on_conversation`, `push_on_conversation`, `creation_watch_state`, `interaction_watch_state`, `user_id`, `is_discouraged`, `alert_optout`, `push_optout`, `use_tfa`, `bs_hp_hide_ip`, `bs_lfs_disable`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1364, 'HY000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1364, 'HY000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1510): XF\Db\AbstractAdapter->insert('xf_user_option', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1242): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Mvc/Entity/Entity.php(1260): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/User/Registration.php(298): XF\Mvc\Entity\Entity->save()
#8 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\User\Registration->_save()
#9 src/XF/Pub/Controller/Register.php(422): XF\Service\User\Registration->save()
#10 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Register->actionRegister(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Register', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Register), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#15 src/XF.php(465): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Statut de la demande
array(4) {
  ["url"] => string(25) "/forums/register/register"
  ["referrer"] => string(25) "https://link.com/forums/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(12) {
    ["username"] => string(0) ""
    ["6556c2fc289106bf1b8168c1e1e9d93018b1ae48"] => string(8) "test0012"
    ["66dbc25f67788dbc9d2e284075ce3619981f22e6"] => string(16) "futures@jjkd.kdd"
    ["599f7d97da935b47839e6b7a4e4baa16099b4a30"] => string(8) "********"
    ["g-recaptcha-response"] => string(505) "03AGdBq25-ALQXVNQ7IE_5ngHI8RUogdguyi7oaFTpUnyoeNjtGjNoPNb_M_LrJCcWBlawZjUEtEm5n5NwxUC3xK3KACyfClQM6GQu-9zC0obmU3mPvom11LkdSgqODXA-rsGOtUXSuaGYI2KDHsvU9jzPBBMVJHNUZ5pmD29-_0RFNT9P9Fd0rxSg8hVTAMcFTWKt99h5gp2q7DyOz5AvPKs5-XDvRiENYdCle0gQ75Hr4geECs86q43ZzJigyQlaJTmA5tY0TRlwrRNjOEaw0UBmMwcKgfERogKYj9C4uHaSzFBBgiL7cCkweSsTUkUIPQzDO1hZOa16bltGNBeHhqjCcWs9ahWUEglR-wiky8wAGNvb8yG4rM8d70TL2mmsd02Z2mu4ydjZYqmr8QVovRSRboj3nFy9pquHH-faVydmqgzPvGQatkI2Y-D2Hkj7KR_htLxPRcUB-vin6pvJasBrI0Izp2K_jI31npzgKnRPkUPh4aMfZGg"
    ["accept"] => string(1) "1"
    ["reg_key"] => string(16) "13WwbmGPp3SDxkxy"
    ["ef7c6122fc9b695039299ce3dd4f2bf341a917e0"] => string(16) "Europe/Amsterdam"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(8) "/forums/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top