[Joomla Fix] Undefined index in /libraries/joomla/cache/storage/memcache.php

Rate this item
(0 votes)
Thursday, 16 May 2013 12:47;
Published in Joomla Tutorials;

You have recently setup a Joomla site and while saving any article, or global configuration page, you are getting an error like, 


 Notice: Undefined index: custom_position in /public_html/administrator/components/com_modules/controllers/module.php on line 96 Fatal error: Call to a member function add() on a non-object in /public_html/libraries/joomla/cache/storage/memcache.php on line 435


This is due to the memcache being enabled. In order to fix it, simply open the configuration.php in a code editor and find this line of code :


Go to the configuration.php file and change this:

public $caching = '0';

public $cache_handler = 'memcache';

public $cachetime = '30';

public $memcache_persist = '1';

public $memcache_compress = '0';

public $memcache_server_host = 'mem';

public $memcache_server_port = '11211';


to this:

public $caching = '0';

public $cache_handler = 'file';

public $cachetime = '15';

Read 2965 times Last modified on Saturday, 03 August 2013 02:38
comments powered by Disqus

We are on Facebook

Tutorials Search