-
- 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!
-
- 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.
-
- 184 Posts
Hi murray - thank'you for pointing this out - log_level was already set to 1 so i changed it to 0
i hope this helps to not see this warning again
[ed. note: flanger last edited this post 6 years, 4 months ago.]
-
- 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.
-
- 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....