[wp-testers] Fatal error: Cannot redeclare map_meta_cap()

Matt Martz matt at sivel.net
Tue May 18 19:30:58 UTC 2010

On Tue, May 18, 2010 at 2:26 PM, Ed Gray <graynotgrey at gmail.com> wrote:
> *
> After updating to trunk revision 14721, I get the following error when
> attempting to access the site:
> Fatal error*: Cannot redeclare map_meta_cap() (previously declared in
> /homepages/28/d318945412/htdocs/wp-includes/capabilities.php:794) in *
> /homepages/28/d318945412/htdocs/wp-includes/capabilities.php* on line *2275*
> *
> *
> It looks like there is a big chunk of duplicate code because once I delete
> the duplicate function, I found another and another,but I was not successful
> in getting it resolved.

That seems very odd that the capabilities.php file was duplicated so
many times.  The file should cut off at line 1228.

How did you perform the upgrade?

Matt Martz
matt at sivel.net

More information about the wp-testers mailing list