[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: How to get rid of warnings in console?

I've just opened an issue request about that: https://bugs.eclipse.org/bugs/show_bug.cgi?id=235559

For now, I can suggest you to use error_reporting(E_ERROR) somewhere in the beginning of your code, so you will be notified only on real errors.

Thanks!

kkaal wrote:
Hi,

I am developing components for Joomla! 1.5. Joomla! uses singleton patterns extensively. That means that the objects have a static field in which it stores a instance of itself. A getInstace() function makes this own instance awailable globally.

PDT throws a warning for every occurance of this construct: "Debug strict... - Non-static method JLoader::register() should not be called statically"

For my development work it is really not of interest if that is a problem or not (I think it is a quite modern design), but it is virtually impossible to find my relevant debugging info in tons of (for me) unnecessary info.

Can anybody tell me how to switch that off?

Thank you very much
Klaus