- Affected version
- 2.3 Beta 1
Upgraded from 2.2.15 to the 2.3 beta 1 on a test server from the command line and get this error.
PHP 8.2.15
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "host" in src/XF/CacheFactory.php on line 192
#0 src/XF/CacheFactory.php(192): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 192)
#1 src/XF/CacheFactory.php(116): XF\CacheFactory->createMemcachedCache(Array)
#2 src/XF/CacheFactory.php(44): XF\CacheFactory->instantiate('Memcached', Array)
#3 src/XF/App.php(725): XF\CacheFactory->create('Memcached', Array, false)
#4 src/XF/Container.php(231): XF\App->XF\{closure}('', Array, Object(XF\Container))
#5 src/XF/App.php(2772): XF\Container->create('cache', '', Array)
#6 src/XF/App.php(756): XF\App->cache('registry', true, false)
#7 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#8 src/XF/Install/App.php(73): XF\Container->offsetGet('registry')
#9 src/XF/Container.php(31): XF\Install\App->XF\Install\{closure}(Object(XF\Container))
#10 src/XF/App.php(2561): XF\Container->offsetGet('addon.composer')
#11 src/XF/Install/App.php(160): XF\App->setupAddOnComposerAutoload()
#12 src/XF.php(505): XF\Install\App->setup(Array)
#13 src/XF/Cli/Runner.php(54): XF::setupApp('XF\\Install\\App')
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}
PHP 8.2.15
An exception occurred: [ErrorException] [E_WARNING] Undefined array key "host" in src/XF/CacheFactory.php on line 192
#0 src/XF/CacheFactory.php(192): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 192)
#1 src/XF/CacheFactory.php(116): XF\CacheFactory->createMemcachedCache(Array)
#2 src/XF/CacheFactory.php(44): XF\CacheFactory->instantiate('Memcached', Array)
#3 src/XF/App.php(725): XF\CacheFactory->create('Memcached', Array, false)
#4 src/XF/Container.php(231): XF\App->XF\{closure}('', Array, Object(XF\Container))
#5 src/XF/App.php(2772): XF\Container->create('cache', '', Array)
#6 src/XF/App.php(756): XF\App->cache('registry', true, false)
#7 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#8 src/XF/Install/App.php(73): XF\Container->offsetGet('registry')
#9 src/XF/Container.php(31): XF\Install\App->XF\Install\{closure}(Object(XF\Container))
#10 src/XF/App.php(2561): XF\Container->offsetGet('addon.composer')
#11 src/XF/Install/App.php(160): XF\App->setupAddOnComposerAutoload()
#12 src/XF.php(505): XF\Install\App->setup(Array)
#13 src/XF/Cli/Runner.php(54): XF::setupApp('XF\\Install\\App')
#14 cmd.php(15): XF\Cli\Runner->run()
#15 {main}