Revolution: MODX\Revolution\Rest\modRestClient::__construct is deprecated

Created on 5 Mar 2021  路  2Comments  路  Source: modxcms/revolution

Bug report

Summary

Error MODX\Revolution\Rest\modRestClient::__construct is deprecated

Step to reproduce

Set log_level to 4.
Open Extras -> Installer

Open MODX error log.

It should be clear.

Observed behavior

Errors:

[2021-03-05 15:08:29] (ERROR in xPDO\xPDO::getService @ /home/s22270/www/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1253) MODX\Revolution\Rest\modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-05 15:08:29] (ERROR in MODX\Revolution\Rest\modRestCurlClient::__construct @ /home/s22270/www/core/src/Revolution/Rest/modRestCurlClient.php : 31) MODX\Revolution\Rest\modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-05 15:08:29] (ERROR in xPDO\xPDO::getService @ /home/s22270/www/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php : 1253) MODX\Revolution\Rest\modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2021-03-05 15:08:29] (ERROR in MODX\Revolution\Rest\modRestCurlClient::__construct @ /home/s22270/www/core/src/Revolution/Rest/modRestCurlClient.php : 31) MODX\Revolution\Rest\modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.

Related issue(s)/PR(s)

NA

Environment

MODX Revolution 3.0.0-alpha3 (git), PHP Version 7.4.12

bug area-core

All 2 comments

@JoshuaLuckers You don't mind fixing it? =)

It's on my todo list

Was this page helpful?
0 / 5 - 0 ratings