[wp-hackers] plugin activation help

Rich Pedley elfin at elfden.co.uk
Wed Sep 1 08:54:04 UTC 2010


On 01/09/2010 09:24, Andrew Nacin wrote:
> On Wed, Sep 1, 2010 at 3:32 AM, Rich Pedley<elfin at elfden.co.uk>  wrote:
> Fatal error: Cannot redeclare add_user() (previously declared
> in C:\inetpub\vhosts\mydomain.com
> \httpdocs\store\wp-admin\includes\user.php:23) in C:\inetpub\vhosts\
> mydomain.com\httpdocs\store\wp-admin\includes\user.php on line 44
>
> This is a core file, and add_user() is the first function in
> wp-admin/includes/user.php... I am wondering if this file is somehow getting
> double-included. I really haven't a clue how. Perhaps suggest they download
> a new copy of WP and re-upload that one file?

ugh, could this be caused by my using this:
require( ABSPATH . WPINC . '/pluggable.php' );

shamed to say that was left over from my early coding, and I've now 
removed it...

Rich


More information about the wp-hackers mailing list