[wp-hackers] Plugin Fatal error refers to WP core
wp at andrewnacin.com
Mon Apr 11 12:21:28 UTC 2011
On Mon, Apr 11, 2011 at 7:43 AM, John 3:16 Media <wp at john316media.com>wrote:
> error reporting is already configured in php.ini as error_reporting = E_ALL
> | E_STRICT
Sure, but are you logging them to a file, and properly inspecting them?
When a plugin fatal errors on activation, it does so immediately before the
page redirects. Then it attempts to re-load the plugin into an iframe (so
you can see the error), but that's not foolproof. The point is, use an error
log to catch those.
Also, for WordPress on PHP 5.3+, use E_ALL & ~E_DEPRECATED & ~E_STRICT.
More information about the wp-hackers