[wp-hackers] register_activation_hook is acting funny
    Nicolas Kuttler 
    wp-hackers at nicolaskuttler.de
       
    Sat Aug  7 15:41:54 UTC 2010
    
    
  
On Sat, Aug 07, 2010 at 03:37:49PM +0300, scribu wrote:
> On Sat, Aug 7, 2010 at 6:11 AM, Scott Kingsley Clark <scott at skcdev.com>wrote:
> 
> > Fatal error: Cannot redeclare my_menu() (previously declared in
> > /home/path/to/my/site/wp-content/plugins/my-plugin/my-plugin.php:16) in
> > /home/path/to/my/site/wp-content/plugins/my-plugin/my-plugin.php on line 26
> 
> Yes, I got that kind of error several times and it was always caused by my
> code. The problem is that I could never quite figure out what I was doing
> wrong. Just trial and error.
The only time I've seen this happen was while using an opcode cacher.
Nicolas
--
Nicolas Kuttler
wp at nkuttler.de
http://www.nkuttler.de
http://www.nicolaskuttler.de (deutsch)
    
    
More information about the wp-hackers
mailing list