XF 2.2 after migrating forum got memecached fatal error

PabloC

Member
I am no expert at all, so I hope you could help me. I migrated my forum from a dedicated server to a hosting account, and i got this error

[21-Nov-2023 14:29:14 UTC] PHP Fatal error: Uncaught LogicException: Cannot load Memcached cache provider without Memcached in /home/u518606939/domains/todogatos.com/public_html/src/XF/CacheFactory.php:160
Stack trace:
#0 /home/u518606939/domains/todogatos.com/public_html/src/XF/CacheFactory.php(79): XF\CacheFactory->createMemcachedCache(Array)
#1 /home/u518606939/domains/todogatos.com/public_html/src/XF/CacheFactory.php(34): XF\CacheFactory->instantiate('Memcached', Array)
#2 /home/u518606939/domains/todogatos.com/public_html/src/XF/App.php(687): XF\CacheFactory->create('Memcached', Array)
#3 /home/u518606939/domains/todogatos.com/public_html/src/XF/Container.php(228): XF\App->XF\{closure}('', Array, Object(XF\Container))
#4 /home/u518606939/domains/todogatos.com/public_html/src/XF/App.php(2491): XF\Container->create('cache', '')
#5 /home/u518606939/domains/todogatos.com/public_html/src/XF/App.php(714): XF\App->cache('registry')
#6 /home/u518606939/domains/todogatos.com/public_html/src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
# in /home/u518606939/domains/todogatos.com/public_html/src/XF/CacheFactory.php on line 160

could anyone guide me on how to solve it?

Thanks!
 
Thanks!!

this is what I have in config.php

$config['superAdmins'] = '1';
$config['enableLivePayments'] = false;
$config['enableAddOnArchiveInstaller'] = true;
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Memcached';
$config['enableTfa'] = false;
$config['cache']['config'] = [
'server' => '127.0.0.1'

do I change this
$config['cache']['enabled'] = true;
to false? that's all?

or do I delete this line?
$config['cache']['provider'] = 'Memcached';
 
Thanks!!

this is what I have in config.php

$config['superAdmins'] = '1';
$config['enableLivePayments'] = false;
$config['enableAddOnArchiveInstaller'] = true;
$config['cache']['enabled'] = true;
$config['cache']['provider'] = 'Memcached';
$config['enableTfa'] = false;
$config['cache']['config'] = [
'server' => '127.0.0.1'

do I change this
$config['cache']['enabled'] = true;
to false? that's all?

or do I delete this line?
$config['cache']['provider'] = 'Memcached';
Redis can act like memcached, BTW. Works VERY well Xenforo.
 
Back
Top Bottom