I think phx needs a little update?
When I set on errors (config/user/detection/detact all) I see:
Error : Undefined index: webInternalKey
/assets/plugins/phx/phx.parser.class.inc.php
Backtrace
1 DocumentParser->executeParser()
index.php on line 144
2 DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 1621
3 DocumentParser->parseDocumentSource()
manager/includes/document.parser.class.inc.php on line 1711
4 DocumentParser->invokeEvent()
manager/includes/document.parser.class.inc.php on line 1487
5 DocumentParser->evalPlugin()
manager/includes/document.parser.class.inc.php on line 3393
6 eval()
manager/includes/document.parser.class.inc.php on line 1006
7 PHxParser->PHxParser()
manager/includes/document.parser.class.inc.php(1006) : eval()'d code on line 5
Evolution user, I like the back-end speed and simplicity
My guess is that you're using PHx that can't read values due to MODX Caching/Parsing Order.
>> $_SESSION[’webInternalKey’]
https://forums.modx.com/thread/35296/the-way-session-works-in-modx#dis-post-193416
>> PHx 2.2.0 phx.parser.class.inc.php
function PHxParser($debug=0,$maxpass=50) {
global $modx;
$this->name = "PHx";
$this->version = "2.2.0";
$this->user["mgrid"] = intval($_SESSION['mgrInternalKey']);
$this->user["usrid"] = intval($_SESSION['webInternalKey']);
$this->user["id"] = ($this->user["usrid"] > 0 ) ? (-$this->user["usrid"]) : $this->user["mgrid"];
...
If I try this setting (evo1012) I only get QuickManager: Undefined variable: hidetabs.
I use PHx heavily and see no errors. I don't claim this isn't a problem with evo1013/PHx but
I suspect you'd see the same thing in evo1012.
Think of this when keeping error reporting ON:
Error Reporting
With PHP security, there are two sides to error reporting. One is beneficial to increasing security, the other is detrimental.
>>
http://www.php.net/manual/en/security.errors.php
[ed. note: mrhaw last edited this post 10 years, 10 months ago.]
1.0.12 also gives the error.
It's phx indeed I'm using (always).
It is probably some server setting / php version.
Evolution user, I like the back-end speed and simplicity
ok, as long as its only a warning I think we are good
might be best to set ignore all when the site is in production.
on the other hand then we don't know when somethings wrong with a snippet/plugin etc and it stops working, hmmm dilemma :|
Evolution user, I like the back-end speed and simplicity