🇧🇪Belgium @jjgw

Account created on 24 November 2015, about 9 years ago
#

Recent comments

🇧🇪Belgium jjgw
Section "#Drush Removal (optional)" is confusing.

"remove Drush before the upgrade" and "reinstall Drush after a successful upgrade." is confusing.
It may lead one to think that the command "composer require 'drush/drush:^13' --no-update" is out of place during the upgrade, and one wants to wait until after "composer update". Nothing could be further from the truth! Without requiring Drush 13, the dry run gives error messages.
🇧🇪Belgium jjgw

I repeated the operations from a backup, first removing the back_to_top module, and the upgrade now went as it should.
PS: by chance I used back_to_top because the module I was used to, namely scroll_top_button, was not Drupal 11 compatible.

Anyway, thank you very much for your help.

🇧🇪Belgium jjgw

In the meantime, I manually removed the references to Back_to_top from composer.json and composer.lock.
The dry-run gave the following remarks:

$ composer install --dry-run
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
- Required package "drupal/core-composer-scaffold" is in the lock file as "10.3.6" but that does not satisfy your constraint "^11".
- Required package "drupal/core-project-message" is in the lock file as "10.3.6" but that does not satisfy your constraint "^11".
- Required package "drupal/core-recommended" is in the lock file as "10.3.6" but that does not satisfy your constraint "^11".
- Required (in require-dev) package "drupal/core-dev" is in the lock file as "10.3.2" but that does not satisfy your constraint "^11".
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r

Next suggested update command seemed to install everything, but then returned a warning at the end.

