Page 1 of 1

Suppress Phalanger warnings?

PostPosted: April 8th, 2013, 11:41 pm
by swd120
I'm using Phalanger with Wordpress, getting Notices from php posted on the page. How can I suppress notices?

Ex: Notice: Undefined property: wpdb::$base_prefix

This is my web config:

<error-control>
<set name="DisplayErrors" value="false" phpName="display_errors" />
</error-control>

Re: Suppress Phalanger warnings?

PostPosted: April 9th, 2013, 8:57 am
by Jakub Misek
You can specify which errors should be reported, or disable them all by

Code: Select all
<set name="ReportErrors" phpName="error_reporting">
    <clear/>
</set>
in the <error-control> section too.

Thanks,