modmore / guzzle7

5 stars 0 forks source link

Some issues in console with the dependency resolver with UGM #2

Open BobRay opened 1 year ago

BobRay commented 1 year ago

Everything works, but there are some error messages in red during the install. Not sure if all these are due to the resolver, but they didn't appear in the last version of UGM, and I used your dependency resolve code verbatim.

Here's the console output:

Console running... Attempting to install package with signature: upgrademodx-2.3.5-pl Package found...now preparing to install. Grabbing package workspace... Workspace environment initiated, now installing package... Installing dependency Guzzle7 v1.0.0-pl (or higher)... modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead.

BobRay commented 1 year ago

These are from the error log.

[2023-09-13 21:46:08] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:08] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:08] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:08] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:08] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:08] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:10] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:10] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:10] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:10] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:17] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:17] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:21] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:21] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:23] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:23] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:23] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:23] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:38] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:46:38] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:47:19] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:16] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:27] (ERROR @ /www/core/xpdo/xpdo.class.php : 503) Path specified for package guzzle7 is not a valid or accessible directory: /www/core/components/guzzle7/model/ [2023-09-13 21:58:27] (ERROR @ /www/core/xpdo/xpdo.class.php : 644) Could not load class: Guzzle7 from guzzle7. [2023-09-13 21:58:27] (ERROR @ /www/core/xpdo/xpdo.class.php : 1248) Problem getting service guzzle7, instance of class Guzzle7, from path /www/core/components/guzzle7/model/guzzle7/ [2023-09-13 21:58:28] (ERROR @ /www/core/xpdo/xpdo.class.php : 503) Path specified for package guzzle7 is not a valid or accessible directory: /www/core/components/guzzle7/model/ [2023-09-13 21:58:28] (ERROR @ /www/core/xpdo/xpdo.class.php : 644) Could not load class: Guzzle7 from guzzle7. [2023-09-13 21:58:28] (ERROR @ /www/core/xpdo/xpdo.class.php : 1248) Problem getting service guzzle7, instance of class Guzzle7, from path /www/core/components/guzzle7/model/guzzle7/ [2023-09-13 21:58:29] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 21:58:29] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:10] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:10] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:27] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:27] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:27] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:33:27] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:15] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:15] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:15] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:15] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:34] (ERROR in xPDO::getService @ /www/core/xpdo/xpdo.class.php : 1235) modRestClient::construct is deprecated since version 2.3.0. Use the modRest classes instead. [2023-09-13 22:34:34] (ERROR in modRestCurlClient::construct @ /www/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.

BobRay commented 1 year ago

None of the errors above occur when viewing the dashboard widget or using UGM to upgrade MODX.

Mark-H commented 9 months ago

I think these happen when doing a clean install regardless of method.

BobRay commented 9 months ago

Is there a way for me to prevent them? They make UGM look bad during installation, and they didn't occur with the old method of handling dependencies in extra packages.