Page MenuHomePhabricator

Current code in SVN is unusable because of ObjectCache.php
Closed, ResolvedPublic

Description

Author: seb+wikimedia

Description:
Fatal error: Cannot redeclare wfgetcache() (previously declared in includes/objectcache/ObjectCache.php:18) in includes/objectcache/ObjectCache.php on line 79


Version: unspecified
Severity: blocker

Details

Reference
bz27834

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:31 PM
bzimport set Reference to bz27834.
bzimport added a subscriber: Unknown Object (MLST).

CC'ing tim, i think he was playing with this earlier, something to do with renaming and spilting some things.

Unable to reproduce. Something is loading the file twice?

It's because FakeMemCachedClient was missing, as noted by IAlex on r83136, so the autoloader tries to load the file twice. It's fixed in r83140.

seb+wikimedia wrote:

Commit r83140 by tstarling fixed this issue in ObjectCache.php. Thanks.