$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 81 updates, 3 removals
- Removing consolidation/self-update (2.2.0)
- Removing sebastian/resource-operations (3.0.4)
- Removing symfony/phpunit-bridge (v6.4.13)
- Upgrading aws/aws-crt-php (v1.2.6 => v1.2.7)
- Upgrading aws/aws-sdk-php (3.324.2 => 3.325.2)
- Upgrading behat/mink (v1.11.0 => v1.12.0)
- Upgrading chi-teck/drupal-code-generator (3.6.1 => 4.1.0)
- Upgrading composer/composer (2.8.1 => 2.8.2)
- Upgrading composer/installers (v2.2.0 => v2.3.0)
- Upgrading consolidation/config (2.1.2 => 3.0.0)
- Upgrading consolidation/output-formatters (4.5.0 => 4.6.0)
- Upgrading consolidation/robo (4.0.6 => 5.1.0)
- Upgrading doctrine/annotations (1.14.4 => 2.0.2)
- Upgrading drupal/core (10.3.6 => 11.0.5)
- Upgrading drupal/core-composer-scaffold (10.3.6 => 11.0.5)
- Upgrading drupal/core-dev (10.3.2 => 11.0.5)
- Upgrading drupal/core-project-message (10.3.6 => 11.0.5)
- Upgrading drupal/core-recommended (10.3.6 => 11.0.5)
- Upgrading drush/drush (13.0.1 => 13.3.2)
- Upgrading ezyang/htmlpurifier (v4.17.0 => v4.18.0)
- Upgrading google/protobuf (v3.25.5 => v4.28.3)
- Upgrading guzzlehttp/guzzle (7.8.2 => 7.9.2)
- Upgrading guzzlehttp/psr7 (2.6.3 => 2.7.0)
- Upgrading illuminate/collections (v11.20.0 => v11.30.0)
- Upgrading illuminate/conditionable (v11.20.0 => v11.30.0)
- Upgrading illuminate/contracts (v11.20.0 => v11.30.0)
- Upgrading illuminate/macroable (v11.20.0 => v11.30.0)
- Upgrading laravel/prompts (v0.1.24 => v0.1.25)
- Upgrading league/container (4.2.2 => 4.2.3)
- Upgrading open-telemetry/gen-otlp-protobuf (1.2.0 => 1.2.1)
- Upgrading openai-php/client (v0.10.1 => v0.10.2)
- Upgrading phootwork/collection (v3.2.2 => v3.2.3)
- Upgrading phootwork/lang (v3.2.2 => v3.2.3)
- Upgrading phpunit/php-code-coverage (9.2.32 => 10.1.16)
- Upgrading phpunit/php-file-iterator (3.0.6 => 4.1.0)
- Upgrading phpunit/php-invoker (3.1.1 => 4.0.0)
- Upgrading phpunit/php-text-template (2.0.4 => 3.0.1)
- Upgrading phpunit/php-timer (5.0.3 => 6.0.0)
- Upgrading phpunit/phpunit (9.6.21 => 10.5.38)
- Upgrading sebastian/cli-parser (1.0.2 => 2.0.1)
- Upgrading sebastian/code-unit (1.0.8 => 2.0.0)
- Upgrading sebastian/code-unit-reverse-lookup (2.0.3 => 3.0.0)
- Upgrading sebastian/comparator (4.0.8 => 5.0.3)
- Upgrading sebastian/complexity (2.0.3 => 3.2.0)
- Upgrading sebastian/diff (4.0.6 => 5.1.1)
- Upgrading sebastian/environment (5.1.5 => 6.1.0)
- Upgrading sebastian/exporter (4.0.6 => 5.1.2)
- Upgrading sebastian/global-state (5.0.7 => 6.0.2)
- Upgrading sebastian/lines-of-code (1.0.4 => 2.0.2)
- Upgrading sebastian/object-enumerator (4.0.4 => 5.0.0)
- Upgrading sebastian/object-reflector (2.0.4 => 3.0.0)
- Upgrading sebastian/recursion-context (4.0.5 => 5.0.0)
- Upgrading sebastian/type (3.2.1 => 4.0.0)
- Upgrading sebastian/version (3.0.2 => 4.0.1)
- Upgrading symfony/browser-kit (v6.4.13 => v7.1.6)
- Upgrading symfony/console (v6.4.13 => v7.1.6)
- Upgrading symfony/css-selector (v6.4.13 => v7.1.6)
- Upgrading symfony/dependency-injection (v6.4.13 => v7.1.6)
- Upgrading symfony/dom-crawler (v6.4.13 => v7.1.6)
- Upgrading symfony/error-handler (v6.4.13 => v7.1.6)
- Upgrading symfony/event-dispatcher (v6.4.13 => v7.1.6)
- Upgrading symfony/filesystem (v6.4.13 => v7.1.6)
- Upgrading symfony/finder (v6.4.13 => v7.1.6)
- Upgrading symfony/http-foundation (v6.4.13 => v7.1.6)
- Upgrading symfony/http-kernel (v6.4.13 => v7.1.6)
- Upgrading symfony/lock (v6.4.13 => v7.1.6)
- Upgrading symfony/mailer (v6.4.13 => v7.1.6)
- Upgrading symfony/mime (v6.4.13 => v7.1.6)
- Upgrading symfony/polyfill-ctype (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-iconv (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-intl-grapheme (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-intl-idn (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-intl-normalizer (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-mbstring (v1.29.0 => v1.30.0)
- Upgrading symfony/polyfill-php83 (v1.29.0 => v1.31.0)
- Upgrading symfony/process (v6.4.13 => v7.1.6)
- Upgrading symfony/psr-http-message-bridge (v6.4.13 => v7.1.6)
- Upgrading symfony/routing (v6.4.13 => v7.1.6)
- Upgrading symfony/serializer (v6.4.13 => v7.1.6)
- Upgrading symfony/string (v6.4.13 => v7.1.6)
- Upgrading symfony/validator (v6.4.13 => v7.1.6)
- Upgrading symfony/var-dumper (v6.4.13 => v7.1.6)
- Upgrading symfony/var-exporter (v6.4.13 => v7.1.6)
- Upgrading symfony/yaml (v6.4.13 => v7.1.6)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 81 updates, 3 removals
- Downloading drupal/core-composer-scaffold (11.0.5)
- Downloading aws/aws-crt-php (v1.2.7)
- Downloading symfony/finder (v7.1.6)
- Downloading symfony/polyfill-mbstring (v1.30.0)
- Downloading symfony/polyfill-intl-normalizer (v1.30.0)
- Downloading symfony/polyfill-intl-grapheme (v1.30.0)
- Downloading symfony/polyfill-ctype (v1.30.0)
- Downloading symfony/string (v7.1.6)
- Downloading symfony/console (v7.1.6)
- Downloading symfony/yaml (v7.1.6)
- Downloading symfony/polyfill-php83 (v1.31.0)
- Downloading symfony/validator (v7.1.6)
- Downloading symfony/serializer (v7.1.6)
- Downloading symfony/routing (v7.1.6)
- Downloading symfony/http-foundation (v7.1.6)
- Downloading symfony/psr-http-message-bridge (v7.1.6)
- Downloading symfony/process (v7.1.6)
- Downloading symfony/polyfill-iconv (v1.30.0)
- Downloading symfony/polyfill-intl-idn (v1.30.0)
- Downloading symfony/mime (v7.1.6)
- Downloading symfony/event-dispatcher (v7.1.6)
- Downloading symfony/mailer (v7.1.6)
- Downloading symfony/var-dumper (v7.1.6)
- Downloading symfony/error-handler (v7.1.6)
- Downloading symfony/http-kernel (v7.1.6)
- Downloading symfony/filesystem (v7.1.6)
- Downloading symfony/var-exporter (v7.1.6)
- Downloading symfony/dependency-injection (v7.1.6)
- Downloading sebastian/diff (5.1.1)
- Downloading guzzlehttp/psr7 (2.7.0)
- Downloading guzzlehttp/guzzle (7.9.2)
- Downloading doctrine/annotations (2.0.2)
- Downloading drupal/core (11.0.5)
- Downloading openai-php/client (v0.10.2)
- Downloading ezyang/htmlpurifier (v4.18.0)
- Downloading aws/aws-sdk-php (3.325.2)
- Downloading symfony/lock (v7.1.6)
- Downloading symfony/dom-crawler (v7.1.6)
- Downloading symfony/css-selector (v7.1.6)
- Downloading symfony/browser-kit (v7.1.6)
- Downloading sebastian/version (4.0.1)
- Downloading sebastian/type (4.0.0)
- Downloading sebastian/recursion-context (5.0.0)
- Downloading sebastian/object-reflector (3.0.0)
- Downloading sebastian/object-enumerator (5.0.0)
- Downloading sebastian/global-state (6.0.2)
- Downloading sebastian/exporter (5.1.2)
- Downloading sebastian/environment (6.1.0)
- Downloading sebastian/comparator (5.0.3)
- Downloading sebastian/code-unit (2.0.0)
- Downloading sebastian/cli-parser (2.0.1)
- Downloading phpunit/php-timer (6.0.0)
- Downloading phpunit/php-text-template (3.0.1)
- Downloading phpunit/php-invoker (4.0.0)
- Downloading phpunit/php-file-iterator (4.1.0)
- Downloading sebastian/lines-of-code (2.0.2)
- Downloading sebastian/complexity (3.2.0)
- Downloading sebastian/code-unit-reverse-lookup (3.0.0)
- Downloading phpunit/php-code-coverage (10.1.16)
- Downloading phpunit/phpunit (10.5.38)
- Downloading google/protobuf (v4.28.3)
- Downloading open-telemetry/gen-otlp-protobuf (1.2.1)
- Downloading behat/mink (v1.12.0)
- Downloading composer/composer (2.8.2)
- Downloading league/container (4.2.3)
- Downloading illuminate/contracts (v11.30.0)
- Downloading illuminate/collections (v11.30.0)
- Downloading laravel/prompts (v0.1.25)
- Downloading consolidation/config (3.0.0)
- Downloading phootwork/lang (v3.2.3)
- Downloading phootwork/collection (v3.2.3)
- Downloading consolidation/output-formatters (4.6.0)
- Downloading consolidation/robo (5.1.0)
- Downloading chi-teck/drupal-code-generator (4.1.0)
- Downloading drush/drush (13.3.2)
- Removing symfony/phpunit-bridge (v6.4.13)
- Removing sebastian/resource-operations (3.0.4)
- Removing consolidation/self-update (2.2.0)
- Upgrading composer/installers (v2.2.0 => v2.3.0): Extracting archive
- Upgrading drupal/core-composer-scaffold (10.3.6 => 11.0.5): Extracting archive
- Upgrading drupal/core-project-message (10.3.6 => 11.0.5): Extracting archive
- Upgrading aws/aws-crt-php (v1.2.6 => v1.2.7): Extracting archive
- Upgrading symfony/finder (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/polyfill-mbstring (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/polyfill-intl-normalizer (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/polyfill-intl-grapheme (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/polyfill-ctype (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/string (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/console (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/yaml (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/polyfill-php83 (v1.29.0 => v1.31.0): Extracting archive
- Upgrading symfony/validator (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/serializer (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/routing (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/http-foundation (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/psr-http-message-bridge (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/process (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/polyfill-iconv (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/polyfill-intl-idn (v1.29.0 => v1.30.0): Extracting archive
- Upgrading symfony/mime (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/event-dispatcher (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/mailer (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/var-dumper (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/error-handler (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/http-kernel (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/filesystem (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/var-exporter (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/dependency-injection (v6.4.13 => v7.1.6): Extracting archive
- Upgrading sebastian/diff (4.0.6 => 5.1.1): Extracting archive
- Upgrading guzzlehttp/psr7 (2.6.3 => 2.7.0): Extracting archive
- Upgrading guzzlehttp/guzzle (7.8.2 => 7.9.2): Extracting archive
- Upgrading doctrine/annotations (1.14.4 => 2.0.2): Extracting archive
- Upgrading drupal/core (10.3.6 => 11.0.5): Extracting archive
- Upgrading openai-php/client (v0.10.1 => v0.10.2): Extracting archive
- Upgrading ezyang/htmlpurifier (v4.17.0 => v4.18.0): Extracting archive
- Upgrading aws/aws-sdk-php (3.324.2 => 3.325.2): Extracting archive
- Upgrading symfony/lock (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/dom-crawler (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/css-selector (v6.4.13 => v7.1.6): Extracting archive
- Upgrading symfony/browser-kit (v6.4.13 => v7.1.6): Extracting archive
- Upgrading sebastian/version (3.0.2 => 4.0.1): Extracting archive
- Upgrading sebastian/type (3.2.1 => 4.0.0): Extracting archive
- Upgrading sebastian/recursion-context (4.0.5 => 5.0.0): Extracting archive
- Upgrading sebastian/object-reflector (2.0.4 => 3.0.0): Extracting archive
- Upgrading sebastian/object-enumerator (4.0.4 => 5.0.0): Extracting archive
- Upgrading sebastian/global-state (5.0.7 => 6.0.2): Extracting archive
- Upgrading sebastian/exporter (4.0.6 => 5.1.2): Extracting archive
- Upgrading sebastian/environment (5.1.5 => 6.1.0): Extracting archive
- Upgrading sebastian/comparator (4.0.8 => 5.0.3): Extracting archive
- Upgrading sebastian/code-unit (1.0.8 => 2.0.0): Extracting archive
- Upgrading sebastian/cli-parser (1.0.2 => 2.0.1): Extracting archive
- Upgrading phpunit/php-timer (5.0.3 => 6.0.0): Extracting archive
- Upgrading phpunit/php-text-template (2.0.4 => 3.0.1): Extracting archive
- Upgrading phpunit/php-invoker (3.1.1 => 4.0.0): Extracting archive
- Upgrading phpunit/php-file-iterator (3.0.6 => 4.1.0): Extracting archive
- Upgrading sebastian/lines-of-code (1.0.4 => 2.0.2): Extracting archive
- Upgrading sebastian/complexity (2.0.3 => 3.2.0): Extracting archive
- Upgrading sebastian/code-unit-reverse-lookup (2.0.3 => 3.0.0): Extracting archive
- Upgrading phpunit/php-code-coverage (9.2.32 => 10.1.16): Extracting archive
- Upgrading phpunit/phpunit (9.6.21 => 10.5.38): Extracting archive
- Upgrading google/protobuf (v3.25.5 => v4.28.3): Extracting archive
- Upgrading open-telemetry/gen-otlp-protobuf (1.2.0 => 1.2.1): Extracting archive
- Upgrading behat/mink (v1.11.0 => v1.12.0): Extracting archive
- Upgrading composer/composer (2.8.1 => 2.8.2): Extracting archive
- Upgrading drupal/core-dev (10.3.2 => 11.0.5)
- Upgrading drupal/core-recommended (10.3.6 => 11.0.5)
- Upgrading league/container (4.2.2 => 4.2.3): Extracting archive
- Upgrading illuminate/macroable (v11.20.0 => v11.30.0): Extracting archive
- Upgrading illuminate/contracts (v11.20.0 => v11.30.0): Extracting archive
- Upgrading illuminate/conditionable (v11.20.0 => v11.30.0): Extracting archive
- Upgrading illuminate/collections (v11.20.0 => v11.30.0): Extracting archive
- Upgrading laravel/prompts (v0.1.24 => v0.1.25): Extracting archive
- Upgrading consolidation/config (2.1.2 => 3.0.0): Extracting archive
- Upgrading phootwork/lang (v3.2.2 => v3.2.3): Extracting archive
- Upgrading phootwork/collection (v3.2.2 => v3.2.3): Extracting archive
- Upgrading consolidation/output-formatters (4.5.0 => 4.6.0): Extracting archive
- Upgrading consolidation/robo (4.0.6 => 5.1.0): Extracting archive
- Upgrading chi-teck/drupal-code-generator (3.6.1 => 4.1.0): Extracting archive
- Upgrading drush/drush (13.0.1 => 13.3.2): Extracting archive
Generating autoload files
94 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
> composer/composer: installed
> composer/pcre: installed
> mglaman/phpstan-drupal: installed
> phpstan/phpstan-deprecation-rules: installed
> phpstan/phpstan-phpunit: installed
Scaffolding files for drupal/core:
- Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
- Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
- Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
Failed to audit installed packages.

At the end the website came up with the installed Drupal 11.0.5 version but running update.php ended with the disappointing message:
The website encountered an unexpected error. Try again later.
TypeError: reset(): Argument #1 ($array) must be of type array, null given in reset() (line 436 of core/modules/system/src/Controller/DbUpdateController.php).

🇧🇪Belgium jjgw

With /admin/modules/uninstall I removed module back_to_top from db, but removing module with composer is failing:

$ composer remove drupal/back_to_top
./composer.json has been updated
Running composer update drupal/back_to_top
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
   - Root composer.json requires drupal/core-composer-scaffold ^11, found drupal/core-composer-scaffold[11.0.0, ..., 11.0.5] but the package is fixed to 10.3.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 2
   - Root composer.json requires drupal/core-project-message ^11, found drupal/core-project-message[11.0.0, ..., 11.0.5] but the package is fixed to 10.3.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 3
   - Root composer.json requires drupal/core-recommended ^11, found drupal/core-recommended[11.0.0, ..., 11.0.5] but the package is fixed to 10.3.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Problem 4
   - Root composer.json requires drupal/core-dev ^11, found drupal/core-dev[11.0.0, ..., 11.0.5] but the package is fixed to 10.3.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Removal failed, reverting ./composer.json to its original content.
Removal failed, drupal/back_to_top is still present, it may be required by another package. See `composer why drupal/back_to_top`.

I note that composer.json refers to version greater than, such as drupal/back_to_top": "^3.0" while in composer.lock the exact version "version": "3.0.2" is used. This is true for every contrib module. Same for drupal/core. Could this be a reason for the error?

🇧🇪Belgium jjgw

Additional info

composer version: 2.5.5
current drupal version: 10.3.6 - target version drupal 11
webserver: Apache/2.4.62 (Ubuntu)
PHP: 8.3.13
database: mysql 8.0.39-0ubuntu0.22.04.1
runned commands: see above

Content composer.json:

{
    "name": "drupal/recommended-project",
    "description": "Project template for Drupal projects with a relocated document root",
    "type": "project",
    "license": "GPL-2.0-or-later",
    "homepage": " https://www.drupal.org/project/drupal ",
    "support": {
        "docs": " https://www.drupal.org/docs/user_guide/en/index.html ",
        "chat": " https://www.drupal.org/node/314178 "
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],
    "require": {
        "composer/installers": "^2.0",
        "drupal/admin_toolbar": "^3.4",
        "drupal/asset_injector": "^2.17",
        "drupal/back_to_top": "^3.0",
        "drupal/captcha": "^2.0",
        "drupal/ckeditor5_plugin_pack": "^1.1",
        "drupal/colorbox": "^2.0",
        "drupal/core-composer-scaffold": "^11",
        "drupal/core-project-message": "^11",
        "drupal/core-recommended": "^11",
        "drupal/ctools": "^4.0",
        "drupal/eu_cookie_compliance": "^1.24",
        "drupal/field_formatter_class": "^1.6",
        "drupal/focal_point": "^2.0",
        "drupal/honeypot": "^2.1",
        "drupal/hreflang": "^1.11",
        "drupal/libraries": "^4.0",
        "drupal/metatag": "^2.0",
        "drupal/modal_page": "^5.0",
        "drupal/pathauto": "^1.11",
        "drupal/simple_sitemap": "^4.2",
        "drupal/token": "^1.11",
        "drupal/upgrade_status": "^4.3",
        "drupal/views_slideshow": "^5.0",
        "drupal/visitors": "^2.19",
        "drush/drush": "^13.0"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "stable",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-project-message": true,
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "php-http/discovery": true,
            "tbachert/spi": true
        },
        "sort-packages": true
    },
    "extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],
            "web/modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "web/profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "web/themes/contrib/{$name}": [
                "type:drupal-theme"
            ],
            "drush/Commands/contrib/{$name}": [
                "type:drupal-drush"
            ],
            "web/modules/custom/{$name}": [
                "type:drupal-custom-module"
            ],
            "web/profiles/custom/{$name}": [
                "type:drupal-custom-profile"
            ],
            "web/themes/custom/{$name}": [
                "type:drupal-custom-theme"
            ]
        },
        "drupal-core-project-message": {
            "include-keys": [
                "homepage",
                "support"
            ],
            "post-create-project-cmd-message": [
                "<bg=blue;fg=white>                                                         </>",
                "<bg=blue;fg=white>  Congratulations, you’ve installed the Drupal codebase  </>",
                "<bg=blue;fg=white>  from the drupal/recommended-project template!          </>",
                "<bg=blue;fg=white>                                                         </>",
                "",
                "<bg=yellow;fg=black>Next steps</>:",
                "  * Install the site: https://www.drupal.org/docs/installing-drupal ",
                "  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html ",
                "  * Get support: https://www.drupal.org/support ",
                "  * Get involved with the Drupal community:",
                "      https://www.drupal.org/getting-involved ",
                "  * Remove the plugin that prints this message:",
                "      composer remove drupal/core-project-message"
            ]
        }
    },
    "require-dev": {
        "drupal/core-dev": "^11"
    }
}

🇧🇪Belgium jjgw

I have been struggling with the same problem since a few days . When running /admin/reports/updates I get the message “Failed to get available update data” with Drupal Core and with all modules. Image on postimg
Here there is no connection with module Sticky as it is not used. When I restart the update after some time, the error messages disappear at Drupal Core and at a few modules. After another new update, in alphabetical order, again some modules are added to the list labeled “Up to date”.

The following changes were made: update Drupal 10.3.1 to 10.3.2 and updates to modules admin_toolbar, asset_injector, ckeditor5_plugin_pack, crop, colorbox, focal_point, metatag, pathauto and token (drupal11 compatible updates).

In /reports/dblog, I find the (known issue) error "Field layout_builder__layout is unknown. in DrupalCoreEntityContentEntityBase" and a whole bunch of warnings “Trying to run cron again while it's already running.”

Thanks for your opinion on this

🇧🇪Belgium jjgw

If the (obsolete) statistics module is enabled, first uninstall it.
After uninstalling, you can delete the /core/modules/statistics folder. Then you can install the contrib statistics module.

🇧🇪Belgium jjgw

Some settings do not work if footer is not enabled.

If only Header is enabled, the following settings from extras do not work:
delay to display
auto hide delay
show modal only once

Steps to reproduce:
Modal header/show modal header is checked
Modal footer/show modal footer is unchecked
Modal buttons/display button "X" to close is checked
Modal close/both options are checked
Modal style/size=small
Extras/modal=by page, delay to display=5, autohide is checked, auto hide delay=15, show modal only once is checked

Configuration
Drupal 10.3.1
PHP 8.3.9
Modal 5.0.10

🇧🇪Belgium jjgw

The problem stil persists on a new Drupal installation with Spanish as selected language.
In the "Steps to reproduce" not even "source" is involved, just the choice of the Spanish language is sufficient for the deviant behavior.

Steps to reproduce
1° Install Drupal 10.3.1
2° Go to /admin/config/content/formats
3° Select HTML completo
4° No icons are showed
5° Change CKEditor 5 into Ninguno and Save
6° The website encountered an unexpected error. Try again later
7° Refresh
8° Go to /admin/config/content/formats
9° Select HTML completo
10° Change Ningunu into CKEditor 5
11° The Available buttons and Active toolbar are now OK
12° Save
13° Go to step 2° and 3° and you are back at the beginning: the icons are not shown.

🇧🇪Belgium jjgw

Thanks for the quick reply.

🇧🇪Belgium jjgw

See CKEditor Font paragraph "Important update information" about this issue.

🇧🇪Belgium jjgw

Indeed, I also found that after uninstalling CKEditor5 (and CKEditor Font) and then reinstalling (both), the problem was gone. It's just a pity that the HTML configuration settings are lost and have to be entered again.

🇧🇪Belgium jjgw

There are no browser errors or Drupal log errors.
The phenomenon apparently occurs not only when editing but also when creating a new page. Here there is no option to add content. HTML selection doesn't matter.
Cannot add content to body

🇧🇪Belgium jjgw

https://www.drupal.org/docs/getting-started/installing-drupal/create-a-database
Sub "Create a database and user using phpMyAdmin"  / "Make sure you select utf8mb4_unicode_ci or utf8mb4_general_ci for COLLATION"
While current default is utf8mb4_0900_ai_ci

🇧🇪Belgium jjgw

Moreover, I highly doubt that "Drush is blocking update to Drupal 10.2" is the reason why my update fails.
After all, Drush was completely disabled!

🇧🇪Belgium jjgw

Another approach might be:
- write down all your settings of simple_sitemap
- remove the references to the module from the database via /admin/modules/uninstall 
- remove the references to the module from composer.json and .lock with command: composer remove drupal/simple_sitemap 
- install the latest version of simple sitemap with composer, install in Drupal and reconfigure again

🇧🇪Belgium jjgw

Since the Drupal version in admin/reports/status and in composer are identical, i.e. 10.1.7 I followed these instructions from your url 
"#Problem: drupal/core not updated with composer update."
Command 'composer prohibits drupal/core 10.2.0' return:

drupal/core-recommended    10.1.7 requires         drupal/core (10.1.7)                                    
drupal/core                10.2.0 conflicts        drush/drush (<12.4.3)                                   
drupal/core                10.2.0 requires         symfony/console (^6.4)                                  
drupal/recommended-project -      does not require symfony/console (but v6.3.9 is installed)               
drupal/core                10.2.0 requires         symfony/dependency-injection (^6.4)                     
drupal/recommended-project -      does not require symfony/dependency-injection (but v6.3.10 is installed) 
drupal/core                10.2.0 requires         symfony/event-dispatcher (^6.4)                         
drupal/recommended-project -      does not require symfony/event-dispatcher (but v6.3.2 is installed)      
drupal/core                10.2.0 requires         symfony/http-foundation (^6.4)                          
drupal/recommended-project -      does not require symfony/http-foundation (but v6.3.9 is installed)       
drupal/core                10.2.0 requires         symfony/http-kernel (^6.4)                              
drupal/recommended-project -      does not require symfony/http-kernel (but v6.3.10 is installed)          
drupal/core                10.2.0 requires         symfony/mime (^6.4)                                     
drupal/recommended-project -      does not require symfony/mime (but v6.3.5 is installed)                  
drupal/core                10.2.0 requires         symfony/routing (^6.4)                                  
drupal/recommended-project -      does not require symfony/routing (but v6.3.10 is installed)              
drupal/core                10.2.0 requires         symfony/serializer (^6.4)                               
drupal/recommended-project -      does not require symfony/serializer (but v6.3.10 is installed)           
drupal/core                10.2.0 requires         symfony/validator (^6.4)                                
drupal/recommended-project -      does not require symfony/validator (but v6.3.9 is installed)             
drupal/core                10.2.0 requires         symfony/process (^6.4)                                  
drupal/recommended-project -      does not require symfony/process (but v6.3.4 is installed)               
drupal/core                10.2.0 requires         symfony/yaml (^6.4)                                     
drupal/recommended-project -      does not require symfony/yaml (but v6.3.8 is installed)                  
Not finding what you were looking for? Try calling `composer update "drupal/core:10.2.0" --dry-run` to get another view on the problem.

The dryrun refers only to the installed contrib modules.
Unlike previous command, command 'composer update drupal/core "symfony/*" --with-dependencies'  says "Nothing to modify in lock file"-"Nothing to install, update or remove"
Also Command 'composer update drush/drush' gives same message while the current version is 11.6.0
How am I supposed to get the wrong symfony versions on the right path? Same for drush?

🇧🇪Belgium jjgw

Yes, that's what happening when the total is not divisible by 3. I also tried with display: grid and display: flex, but then the pictures appear one above the other.

🇧🇪Belgium jjgw

I placed my icons in the footer area where they work properly. Too bad this theme provides a sidebar that is apparently only good for housing the RSS.
Greetings.

🇧🇪Belgium jjgw

I followed these steps to achieve next result: https://i.postimg.cc/hPQ6YRJT/Social-Media.png

  • create new page /  type article
  • add 5x the same small image
  • create view block / unformatted list of fields / no css added
  • add block to social bar

result: the images are vertical aligned on page and horizontal in the social bar (and some images are missing).

Thanks for the links to the contrib modules. I always try to avoid them, but if there is no alternative then I'm glad they exist.
As far as I'm concerned, there is definitely a problem with the theme here. And that should be reported.

🇧🇪Belgium jjgw

Do you mean the CSS I use or the theme's CSS?

🇧🇪Belgium jjgw

I have installed the module and the features are what I need. Thanks for the tip.

🇧🇪Belgium jjgw

Thanks for the quick answer.
If I understand correctly, you mean using the module "Administer Users by Role" with which I could give the user limited editing control?

🇧🇪Belgium jjgw

I thought uploading on this forum was not possible. It took me a while to find the right button.

🇧🇪Belgium jjgw

Yes, I tried several times. In doing so, I noticed a difference in file size between a sqldump coming from a bash script and a sqldump via cli. In the script, the argument "--hex-blob" was used. And it was just this that caused the result of the import to fail. So everything ok then. Thanks

🇧🇪Belgium jjgw
Yes, I saw this post too, but I can't learn anything from it unless it has to do with a reference to an empty node.
The node exists in the source, so it should also exist in the target. Did I do something wrong in the steps I took for the transfer?
🇧🇪Belgium jjgw

I followed posts on how to copy a site to another domain. There are just a few posts about the error message, they are years old and bring no solution to my problem.

🇧🇪Belgium jjgw

In the meantime I uninstalled the module, removed from the modules directory and reinstalled again.
Now it's working, except the refresh button isn't visible (but that 's not a great missing)
Greetings

🇧🇪Belgium jjgw

On http://es.localhost/admin/config/content/formats/manage/basic_html?desti...
that's the clean spanish site without any content and contrib modules
I have no js errors but 2 (same) warnings:
[Deprecation] The keyword 'push-button' specified to an 'appearance' property is not standardized. It will be removed in the future.
I added all the available buttons, except the source button, to the active toolbar without getting js errors.
When I added the source button and saved the configuration, the buttons dissapear and are replaced by text, and I get 6 js errors + the 2 warnings.

🇧🇪Belgium jjgw

my configuration:
Drupal 10.1.4
Apache 2.4.57 Ubuntu
PHP 8.2.10
Mysql 8.0.34.0 Ubuntu 22.04.1

I did following tests on localhost:
1° install drupal with spanish translation
composer create-project drupal/recommended-project
2° check all text formats for basic page
goto /admin/structure/types/manage/page/fields/node.page.body
check all text formats and save
3° try to modify formats for Full HTML
goto /admin/config/content/formats
select full HTML
click on configure
4° result:
No icons are visible. Instead there are the text references to the icons.

This time I have no more the error message as mentioned above.

What's weird:
I did this test 3 times with the same result.
I also did the same test with a non translated installation. (English)
And here the icons for full HTML are visible as expected!!!

🇧🇪Belgium jjgw

There is no bug involved here, but my database is corrupted. In fact, I had a power failure and I am now experiencing similar problems in other modules, like blocks. To avoid further surprises I am forced to redo my work of the last 3 days. Sorry voor het storen.

🇧🇪Belgium jjgw

I found next PHP error in the logfiles:
TypeError: Drupal\image_captcha\Service\ImageCaptchaRenderService::__construct(): Argument #2 ($connection) must be of type Drupal\Core\Database\Connection, Drupal\Core\Logger\LoggerChannelFactory given, called in /var/www/blogs/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\image_captcha\Service\ImageCaptchaRenderService->__construct() (line 48 of /var/www/blogs/web/modules/contrib/captcha/modules/image_captcha/src/Service/ImageCaptchaRenderService.php).

🇧🇪Belgium jjgw

I had already added following on line 102 in ImageCaptchaRenderService.php
$width = (int) round(($width), 0);
$height = (int) round(($height), 0);
but your patch is working at an earlier stage and is working well.
Thanks for the quick response.

🇧🇪Belgium jjgw

I found the reason why not rotating: I had to uncheck the "Display all values in the same row" in "Multiple field settings".
Stupid of me...
Anyway great thanks for your help.

🇧🇪Belgium jjgw

My js libraries folders and files had no write persmission for group. After being adjusted the warnings disappered, but still no rotating.
So I removed them all and created new ones with "drush dl-cycle-lib".
The view settings are simple: a block / format slideshow with basic settings / one field: slide / basic filter and sort criteria.
I don't understand why it's not rotating.

🇧🇪Belgium jjgw

I applied the patch https://www.drupal.org/files/issues/2023-05-11/3359497.patch and now the "Undefined array key url" warning does no more appear in the log files.
For the "Array to string conversion" i found this issue: https://www.drupal.org/project/switch_page_theme/issues/2944602 . I am wondering if I should still apply the 6 years old patch mentionned over there.
Any way, the problem of non rotating remains. The slideshow reacts like an unformatted list. The 2 slideshow modules are enabled and in the meantime I removed the 4 jquery folders and made new ones. In vain.

🇧🇪Belgium jjgw

Close this issue. The reason was comparing 2 dev environments one with and another without the libraries installed. Sorry!

🇧🇪Belgium jjgw

The warnings and error message disappeared as they came (after an update of Ubuntu).
This issue can therefore be closed.

🇧🇪Belgium jjgw

I tried with a lower php version (PHP 8.1.18) with exact the same result.

🇧🇪Belgium jjgw

I had to configure block Main Navigation. Solved.

🇧🇪Belgium jjgw

At the moment this module should not be available for download as it does not work at all.

🇧🇪Belgium jjgw

see how to solve

In your content type, use a standard file type for your gpx

The content of the .htaccess file in .../sites/default/files/gpx-files:

<FilesMatch "\.(?i:gpx)$">
     Header set Content-Disposition attachment
</FilesMatch>
🇧🇪Belgium jjgw

I used this command, but misunderstood the instruction 'composer create-project drupal/recommended-project my_site_name_dir' from
https://www.drupal.org/docs/develop/using-composer/manage-dependencies
My command was '/var/www/html$ composer create-project drupal/recommended-project /var/wwww/html/drupal'
So adding the dir name was producing the access error. Without it worked like a charm
Thanks for helping me.

🇧🇪Belgium jjgw

Sorry, writing error. /var/wwww/html does not exist. Composer was launched from /var/www/html.

🇧🇪Belgium jjgw

user jan has full read/write/execute access to folder html
see command sniplet where a text file and folder were created and deleted
 

//$ echo "$USER"
jan
/$ cd var/www
/var/www $ls -la
...
drwxr-xr-x  2 jan  www-data 471040 mrt 17 19:26 html
...
/var/www$ cd html
/var/www/html$ ls -la blabla*
ls: cannot access 'blabla*': No such file or directory
/var/www/html$ mkdir blabla
/var/www/html$ nano blabla.txt
/var/www/html$ ls -la blabla*
-rw-rw-r-- 1 jan jan    7 mrt 17 19:40 blabla.txt

blabla:
total 468
drwxrwxr-x 2 jan jan        4096 mrt 17 19:48 .
drwxr-xr-x 3 jan www-data 471040 mrt 17 19:48 ..
-rw-rw-r-- 1 jan jan    7 mrt 17 19:40 blabla.txt
/var/www/html$ rm blabla.txt
/var/www/html$ rmdir blabla
/var/www/html$ ls -la blabla*
ls: cannot access 'blabla*': No such file or directory
🇧🇪Belgium jjgw

I did the LAMP setup under Ubuntu years ago and it was running until now. Actual configuration: Ubuntu 20.04, Apache/2.4.56,  Mysql8.0.32, PHP 8.2.3. I have no experience with Docker.

🇧🇪Belgium jjgw

Great, this solution worked. But after install/uninstall there are still traces in composer.json and .lock, and in mysql tables key_value, locales_location and locales_source. I assume they are innocent.
Unfortunately, this is not the end of my misery.
Now update.php is showing about 30 errors saying that these installed core modules (like Blocks, CKEditor5, System, Views...) are too old to update. I should update these modules to version 9 or 10 first, while about 1 month ago I installed this Drupal 10.0.2 version (in the meantime updated to 10.0.3).
I don't understand this.

🇧🇪Belgium jjgw

Using drush un is too late now. The module is gone, but the error "missing or invalid modules" from update.php persists. I am looking now for how to get a correct core.extension.yml file

🇧🇪Belgium jjgw

Solved!
There was a problem with PHP. Some modules were missing and other were available but not enabled.

🇧🇪Belgium jjgw

Yes, the webserver is up and running.
Meanwhile I tried a new installation from scratch and this time without using composer. When launching url drupal10.localhost the Drupal install screen pops up asking me for language, profile, settings.php, database, etc. At the end (at url http://drupal10.localhost/core/install.php?rewrite=ok&langcode=nl&profil...) I get the message "connection has timed out" .
From then on any further attempt to start, drupal result in the message described above.

🇧🇪Belgium jjgw

I don't understand.  
This is my configuration:
under /var/www/drupal I have a drupal8 which is launced as localhost (using php7.2)
under /var/www/site1 I have a drupal8 which is launched as site1.localhost/site1 (using php7.2)
under /var/www/site2 I have a drupal8 which is launched as site2.localhost/site2 (using php7.2)
My goal was to install under /var/www/drupal10 the new drupal and launching it as drupal10.localhost/drupal10 (using php8.1)
Therefor I did as follow:
For apache:
 

sudo nano drupal10.localhost.conf
<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	DocumentRoot /var/www/drupal10/web
	ServerName drupal10.localhost
	ServerAlias drupal10.localhost 
        <Directory /var/www/drupal10/web>
            AllowOverride All
        </Directory>
	ErrorLog ${APACHE_LOG_DIR}/drupal10-localhost_error.log
	CustomLog ${APACHE_LOG_DIR}/drupal10-localhost_access.log combined
</VirtualHost>
sudo service apache2 restart

For Drupal10:

cd /var/www
sudo mkdir drupal10
sudo chown jan-data:www-data drupal10
composer update
composer create-project drupal/recommended-project drupal10

This results in /var/www/drupal10/web/  with its subdirs core, modules, profiles, sites, themes, etc
Isn't this not the normal installation scheme for drupal10?

🇧🇪Belgium jjgw

drupal is installed in /var/www/drupal10 and composer.json contains:

"extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
Production build 0.71.5 2024