XF 2.2 Error when uploading a style

Resolute

Active member
I made a mistake on how I uploaded a style. Now I cannot access my forum. I get this:

Code:
Warning: include(/home/customer/www/adminforum.xyz/public_html/src/XF/Util/Php.php): Failed to open stream: Too many open files in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php on line 571

Warning: include(): Failed opening '/home/customer/www/adminforum.xyz/public_html/src/vendor/composer/../../../src/XF/Util/Php.php' for inclusion (include_path='.:/usr/local/php81/pear') in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php on line 571

Warning: include(/home/customer/www/adminforum.xyz/public_html/src/XF/Util/Php.php): Failed to open stream: Too many open files in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php on line 571

Warning: include(): Failed opening '/home/customer/www/adminforum.xyz/public_html/src/vendor/composer/../../../src/XF/Util/Php.php' for inclusion (include_path='.:/usr/local/php81/pear') in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php on line 571

Fatal error: Uncaught Error: Class "XF\Util\Php" not found in /home/customer/www/adminforum.xyz/public_html/src/XF.php:150 Stack trace: #0 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(571): XF::handlePhpError(2, 'include(/home/c...', '/home/customer/...', 571) #1 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(571): include() #2 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/customer/...') #3 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(991): Composer\Autoload\ClassLoader->loadClass('XF\\Error') #4 /home/customer/www/adminforum.xyz/public_html/src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container)) #5 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(2702): XF\Container->offsetGet('error') #6 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(2364): XF\App->error() #7 /home/customer/www/adminforum.xyz/public_html/src/XF.php(202): XF\App->logException(Object(Error), true) #8 [internal function]: XF::handleException(Object(Error)) #9 {main} thrown in /home/customer/www/adminforum.xyz/public_html/src/XF.php on line 150

How do I remove it so i can access my forum again?
 

Resolute

Active member
When I login via that link and click on Styles I get:

(Is there a way to delete the style via FTP?)


Warning: include(/home/customer/www/adminforum.xyz/public_html/src/XF/Util/Php.php): Failed to open stream: Too many open files in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.phpon line 571

Warning
: include(): Failed opening '/home/customer/www/adminforum.xyz/public_html/src/vendor/composer/../../../src/XF/Util/Php.php' for inclusion (include_path='.:/usr/local/php81/pear') in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.phpon line 571

Warning
: include(/home/customer/www/adminforum.xyz/public_html/src/XF/Util/Php.php): Failed to open stream: Too many open files in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.phpon line 571

Warning
: include(): Failed opening '/home/customer/www/adminforum.xyz/public_html/src/vendor/composer/../../../src/XF/Util/Php.php' for inclusion (include_path='.:/usr/local/php81/pear') in /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.phpon line 571

Fatal error
: Uncaught Error: Class "XF\Util\Php" not found in /home/customer/www/adminforum.xyz/public_html/src/XF.php:150 Stack trace: #0 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(571): XF::handlePhpError(2, 'include(/home/c...', '/home/customer/...', 571) #1 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(571): include() #2 /home/customer/www/adminforum.xyz/public_html/src/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/customer/...') #3 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(991): Composer\Autoload\ClassLoader->loadClass('XF\\Error') #4 /home/customer/www/adminforum.xyz/public_html/src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container)) #5 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(2702): XF\Container->offsetGet('error') #6 /home/customer/www/adminforum.xyz/public_html/src/XF/App.php(2364): XF\App->error() #7 /home/customer/www/adminforum.xyz/public_html/src/XF.php(202): XF\App->logException(Object(Error), true) #8 [internal function]: XF::handleException(Object(Error)) #9 {main} thrown in /home/customer/www/adminforum.xyz/public_html/src/XF.php on line 150
 
Top