We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28107
    • 230 Posts
    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 wink
      CONIN Werbeagentur . Köln
      http://www.conin.de
      • 25663 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
        • 28107
        • 230 Posts
        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? >:(
          CONIN Werbeagentur . Köln
          http://www.conin.de
          • 25663 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
            • 28107
            • 230 Posts
            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.
              CONIN Werbeagentur . Köln
              http://www.conin.de