[wp-hackers] Upgrading a plugin that works on WP 2.9.2 to work with WP 3.0.1+

Dustin Shea demonicpagan at gmail.com
Thu Sep 9 03:24:05 UTC 2010

I've been trying to upgrade a plugin of mine that I wrote so that it works with WP 3.0+. The problem I run into is that when I go to activate the plugin, it displays the following error
Plugin could not be activated because it triggered a *fatal error*

*Fatal error*: Cannot redeclare ffxi_install() (previously declared in */home/demonicpagan/wp-testing/wp-content/plugins/ffxi/ffxi.php:60) in /home/demonicpagan/wp-testing/wp-content/plugins/ffxi/ffxi.php* on line *353*

Despite that error being presented, the plugin does activate, however, if I can figure out what is triggering the error to display, I'd prefer it.

The code for this can be found here: http://stelth2000inc.com/ffxi.phps

I thank anyone who can help me figure out what's going on.


This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

More information about the wp-hackers mailing list