We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36446
    • 184 Posts
    Hi Modx Community!
    I have a strange error message that pops up every now and then:
    modx  Warning: session_start(): Session callback expects true/false

    It occours "randomly" but not very often but it's still annoying. My site works great so is there a way to disable this for good?
    Any advice is welcome!
    Thanks!
      https://www.beautyislife-shop.de - premium make-up!
      https://www.topsterne.de - sell it here!
      ---------------------------------------------------------
      • 44195
      • 293 Posts
      If it's just a warning rather than an error, you can set the log_level system setting to 1 and then you won't see it anymore.
        I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
        Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com
        • 36446
        • 184 Posts
        Hi murray - thank'you for pointing this out - log_level was already set to 1 so i changed it to 0 smiley i hope this helps to not see this warning again smiley

        [ed. note: flanger last edited this post 8 years, 9 months ago.]
          https://www.beautyislife-shop.de - premium make-up!
          https://www.topsterne.de - sell it here!
          ---------------------------------------------------------
          • 44195
          • 293 Posts
          Hmmm that's odd. Level 1 should only report errors I had thought.
          Not sure setting it to 0 is the best course of action because if there are any errors you won't be aware of them.
            I'm lead developer at Digital Penguin Creative Studio in Hong Kong. https://www.digitalpenguin.hk
            Check out the MODX tutorial series on my blog at https://www.hkwebdeveloper.com
            • 36446
            • 184 Posts
            Hey Murray - well actually these error messages didn't help a lot in most cases (except installation)... i guess when everything is setup there is no need for error messages in frontend - what is the use of our visitors seing any of those error messages at all? Perhaps he just wont come back again... So i prefer switching them off....

              https://www.beautyislife-shop.de - premium make-up!
              https://www.topsterne.de - sell it here!
              ---------------------------------------------------------