After upgrading > 2.6.5 our error log is filling up with errors such has this and the site no longer loads on a bunch of pages;
[2018-07-23 17:14:12] (ERROR @ ...core/model/modx/modparser.class.php : 452) You should not call uncached elements inside cached!
Outer tag: [[If?
&subject=`[[*id]]`
&operator=`EQ`
&operand=`37`
&then=`[[!ForgotPassword? &resetResourceId=`38` &tpl=`ForgotPasswordForm`]]`
]]
Inner tag If?
&subject=`35`
&operator=`EQ`
&operand=`37`
&then=`[[!ForgotPassword? &resetResourceId=`38` &tpl=`ForgotPasswordForm`]]`
Has something changed in the way 2.6.5 handles cached elements?
We are upgrading from 2.5.4-pl
Hi Paul
No I went straight from 2.5.4-pl > 2.6.5-pl
Should I try going to 2.6.0 first then 2.6.5 ?
-
☆ A M B ☆
- 3,141 Posts
It's fine to go directly to 2.6.5, only when coming from 2.2 there is an issue with the installer that you should do the intermediate steps.
Please see
https://github.com/modxcms/revolution/issues/14011 for details about why you're getting those errors.