[wp-hackers] register_activation_hook() problem

Austin Matzko if.website at gmail.com
Tue Jul 28 15:54:09 UTC 2009

On Tue, Jul 28, 2009 at 9:56 AM, Adam Taylor<adamjctaylor at gmail.com> wrote:
> And they *all* produce the same error:
> *Fatal error*: Cannot redeclare thumbs_install() (previously declared in
> /dev/site/wp-content/plugins/thumbs-up/thumbs-up.php:163) in *
> /dev/site/wp-content/plugins/thumbs-up/thumbs-up.php* on line *164*
> Saying that it does still activate the plugin.

This kind of error upon activation sometimes indicates a problem with
syntax, but it's not possible to know exactly what without seeing the
rest of the code.

More information about the wp-hackers mailing list