I know that this not the nice way:
A friend wrote some modules that when accessed every time generates a line like
Non-static method XYZ::main() should not be called statically, assuming $this from incompatible context
It seems, that everythings work fine. How can I stop the logging of this ’error’
Besides: I’m no programmer
-
MODX Staff
- 12,272 Posts
Without access to the code of the modules, it’s very difficult to offer advice. Also we’d need to know a lot more about your environment. Please see the "help us help you" link in my signature.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
uuh it’s so embarrassing - your’ re right - shame on me.
modx 0.9.6 rev 2767 running under Linux Gentoo
mysql is 5.0.3 I guess
Snippets are called [!XYZ!]
Does that hel any further? >:(
-
MODX Staff
- 12,272 Posts
Not really without having access to the code of whatever it is that’s causing you problems.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
ok, I was already afraid of that.
Seems that I have to get a grip at the programmers neck ..
For some reason I can’t post the code here.