When I save a Ressource, sometimes I have a endless Saving box…
And I have this error in /core/cache/logs/error.log:
[2020-02-21 11:49:07] (ERROR in xPDO::getService @ /home/www/core-271/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2020-02-21 11:49:07] (ERROR in modRestCurlClient::__construct @ /home/www/core-271/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
What can I do?
First things to try:
- If your version of MODX is not up to date, update it.
- Look in Package Manager to see if you have any extras with available updates.
If that doesn’t work you could try turning off the
log_deprecated System Setting, though it might be worth trying to find out which of your extras is making that modRestClient static constructor call.
I just updated from 2.7.1 to 2.7.2 but it’s still writed « 2.7.1 » on the top of the manager. I don’t understand.
Did you use the UpgradeMODX extra? If not, give that a try.
Your Extra is amazing! Thanks!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.