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

Andrew Nacin wp at andrewnacin.com
Thu Sep 9 05:49:11 UTC 2010

On Thu, Sep 9, 2010 at 1:41 AM, Dustin Shea <demonicpagan at gmail.com> wrote:

> I've added the if (!function_exists('somefucntion') { ... } before every
> function which stopped cannot redeclare function errors, now when I try to
> activate it, it just says Plugin could not be activated because it triggered
> a fatal error. No other information is provided about it.

That usually happens when you refresh the page (the URL sticks and generates
the message). Try clicking the Plugins menu again. It may already be
activated, or if not, try to activate it.

More information about the wp-hackers mailing list