[wp-hackers] Plugin Fatal error refers to WP core
John 3:16 Media
wp at john316media.com
Mon Apr 11 11:43:22 UTC 2011
error reporting is already configured in php.ini as error_reporting = E_ALL
| E_STRICT
On Mon, Apr 11, 2011 at 3:27 AM, Andrew Nacin <wp at andrewnacin.com> wrote:
> On Mon, Apr 11, 2011 at 5:43 AM, John 3:16 Media <wp at john316media.com
> >wrote:
>
> > Ok this is wierd. I am having problems activating my plugin I wrote on
> my
> > test WP install. WP_DEBUG is set to true, php error reporting is set to
> > E_ALL. I activate my plugin and it says it triggered a fatal error, then
> > PHP gives this error:
> >
> > *Deprecated*: Function set_magic_quotes_runtime() is deprecated in *
> > C:\xampp\htdocs\WordPress\wp-settings.php* on line *27*
> >
> > So I'm lost, not only is this in a core file not my plugin, but idk if a
> > deprecated notice constitutes a "fatal error" my guess is not. According
> > to
> > my PHP IDE there are no syntax errors or anything in my plugins code so
> idk
> > what is going on, any ideas?
> >
>
> That's not a fatal error, it's just E_DEPRECATED, which even with WP_DEBUG
> on, should be suppressed. If your plugin is breaking, it shouldn't be due
> to
> this.
>
> If you set error_reporting and error_log outside of PHP (in php.ini), you
> should be able to trap whatever you haven't caught yet.
>
> Nacin
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
I'm working on a support ticket plugin and I'm looking for users to test and
provide feedback on it. Will bribe anyone who helps with a generous
discount on the final product. Email me off-list if interested.
More information about the wp-hackers
mailing list