That's referring to a Custom Manager Page (CMP) extra (possibly one of mine) or other page that still uses the old routing via modAction instead of the new namespace-based routing.
Unfortunately, I don't see anything in the message to indicate which extra it is. The error message should include a namespace, but maybe that's not available at that point.
You might be able to tell by examining the Network tab in Chrome or Firefox (Ctrl-shift-i) while loading manager pages that throw the error.
The log_deprecated System Setting might turn off the errors (or not), but then we'd never find out what's causing them.
Thanks Bob.
I just got a note this morning from my client's IT folks, who manage the server. They turned off the warning and the errors stopped. So unfortunately, we won't know it's origin.
Thanks for getting back to me.
I'm getting the same error plus a few others too:
(ERROR in modTemplateVar::renderOutput @ /.../core/model/modx/modtemplatevar.class.php : 288) Old modTemplateVar getRender outputmethod is deprecated since version 2.2.0.
(ERROR in xPDO::getService @ /.../core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
(ERROR in modRestCurlClient::__construct @ /.../core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
(ERROR in modMenu::getSubMenus @ /.../core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace formit to the routing based system.
(ERROR in modMenu::getSubMenus @ /.../core/model/modx/modmenu.class.php : 145) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace redirector to the routing based system.
I'm running only a handful of extras: Breadcrumbs, controlErrorLog, Copyright, Formit, getResources, ReCaptchaV2, Redirector, UpgradeMODX and Wayfinder.
Any more thoughts?
Thanks,
Paulien
I know some of my older extras still use modAction, but I don't know which ones. I'll try to find time to update them.
Interesting. The only ones of mine I found are are SiteCheck, Orphans, and RefreshCache. MyComponent also creates menu items the old way. I think I've fixed MyComponent but the fixed version isn't released yet.
The only other installed extra I found that needs fixing is ChimpX.
I have been getting this error when installing extras since the upgrade:
modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace bigbrother to the routing based system.
It seems to be with almost all extras. Is there something I need to do, or is something the extras developers will update?
Just unsure if this will cause problems to my sites?
Thanks
Andy
Andy, please read the messages earlier in this thread. That will tell you how to turn off the errors. It will also give you a list of the the extras that cause this error.
Yes, it's only extras, not MODX itself, that cause this error. No, it will not cause problems to your sites, although it could in the future. For the most part, the extras that cause the error are ones with a Custom Manager Page (CMP) that use the old way of calling their controller(s) via a modAction object. This has been deprecated for some time, but notifications about it started in MODX 2.7.0.
Hopefully, the extras will be updated soon so the error no longer occurs.