XF 2.1 Error while loading the forum and the acp

alsoGAMER

Member
Fatal error: Uncaught TypeError: Argument 1 passed to XF\Extension::__construct() must be of the type array, bool given, called in /var/www/mc-security/src/XF/App.php on line 1452 and defined in /var/www/mc-security/src/XF/Extension.php:12 Stack trace: #0 /var/www/mc-security/src/XF/App.php(1452): XF\Extension->__construct(false, false) #1 /var/www/mc-security/src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container)) #2 /var/www/mc-security/src/XF/App.php(2633): XF\Container->offsetGet('extension') #3 /var/www/mc-security/src/XF/App.php(2661): XF\App->extension() #4 /var/www/mc-security/src/XF/App.php(1027): XF\App->extendClass('XF\\FsMounts') #5 /var/www/mc-security/src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container)) #6 /var/www/mc-security/src/XF/App.php(2409): XF\Container->offsetGet('fs') #7 /var/www/mc-security/src/XF.php(702): XF\App->fs() #8 /var/www/mc-security/src/XF/Util/File.php(724): XF::fs() #9 /var/www/mc-security/src/XF/Error.php(100): XF\Util\File::installLockExists() #10 /var/w in /var/www/mc-security/src/XF/Extension.php on line 12

Fatal error
: Uncaught TypeError: Argument 1 passed to XF\Extension::__construct() must be of the type array, bool given, called in /var/www/mc-security/src/XF/App.php on line 1452 and defined in /var/www/mc-security/src/XF/Extension.php:12 Stack trace: #0 /var/www/mc-security/src/XF/App.php(1452): XF\Extension->__construct(false, false) #1 /var/www/mc-security/src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container)) #2 /var/www/mc-security/src/XF/App.php(2633): XF\Container->offsetGet('extension') #3 /var/www/mc-security/src/XF/App.php(2661): XF\App->extension() #4 /var/www/mc-security/src/XF/App.php(1027): XF\App->extendClass('XF\\FsMounts') #5 /var/www/mc-security/src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container)) #6 /var/www/mc-security/src/XF/App.php(2409): XF\Container->offsetGet('fs') #7 /var/www/mc-security/src/XF.php(702): XF\App->fs() #8 /var/www/mc-security/src/XF/Util/File.php(724): XF::fs() #9 /var/www/mc-security/src/XF/Error.php(100): XF\Util\File::installLockExists() #10 /var/w in /var/www/mc-security/src/XF/Extension.php on line 12

System infos:
Debian 9.8 x64
PHP 7.3.8-1+0~20190807.43+debian9~1.gbp7731bf (cli) (built: Aug 7 2019 19:46:25) ( NTS )
NGINX 1.10.3
MariaDB Server version: 10.1.38-MariaDB-0+deb9u1 Debian 9.8
Xenforo 2.1.2
 
That's almost impossible... do you have anything in your config.php file relating to the container?

Adding $config['enableListeners'] = false; to your config.php file should allow you to enter your control panel, enabling and then disabling an add-on might fix it (removing that line first).
 
This can happen when the caching layer spits back corrupted data, you may need to disable caching or flush whatever caching solution you are using.
i'm using your caching addon, with redis based view counters and redis backed flood checking, and I've never had any problems so far
 
Back
Top Bottom