- Issue created by @Nathan Tsai
- Assigned to Nathan Tsai
- 🇨🇦Canada Nathan Tsai
Upgraded to
"giggsey/libphonenumber-for-php": "^8.12"
.Then had to:
- Update the consolidated composer.json file.
- Then run
composer update
in the file directory/SITE_DIR/sites/default/files/composer
(which is the path listed at/admin/config/system/composer-manager/settings
)
Now the error is gone, but when I go to
/admin/config/system/composer-manager
, I get:Warning: Undefined array key "name" in composer_manager_installed_packages() (line 325 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). Warning: Undefined array key "version" in composer_manager_installed_packages() (line 326 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). Warning: Trying to access array offset on value of type bool in composer_manager_installed_packages() (line 325 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). Warning: Trying to access array offset on value of type bool in composer_manager_installed_packages() (line 326 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). Warning: Undefined array key "name" in composer_manager_installed_packages() (line 325 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). Warning: Undefined array key "version" in composer_manager_installed_packages() (line 326 of /SITE_DIR/sites/all/modules/composer_manager/composer_manager.admin.inc). The following packages must be installed: giggsey/libphonenumber-for-php Refer to the instructions on the Composer Manager project page for updating packages.
- 🇨🇦Canada Nathan Tsai
Requires [3247179] in order to fix the warnings.
- Apply patch https://git.drupalcode.org/project/composer_manager/-/merge_requests/6.diff in [3247179]
- Upgrade
giggsey/libphonenumber-for-php
to^8.12
- the first release that supports PHP 8.1: https://github.com/giggsey/libphonenumber-for-php/releases/tag/8.12.34
- Add instructions for users to then:
- Update the consolidated composer.json file at
/admin/config/system/composer-manager
- Run
composer update
in the file directory/SITE_DIR/sites/default/files/composer
- (which is the path listed at
/admin/config/system/composer-manager/settings
)
- Update the consolidated composer.json file at
- Issue was unassigned.
- Status changed to Needs review
6 months ago 5:43pm 27 May 2024