Fixed New Installation Problem (2.1.0 Beta 3)

Affected version
2.1.0 Beta 3

robdog

Well-known member
Code:
TypeError: Argument 1 passed to XF\Str\Formatter::setCensorRules() must be of the type array, null given, called in /var/www/public/src/XF/App.php on line 1339 in src/XF/Str/Formatter.php at line 60
XF\Str\Formatter->setCensorRules() in src/XF/App.php at line 1339
XF\App->XF\{closure}() in src/XF/Container.php at line 28
XF\Container->offsetGet() in src/XF/App.php at line 2651
XF\App->stringFormatter() in src/XF/Util/Php.php at line 352
XF\Util\Php::camelCase() in src/XF/Mvc/Entity/Entity.php at line 753
XF\Mvc\Entity\Entity->_verifyValueCustom() in src/XF/Mvc/Entity/Entity.php at line 607
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 542
XF\Mvc\Entity\Entity->__set() in src/XF/Entity/AdminNavigation.php at line 142
XF\Entity\AdminNavigation->_setupDefaults() in src/XF/Mvc/Entity/Entity.php at line 89
XF\Mvc\Entity\Entity->__construct() in src/XF/Mvc/Entity/Manager.php at line 684
XF\Mvc\Entity\Manager->instantiateEntity() in src/XF/Mvc/Entity/Manager.php at line 106
XF\Mvc\Entity\Manager->create() in src/XF/AddOn/DataType/AbstractDataType.php at line 325
XF\AddOn\DataType\AbstractDataType->create() in src/XF/AddOn/DataType/AdminNavigation.php at line 64
XF\AddOn\DataType\AdminNavigation->importAddOnData() in src/XF/Job/AddOnData.php at line 106
XF\Job\AddOnData->run() in src/XF/Job/Atomic.php at line 38
XF\Job\Atomic->run() in src/XF/Job/Manager.php at line 253
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 146
XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24
XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Install.php at line 196
XF\Install\Controller\Install->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2151
XF\App->run() in src/XF.php at line 392
XF::runApp() in install/index.php at line 14
If I took out the "array" constraint from the function property it worked fine.
 

Chris D

XenForo developer
Staff member
Do you have any sort of caching enabled in config.php and if so, which type of caching is it?
 

robdog

Well-known member
Do you have any sort of caching enabled in config.php and if so, which type of caching is it?
Code:
$config['cache']['enabled'] = false;
$config['cache']['sessions'] = false;
$config['cache']['config'] = [
    'servers' => [
        ['localhost', 11211, 33]
    ]
];
 

Chris D

XenForo developer
Staff member
We have just released Beta 4 to address this issue :)

 
Top