Alright, thanks for the confirmation.
I actually have another last problem since the update to 2.2. I have a snippet that used the MODx DB API ($modx->db) which doesn't work anymore. Until I find why it doesn't work, I simply replaced the $modx->db lines with regular PHP.
This line (first line in the snippet; $type is a snippet parameter):
$db_query = $modx->db->select('code, nom, prix, soustype', 'z_menu', 'Type = "' . $type . '"', 'soustype, code');
Triggers this error:
"Fatal error: Call to a member function select() on a non-object in (blabla)/www/core/cache/includes/elements/modsnippet/1.include.cache.php on line 7"
The ironic thing is that when I googled this error, the first result I found was
an old topic of mine about the same error (in French). What I say in that topic is that I just reverted to regular PHP as I couldn't find the root cause.
Does anyone have an idea?
[ed. note: Stifu last edited this post 14 years, 8 months ago.]