XF 2.2 Strange bug on my forum


I've been encountering this strange glitch where I only get server error messages with one user on my forum. This occurs whenever I try to react/quote their posts. I just upgraded to the latest version, and disabled all of my plug-ins, but the issue is still occurring.

Here's the server error log

ErrorException: [E_WARNING] include(/home/customer/www/blingring.club/public_html/src/XF/Error.php): failed to open stream: Too many open files src/vendor/composer/ClassLoader.php:444

Stack trace
#0 src/vendor/composer/ClassLoader.php(444): XF::handlePhpError(2, '[E_WARNING] inc...', '/home/customer/...', 444, Array)
#1 src/vendor/composer/ClassLoader.php(444): include()
#2 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/customer/...')
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass('XF\\Error')
#4 src/XF/App.php(954): spl_autoload_call('XF\\Error')
#5 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#6 src/XF/App.php(2644): XF\Container->offsetGet('error')
#7 src/XF.php(185): XF\App->error()
#8 src/XF/Mvc/Dispatcher.php(230): XF::logException(Object(ErrorException), true)
#9 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->handleControllerError(Object(ErrorException), true, Object(XF\Pub\Controller\Post), Array)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#12 src/XF.php(465): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state
array(4) {
  ["url"] => string(33) "/posts/250935/react?reaction_id=1"
  ["referrer"] => string(37) "https://blingring.club/chat/page-6729"
  ["_GET"] => array(1) {
    ["reaction_id"] => string(1) "1"
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(15) "/chat/page-6729"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"

Does anyone know what could be happening here?


XenForo developer
Staff member
This is generally a server configuration issue. Normally this needs a ulimit change, but your host would generally have to handle that.