Hi
when I enabled memcache in my settings.php, I got this error:

Warning: Missing argument 2 for variable_get(), called in /home/users/somvprahe.sk/web/www/sites/all/modules/memcache/memcache.inc on line 20 and defined in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 583

Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 725

Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/users/somvprahe.sk/web/www/includes/bootstrap.inc:583) in /home/users/somvprahe.sk/web/www/includes/bootstrap.inc on line 728

Fatal error: Call to undefined function filter_xss() in /home/users/somvprahe.sk/web/www/includes/common.inc on line 655

Can you please suggest to me, if there is something what I can do with this, or it is a bug in the module?
Thanks
Igor

Comments

pounard’s picture

Status: Active » Postponed (maintainer needs more info)

Did you apply the memcache patch provided? If yes, then it may probably need to be updated.

igorik’s picture

no, I didn't notice that there is a patch. I will look on it again.

pounard’s picture

It's written in the documentation, it's only because the Memcache backend uses $conf variables, so they actually do variable_get() calls inside it (where other backends usually don't).

pounard’s picture

Please tell me if it fixes the problem, if so I could close this issue, if not then I'd update the patch.

igorik’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

hi, it fixed problem, thanks a lot.