I've been asked to update an old version of Modx 2.2.0
I've had good success making big leaps in versions on other sites, so I thought I'd give it a try. The update to 2.50 failed. I went back and started updating in smaller leaps. I'm up to ver 2.3.3. Manager is working, front-end is working. But I can't seem to get past this one.
I tried updating to 2.4.0. That's when I get this error: Access to undeclared static property: Smarty::$_CHARSET in
I had previously updated php on the server to 5.6, so I set it back to 2.4. No change.
I disabled all the plugins, cleared the cache tried again, no change.
I uninstalled all the extras, (except for two that would not uninstall for some reason), cleared the cache, still no change.
Any ideas how to get past this?
This is part of the MODX core. I know it's fixed in MODX 2.4.4, so upgrading to that should take care of it.
I'm pretty sure it's an E_NOTICE or E_STRICT error, so disabling those would also take care of it. It is a bug ( Smarty::$_CHARSET should be Smarty::$_SMARTY_RESOURCE_CHAR_SET), but I'm not sure if it causes any real problems.
OK, I'll try skipping to 2.4.4. this afternoon and report back.
The error message is not in the log but on the page. No login, no manager.
Thanks.
Did you upgrade with the UpgradeMODX widget?
Yes, I've also done it manually. Same result.
Try deleting the core/cache files (again) and using private or incognito mode in the browser to log in.