@tedbow Thank you for the clarifications.
I think my use-case is not a generic one (using Varbase theme). But, if that's ok, I will report back on this issue any results related to the usage of the Automatic Updates module in this context.
I added the unsupported Composer plugins as exceptions. If I find a way to get past the scaffolding issue, maybe the results I will get over time will be usefull to decide whether these plugins are safe to be approved or not.
Thank you for pointing me in the right direction. The drush command didn't work (missing "value" parameter). After I removed the colon character (as below) the error went away, but I got a WSOD when I tried to re-run the Readiness Tests.
drush cset package_manager.settings additional_trusted_composer_plugins "oomphinc/composer-installers-extender\nwikimedia/composer-merge-plugin"
I got the following error in the log when the WSOD was displayed:
[Thu Apr 04 12:47:28.986587 2024] [php:notice] [pid 2578] [client 127.0.0.1:41148] Uncaught PHP Exception TypeError: "array_map(): Argument #2 ($array) must be of type array, string given" at /var/www/docroot/modules/contrib/automatic_updates/package_manager/src/Validator/ComposerPluginsValidator.php line 122, referer: http://www-csr/admin/reports/status
Finally, I fixed the issue with the unsupported composer plugins by editing package_manager.settings using the Devel module, like this:
_core:
default_config_hash: U5mNVZBLMBkapwx5Dc8_QzKFegYocQmrNUl_wGsp0aQ
file_syncer: rsync
executables:
composer: null
rsync: null
additional_trusted_composer_plugins:
- oomphinc/composer-installers-extender
- wikimedia/composer-merge-plugin
include_unknown_files_in_project_root: false
Is there a way to change the command above to alter package_manager.settings using drush? (sorry if this is a noob question...)
Also, is there a solution for my first issue in the initial post?
Thank you!
lucian.ilea → created an issue.
lucian.ilea → created an issue.
Hi!
I confirm that #13 fixed the issue for me on Drupal 9.5.9 with php 8.1.
Thank you!
lucian.ilea → created an issue.