[wp-hackers] Invisible Errors on Activation

Rich Christiansen warproof at warproof.com
Thu Jun 12 17:42:09 GMT 2008


Hey all,

My latest plugin 
(http://wordpress.org/extend/plugins/featurific-for-wordpress/) performs 
a bunch of initialization during activation.  However, if the activation 
generates PHP errors (e.g. file not found, etc.), they are not reported 
to the user.  The problem is that I know that errors are being 
generated.  If I call the activation method from another method, the PHP 
errors are successfully reported.

What's wrong?  Is this the default behavior of Wordpress?  And if so, 
how can I work around it?

Thanks so much in advance! :)
-RIch



More information about the wp-hackers mailing list