Hello,

Though seems to work properly, we frequently get this notice for cached pages:

Notice: Undefined variable: return in /sites/all/modules/cache/engines/xcache.inc on line 134

and the xcache.ini FYI:

[xcache-common]
zend_extension = /usr/lib/php/modules/xcache.so

[xcache.admin]
xcache.admin.enable_auth = On
xcache.admin.user = "**"
xcache.admin.pass = "**"

[xcache]
xcache.shm_scheme =        "mmap"
xcache.size  =               140M
xcache.count =                 2
xcache.slots =                8K
xcache.ttl   =                 0

xcache.gc_interval =           0

xcache.var_size  =             164M
xcache.var_count =             2
xcache.var_slots =            16K
xcache.var_ttl   =             0
xcache.var_maxttl   =          0
xcache.var_gc_interval =     300

xcache.test =                Off
xcache.readonly_protection = On
xcache.mmap_path =    "/tmp/xcache"
xcache.coredump_directory =   ""

xcache.cacher =               On
xcache.stat   =               On
xcache.optimizer =           Off

[xcache.coverager]
xcache.coverager =          Off

xcache.coveragedump_directory = ""

Reporting.

Thanks in advance.

Xcache 1.3.0, PHP 5.2.10, D6.13

Comments

chawl’s picture

OK, it seems to be related to Domain Access and Panels modules.

We have 3 (sub)domains and their front pages are custom Panels pages, and those are the ones that always gives this notice.

This may be inspiring.

Tx.

chawl’s picture

Status: Active » Fixed

We have migrated from 32bit to PHP 5.2.10-64bit and this notice disappeared.

Odd, but this seems to be fixed by itself.

doq’s picture

Status: Fixed » Active

No, it can occur anyway.

chawl’s picture

First it seemed to disappear, but I rechecked PHP logs and found this again.

Yes, this must be active.

doq’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.