[wp-hackers] Invisible Errors on Activation

Rich Christiansen rich at byu.net
Fri Jun 13 15:54:03 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