Hello,
my day has been ruined by really unexpected problem with retrieving GET parameter value inside snippet. It is snippet I wrote and used several times with no problems even on the same version of MODX 2.2.9. Snippet needs URL GET param for pagination. It was really very simple:
...
if (isset($_GET['page']))
$page = intval(addslashes($_GET['page']));
else
$page = 1;
...
But on new installation/copy of MODX the $_GET is empty. If I try to print it in the beginning of /index.php, it is OK. So MODX must delete it. Even if I create a new variable and copy $_GET to it MODX destroys it again. I even tried creating of named constants - but even those are deleted. Everything was checked in the beginning of /index.php file.
Its even worse - even plugins are failing at this point, eg. setPlaceholders.
I really dont know what to do. I tried upgrading to MODX 2.2.14 on a separated copy, upgrade was successfull but to no avail.
Thank you very much for your time.