-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some issues in console with the dependency resolver with UGM #2
Comments
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. |
None of the errors above occur when viewing the dashboard widget or using UGM to upgrade MODX. |
I think these happen when doing a clean install regardless of method. |
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. |
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.
PHP notice: A non well formed numeric value encountered
--- Installing guzzle7-7.8.0-pl ---
Grabbing package workspace...
Workspace environment initiated, now installing package...
Installing files from /www/core/packages/guzzle7-7.8.0-pl/xPDOFileVehicle/b7bb588c0c5c1b9e83d1c8ebc2e566a9/ to /www/core/components/guzzle7
Installing/updating guzzle..
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/installed.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/InstalledVersions.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_namespaces.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_psr4.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_classmap.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_files.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_static.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/platform_check.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/autoload.php): failed to open stream: No such file or directory
PHP warning: file_get_contents(/www/core/components/guzzle7/vendor/composer/autoload_real.php): failed to open stream: No such file or directory
Loading composer repositories with package information
Info from https://repo.packagist.org: �[37;44m#StandWith�[30;43mUkraine�[39m
Updating dependencies
Lock file operations: 8 installs, 0 updates, 0 removals
Writing lock file
Installing dependencies from lock file
Package operations: 8 installs, 0 updates, 0 removals
proc_open is disabled so 'unzip' and '7z' commands cannot be used, zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Enabling proc_open and installing 'unzip' or '7z' (21.01+) may remediate them.
2 package suggestions were added by new dependencies, use
composer suggest
to see details.Generating optimized autoload files
4 packages you are using are looking for funding.
Use the
composer fund
command to find out more!No security vulnerability advisories found
--- Installed guzzle7-7.8.0-pl in 1.11s ---
Successfully installed package upgrademodx-2.3.5-pl
The text was updated successfully, but these errors were encountered: