Hi everybody, I'm having a strange issue upgrading one of my Drupal's website from 11.3.13 to 11.4, after upgrade it I run drush updb and this is what I get:

$ drush updb
PHP Fatal error:  Type of Drupal\file_entity\Plugin\Field\FieldFormatter\FileImageResponsiveFormatter::$currentUser must be Drupal\Core\Session\AccountInterface (as in class Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter) in /web/drupal/web/modules/contrib/file_entity/src/Plugin/Field/FieldFormatter/FileImageResponsiveFormatter.php on line 25
 [warning] Drush command terminated abnormally.

after that, if I try to run update.php via browser I got error 500, and my website gone.

Obviously this is an issue reated to file_entity but I really don't have any idea on how to solve this, site is in production and file_entity is in use, can anyone give a hint?

Thanks,

Niubbo

Comments

vm’s picture

is the file entity module updated to its most recent release?

niubbo75’s picture

Hi vm, yes all is update to the latest stable release, I have other Drupal installation that upgraded w/out big issues from 11.3.13 to 11.4 this is the only one that didn't upgrade.

rikibu’s picture

I also get the error 500 after a composer based update. My modified .htaccess (rewritebase) and forward all requests to the url without the WWW made no change.

the manual update.php run ends in an error 500

The complete site is not usable at the moment.
I investigate more tomorrow, I hope I can find something.

niubbo75’s picture

Hi rikibu, same here, ATM I still keep 11.3.13 on the only website I have in production state and that will not upgrade, but I have some other websites tht are in DEV state where in some case I was able to upgrade (the one based on Drupal CMS) anche in other cases not (two websites Drupal 11.3.13, one of this is the dev copy of the one I run in production and still not willing to upgrade). 11.4.1 did not solve this issue.

rikibu’s picture

its a strange thing at all.

Based on your drush error, it seems that it has something to do with the contributed file entity module... but it does not explain why I also get server error 500 without file entity module installed in my project. so i think the issue has to do with something else but I don't know how to find another aproach to debug this because the entire site is broken

niubbo75’s picture

Yes it is! Here I have try to upgrade also a dev website that was ATM only a Drupal installation with some modules, no file entity at all, and also it fail, the only one I have successfully update is a Drupal CMS that run after a manual update.php but all the others fails with error 500

pobster’s picture

niubbo75’s picture

Hi pobster, thanks for your support, but I still have issue

web10@debianisp:~/web/drupal$ drush cr
 [success] Cache rebuild complete.
web10@debianisp:~/web/drupal$ drush updatedb -y
PHP Fatal error:  Type of Drupal\file_entity\Plugin\Field\FieldFormatter\FileImageResponsiveFormatter::$currentUser must be Drupal\Core\Session\AccountInterface (as in class Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter) in /var/www/clients/client0/web10/web/drupal/web/modules/contrib/file_entity/src/Plugin/Field/FieldFormatter/FileImageResponsiveFormatter.php on line 25
Stack trace:
#0 /var/www/clients/client0/web10/web/drupal/vendor/composer/ClassLoader.php(576): include()
#1 /var/www/clients/client0/web10/web/drupal/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/AttributeClassDiscovery.php(162): class_exists()
#4 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php(67): Drupal\Component\Plugin\Discovery\AttributeClassDiscovery->getDefinitions()
#5 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(86): Drupal\Core\Plugin\Discovery\AttributeDiscoveryWithAnnotations->getDefinitions()
#6 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(340): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#7 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(216): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#8 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(25): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#9 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Field/FormatterPluginManager.php(203): Drupal\Core\Plugin\DefaultPluginManager->getDefinition()
#10 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Field/FormatterPluginManager.php(154): Drupal\Core\Field\FormatterPluginManager->getDefaultSettings()
#11 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(360): Drupal\Core\Field\FormatterPluginManager->prepareConfiguration()
#12 /var/www/clients/client0/web10/web/drupal/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(446): Drupal\Core\Entity\EntityDisplayBase->setComponent()
#13 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(204): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->setComponent()
#14 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/EntityDisplayBase.php(155): Drupal\Core\Entity\EntityDisplayBase->init()
#15 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(190): Drupal\Core\Entity\EntityDisplayBase->__construct()
#16 /var/www/clients/client0/web10/web/drupal/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(52): Drupal\Core\Entity\Entity\EntityViewDisplay->__construct()
#17 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(468): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->__construct()
#18 /var/www/clients/client0/web10/web/drupal/web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplayStorage.php(41): Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords()
#19 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(168): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplayStorage->mapFromStorageRecords()
#20 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(355): Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple()
#21 /var/www/clients/client0/web10/web/drupal/web/modules/contrib/dxpr_builder/src/Service/DxprBuilderLicenseService.php(732): Drupal\Core\Entity\EntityStorageBase->loadMultiple()
#22 /var/www/clients/client0/web10/web/drupal/web/modules/contrib/dxpr_builder/src/Service/DxprBuilderLicenseService.php(764): Drupal\dxpr_builder\Service\DxprBuilderLicenseService->getDxprEnabledViewModes()
#23 /var/www/clients/client0/web10/web/drupal/web/modules/contrib/dxpr_builder/src/Service/DxprBuilderLicenseService.php(708): Drupal\dxpr_builder\Service\DxprBuilderLicenseService->getLicensedContentQuery()
#24 /var/www/clients/client0/web10/web/drupal/web/modules/contrib/dxpr_builder/src/Service/DxprBuilderLicenseService.php(259): Drupal\dxpr_builder\Service\DxprBuilderLicenseService->getValuesCount()
#25 /var/www/clients/client0/web10/web/drupal/web/modules/contrib/dxpr_builder/dxpr_builder.install(249): Drupal\dxpr_builder\Service\DxprBuilderLicenseService->getLicenseInfo()
#26 [internal function]: dxpr_builder_requirements()
#27 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(389): call_user_func_array()
#28 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(340): Drupal\Core\Extension\ModuleHandler->{closure:Drupal\Core\Extension\ModuleHandler::invokeAll():388}()
#29 /var/www/clients/client0/web10/web/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#30 /var/www/clients/client0/web10/web/drupal/web/core/includes/update.inc(57): Drupal\Core\Extension\ModuleHandler->invokeAll()
#31 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(552): update_check_requirements()
#32 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(62): Drush\Commands\core\UpdateDBCommands->updateCheckRequirements()
#33 [internal function]: Drush\Commands\core\UpdateDBCommands->updatedb()
#34 /var/www/clients/client0/web10/web/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array()
#35 /var/www/clients/client0/web10/web/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback()
#36 /var/www/clients/client0/web10/web/drupal/vendor/consolidation/annotated-command/src/CommandProcessor.php(175): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter()
#37 /var/www/clients/client0/web10/web/drupal/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(389): Consolidation\AnnotatedCommand\CommandProcessor->process()
#38 /var/www/clients/client0/web10/web/drupal/vendor/symfony/console/Command/Command.php(341): Consolidation\AnnotatedCommand\AnnotatedCommand->execute()
#39 /var/www/clients/client0/web10/web/drupal/vendor/symfony/console/Application.php(1117): Symfony\Component\Console\Command\Command->run()
#40 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/src/Application.php(201): Symfony\Component\Console\Application->doRunCommand()
#41 /var/www/clients/client0/web10/web/drupal/vendor/symfony/console/Application.php(356): Drush\Application->doRunCommand()
#42 /var/www/clients/client0/web10/web/drupal/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun()
#43 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/src/Runtime/Runtime.php(113): Symfony\Component\Console\Application->run()
#44 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#45 /var/www/clients/client0/web10/web/drupal/vendor/drush/drush/drush.php(140): Drush\Runtime\Runtime->run()
#46 {main}
 [warning] Drush command terminated abnormally.
web10@debianisp:~/web/drupal$ 

I have done this in mi composer.json:

"extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
    "patches": {
            "drupal/file_entity": {
                "Correzione problema aggiornamento Drupal Core": "https://git.drupalcode.org/project/file_entity/-/merge_requests/33.patch"
            }
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],
            "web/modules/contrib/{$name}": [
                "type:drupal-module"
            ],
...................................................

then composer update, it install Drupal 11.4.1 and website is still online but if I try to access every administration page I got error 500

pobster’s picture

Are you sure it applied?  Take a look at that file. If it is altered, then perhaps you are using opcache - if so, take a look at: https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.r... and well, for now - just restart your php-fpm to revalidate.

And if it's not changed, then it's been reverted by the composer update - which will happen if you didn't add the patch file to your composer.json properly, or perhaps haven't installed "cweagans/composer-patches", or it could be that the patch didn't apply properly due to an issue with the patch itself.

The telling part in the log is this:

Drupal\file_entity\Plugin\Field\FieldFormatter\FileImageResponsiveFormatter::$currentUser must be Drupal\Core\Session\AccountInterface

This is occurring because there's no use statement at the top of the file.  This causes PHP to use the current namespace to resolve the class typehint, which is why it looks at FieldFormatter rather than AccountInterface (since it's not aware of it).

niubbo75’s picture

Well, it didn't patch infact, but I had to do this:

web10@debianisp:~/web/drupal$ /usr/bin/php8.5 /usr/local/bin/composer reinstall drupal/file_entity
  - Removing drupal/file_entity (2.5.0)
Deleting /var/www/clients/client0/web10/web/drupal/web/modules/contrib/file_entity - deleted
  - Installing drupal/file_entity (2.5.0): Extracting archive
  - Patching drupal/file_entity
      - Found cached patch at /var/www/clients/client0/web10/home/defaultbonacina/.cache/composer/patches/5029c35295e14517a139063e59399220f3708944a824e147592eec0d06998714.patch
  * 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
web10@debianisp:~/web/drupal$ 

after that I can load website but, if I try to go on an administrative page, I got this: "The website encountered an unexpected error. Try again later.".
Then I run update.php and it end with success.
I have do the same on the other websites and all goes well.

Thanks for your support pobster

Best regards

pobster’s picture

That's probably another 500 error - is it the same one in the logs?

niubbo75’s picture

Nope, it's not a 500 now it works! The only thing I had to do is to reinstall file_entity to get patch applied, after that I can run update.php anche all gose well.

pobster’s picture

Awesome! Pleased it's worked out for you

dadderley’s picture

The other day I attempted to upgrade a site to 11.4.1.
The site croaked with no helpful error messages.
I deduced (after several restores) that this module https://www.drupal.org/project/search_exclude was not playing nice, and sure enough I found this: Module not compatible with Drupal 11.4+ - https://www.drupal.org/project/search_exclude/issues/3594295

Today on one of the sites that I upgraded to 11.4, I realized that the search was broken. The search block decided to use the search/help page for some reason. Frustrating

Today I tried to upgrade a site from 11.3.11 to 11.4.1.
The site is really simple and does not have search exclude. The site croaked with no helpful error messages. No idea what is going on. I am not using the file entity module by the way. I will figure it out.

Doing this upgrade is like playing Russian roulette.
I have a few more sites to upgrade.

rikibu’s picture

@dadderley

thanks for your reply to confirm that the update issues to 11.4.1 are not enforced/related to a specific additional module.

I also have the problem to update from 11.3.13 to 11.4.1 with a thrown error 500 but I don't know how to gather further details

when I check the things with

prohibits drupal/core 11.4.1

I get

drupal/core-recommended 11.3.13 requires         drupal/core (11.3.13)                                               
drupal/core             11.4.1  requires         drupal/core-composer-scaffold (                                     self.version)
drupal/legacy-project   -       does not require drupal/core-composer-scaffold (                                     but 11.3.13 is installed)

when I run the update procedure with --dry-run parameters I get this, but its hard for me to read this to find the essential information.

Generally when a module is for ^11 that should include the latest Drupal 11.4.1 version, right?

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drupal/admin_toolbar is locked to version 3.6.3 and an update of this package was not requested.
    - drupal/admin_toolbar 3.6.3 requires drupal/core ^9.5 || ^10 || ^11 -> found drupal/core[9.5.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - drupal/auto_entitylabel is locked to version 3.4.0 and an update of this package was not requested.
    - drupal/auto_entitylabel 3.4.0 requires drupal/core ^10.1 || ^11 -> found drupal/core[10.1.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - drupal/backup_migrate is locked to version 5.1.4 and an update of this package was not requested.
    - drupal/backup_migrate 5.1.4 requires drupal/core ^9.5 || ^10 || ^11 -> found drupal/core[9.5.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - drupal/better_exposed_filters is locked to version 7.1.2 and an update of this package was not requested.
    - drupal/better_exposed_filters 7.1.2 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 5
    - drupal/block_aria_landmark_roles is locked to version 3.0.2 and an update of this package was not requested.
    - drupal/block_aria_landmark_roles 3.0.2 requires drupal/core ^10 || ^11 || ^12 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 6
    - drupal/captcha is locked to version 2.0.10 and an update of this package was not requested.
    - drupal/captcha 2.0.10 requires drupal/core ^9.5 || ^10 || ^11 -> found drupal/core[9.5.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 7
    - drupal/ckeditor5_icons is locked to version 1.3.0 and an update of this package was not requested.
    - drupal/ckeditor5_icons 1.3.0 requires drupal/core ^10.6 || ^11.3 -> found drupal/core[10.6.0, ..., 10.6.12, 11.3.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 8
    - drupal/ckeditor5_plugin_pack is locked to version 1.5.3 and an update of this package was not requested.
    - drupal/ckeditor5_plugin_pack 1.5.3 requires drupal/core ^10.3 || ^11.0 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 9
    - drupal/ckeditor5_premium_features is locked to version 1.8.2 and an update of this package was not requested.
    - drupal/ckeditor5_premium_features 1.8.2 requires drupal/core ^10.3 || ^11.0 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 10
    - drupal/colorbox is locked to version 2.2.1 and an update of this package was not requested.
    - drupal/colorbox 2.2.1 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 11
    - drupal/core-recommended is locked to version 11.3.13 and an update of this package was not requested.
    - drupal/core-recommended 11.3.13 requires drupal/core 11.3.13 -> found drupal/core[11.3.13] but it conflicts with your temporary update constraint (drupal/core:11.4.1).
  Problem 12
    - drupal/csv_serialization is locked to version 4.0.1 and an update of this package was not requested.
    - drupal/csv_serialization 4.0.1 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 13
    - drupal/ctools is locked to version 4.1.0 and an update of this package was not requested.
    - drupal/ctools 4.1.0 requires drupal/core ^9.5 || ^10 || ^11 -> found drupal/core[9.5.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 14
    - drupal/custom_breadcrumbs is locked to version 1.1.3 and an update of this package was not requested.
    - drupal/custom_breadcrumbs 1.1.3 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 15
    - drupal/db_maintenance is locked to version 3.0.0-rc4 and an update of this package was not requested.
    - drupal/db_maintenance 3.0.0-rc4 requires drupal/core ^8 || ^9 || ^10 || ^11 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 16
    - drupal/editor_advanced_link is locked to version 2.3.4 and an update of this package was not requested.
    - drupal/editor_advanced_link 2.3.4 requires drupal/core ^10.5 || ^11.2 -> found drupal/core[10.5.0, ..., 10.6.12, 11.2.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 17
    - drupal/eu_cookie_compliance is locked to version 1.29.0 and an update of this package was not requested.
    - drupal/eu_cookie_compliance 1.29.0 requires drupal/core ^8.9 || ^9 || ^10 || ^11 -> found drupal/core[8.9.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 18
    - drupal/feeds is locked to version 3.2.0 and an update of this package was not requested.
    - drupal/feeds 3.2.0 requires drupal/core ^10.2 || ^11 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 19
    - drupal/field_group is locked to version 4.0.0 and an update of this package was not requested.
    - drupal/field_group 4.0.0 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 20
    - drupal/fontawesome is locked to version 3.0.0 and an update of this package was not requested.
    - drupal/fontawesome 3.0.0 requires drupal/core ^10.2 || ^11.0 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 21
    - drupal/fullcalendar_view is locked to version 5.2.5 and an update of this package was not requested.
    - drupal/fullcalendar_view 5.2.5 requires drupal/core ^9.2.0 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 22
    - drupal/geolocation is locked to version 3.15.0 and an update of this package was not requested.
    - drupal/geolocation 3.15.0 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 23
    - drupal/gin is locked to version 5.0.15 and an update of this package was not requested.
    - drupal/gin 5.0.15 requires drupal/core ^11.2 -> found drupal/core[11.2.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 24
    - drupal/gin_login is locked to version 2.1.4 and an update of this package was not requested.
    - drupal/gin_login 2.1.4 requires drupal/core ^10.2 || ^11 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 25
    - drupal/imce is locked to version 3.1.5 and an update of this package was not requested.
    - drupal/imce 3.1.5 requires drupal/core ^9.3 || ^10 || ^11 -> found drupal/core[9.3.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 26
    - drupal/jquery_ui_accordion is locked to version 2.1.0 and an update of this package was not requested.
    - drupal/jquery_ui_accordion 2.1.0 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 27
    - drupal/jquery_ui_button is locked to version 2.1.0 and an update of this package was not requested.
    - drupal/jquery_ui_button 2.1.0 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 28
    - drupal/jquery_ui_checkboxradio is locked to version 2.1.0 and an update of this package was not requested.
    - drupal/jquery_ui_checkboxradio 2.1.0 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 29
    - drupal/jquery_ui_controlgroup is locked to version 2.1.0 and an update of this package was not requested.
    - drupal/jquery_ui_controlgroup 2.1.0 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 30
    - drupal/jquery_ui_datepicker is locked to version 2.1.1 and an update of this package was not requested.
    - drupal/jquery_ui_datepicker 2.1.1 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 31
    - drupal/jquery_ui_slider is locked to version 2.1.0 and an update of this package was not requested.
    - drupal/jquery_ui_slider 2.1.0 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 32
    - drupal/jquery_ui_touch_punch is locked to version 1.1.1 and an update of this package was not requested.
    - drupal/jquery_ui_touch_punch 1.1.1 requires drupal/core ^9.2 || ^10 || ^11 -> found drupal/core[9.2.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 33
    - drupal/juicebox is locked to version 4.0.0-alpha2 and an update of this package was not requested.
    - drupal/juicebox 4.0.0-alpha2 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 34
    - drupal/l10n_tools is locked to version 1.0.3 and an update of this package was not requested.
    - drupal/l10n_tools 1.0.3 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 35
    - drupal/linkit is locked to version 7.0.16 and an update of this package was not requested.
    - drupal/linkit 7.0.16 requires drupal/core ^10.2 || ^11 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 36
    - drupal/menu_block is locked to version 1.14.0 and an update of this package was not requested.
    - drupal/menu_block 1.14.0 requires drupal/core ^10.1 || ^11 -> found drupal/core[10.1.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 37
    - drupal/menu_breadcrumb is locked to version 2.0.1 and an update of this package was not requested.
    - drupal/menu_breadcrumb 2.0.1 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 38
    - drupal/metatag is locked to version 2.2.0 and an update of this package was not requested.
    - drupal/metatag 2.2.0 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 39
    - drupal/module_filter is locked to version 5.0.5 and an update of this package was not requested.
    - drupal/module_filter 5.0.5 requires drupal/core ^10 || ^11 || ^12 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 40
    - drupal/node_revision_delete is locked to version 2.1.1 and an update of this package was not requested.
    - drupal/node_revision_delete 2.1.1 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 41
    - drupal/office_hours is locked to version 1.29.0 and an update of this package was not requested.
    - drupal/office_hours 1.29.0 requires drupal/core ^8 || ^9 || ^10 || ^11 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 42
    - drupal/pathauto is locked to version 1.15.0 and an update of this package was not requested.
    - drupal/pathauto 1.15.0 requires drupal/core ^10.2 || ^11 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 43
    - drupal/pathologic is locked to version 2.0.0 and an update of this package was not requested.
    - drupal/pathologic 2.0.0 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 44
    - drupal/popup_message is locked to version 3.0.3 and an update of this package was not requested.
    - drupal/popup_message 3.0.3 requires drupal/core >=10 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 45
    - drupal/quick_node_clone is locked to version 1.22.0 and an update of this package was not requested.
    - drupal/quick_node_clone 1.22.0 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 46
    - drupal/redirect is locked to version 1.13.0 and an update of this package was not requested.
    - drupal/redirect 1.13.0 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 47
    - drupal/responsive_favicons is locked to version 4.0.0 and an update of this package was not requested.
    - drupal/responsive_favicons 4.0.0 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 48
    - drupal/riddler is locked to version 3.0.2 and an update of this package was not requested.
    - drupal/riddler 3.0.2 requires drupal/core ^10 || ^11 -> found drupal/core[10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 49
    - drupal/scheduler is locked to version 2.3.0 and an update of this package was not requested.
    - drupal/scheduler 2.3.0 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 50
    - drupal/selective_better_exposed_filters is locked to version 3.0.3 and an update of this package was not requested.
    - drupal/selective_better_exposed_filters 3.0.3 requires drupal/core ^8 || ^9 || ^10 || ^11 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 51
    - drupal/simple_sitemap is locked to version 4.2.3 and an update of this package was not requested.
    - drupal/simple_sitemap 4.2.3 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 52
    - drupal/single_content_sync is locked to version 1.4.15 and an update of this package was not requested.
    - drupal/single_content_sync 1.4.15 requires drupal/core ^9.3 || ^10 || ^11 -> found drupal/core[9.3.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 53
    - drupal/sitemap is locked to version 2.6.0 and an update of this package was not requested.
    - drupal/sitemap 2.6.0 requires drupal/core ^10.2 || ^11 -> found drupal/core[10.2.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 54
    - drupal/sitewide_alert is locked to version 3.1.2 and an update of this package was not requested.
    - drupal/sitewide_alert 3.1.2 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 55
    - drupal/smtp is locked to version 1.4.0 and an update of this package was not requested.
    - drupal/smtp 1.4.0 requires drupal/core ^9.5 || ^10 || ^11 -> found drupal/core[9.5.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 56
    - drupal/svg_image is locked to version 3.2.4 and an update of this package was not requested.
    - drupal/svg_image 3.2.4 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 57
    - drupal/vefl is locked to version 3.2.0 and an update of this package was not requested.
    - drupal/vefl 3.2.0 requires drupal/core ^8 || ^9 || ^10 || ^11 -> found drupal/core[8.0.0, ..., 8.9.20, 9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 58
    - drupal/views_bulk_operations is locked to version 4.4.5 and an update of this package was not requested.
    - drupal/views_bulk_operations 4.4.5 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 59
    - drupal/views_data_export is locked to version 1.10.0 and an update of this package was not requested.
    - drupal/views_data_export 1.10.0 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 60
    - drupal/views_flipped_table is locked to version 3.0.0 and an update of this package was not requested.
    - drupal/views_flipped_table 3.0.0 requires drupal/core ^10.3 || ^11 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 61
    - drupal/views_infinite_scroll is locked to version 2.0.3 and an update of this package was not requested.
    - drupal/views_infinite_scroll 2.0.3 requires drupal/core ^10.1 || ^11 -> found drupal/core[10.1.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 62
    - drupal/views_slideshow is locked to version 5.0.1 and an update of this package was not requested.
    - drupal/views_slideshow 5.0.1 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 63
    - drupal/webform is locked to version 6.3.0 and an update of this package was not requested.
    - drupal/webform 6.3.0 requires drupal/core ^10.3 || ^11.0 -> found drupal/core[10.3.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
  Problem 64
    - drupal/webform_email_confirmation_link is locked to version 1.0.3 and an update of this package was not requested.
    - drupal/webform_email_confirmation_link 1.0.3 requires drupal/core ^9 || ^10 || ^11 -> found drupal/core[9.0.0, ..., 9.5.11, 10.0.0, ..., 10.6.12, 11.0.0, ..., 11.4.1] but these were not loaded, likely because it conflicts with another require.
ressa’s picture

For Composer questions, please share your composer.json file, so we can better help you:

Share your composer.json file for Composer questions

If you are having problems with Composer, for example running composer update, please ask in the Composer forum, and include the following:

  1. Drupal version (original/target), Composer version, PHP version, Operating System, and Local server setup (DDEV, Lando, XAMPP, etc.)
  2. Your composer.json file
  3. The command you ran, including the result

This makes it much easier to help you solve your issue.

From How to ask for support from the Drupal community > Share your composer.json file for Composer questions.

rikibu’s picture

Hey ressa, 

I knew that i missed something to share...:-)

here is the composer.json file

{
    "name": "drupal/legacy-project",
    "description": "Project template for Drupal projects with composer following drupal/drupal layout",
    "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.3",
        "drupal/admin_toolbar": "^3.6",
        "drupal/auto_entitylabel": "^3.4",
        "drupal/backup_migrate": "^5.1",
        "drupal/better_exposed_filters": "^7.1@beta",
        "drupal/block_aria_landmark_roles": "^3.0",
        "drupal/captcha": "^2.0",
        "drupal/ckeditor5_icons": "^1.2",
        "drupal/ckeditor5_plugin_pack": "^1.4",
        "drupal/ckeditor5_premium_features": "^1.6",
        "drupal/colorbox": "^2.1",
        "drupal/core-composer-scaffold": "^11.2",
        "drupal/core-project-message": "^11.2",
        "drupal/core-recipe-unpack": "^11.2",
        "drupal/core-recommended": "^11.2",
        "drupal/core-vendor-hardening": "^11.2",
        "drupal/csv_serialization": "^4.0",
        "drupal/ctools": "^4.1",
        "drupal/custom_breadcrumbs": "^1.1",
        "drupal/db_maintenance": "^3.0@rc",
        "drupal/editor_advanced_link": "^2.3",
        "drupal/eu_cookie_compliance": "^1.2.8",
        "drupal/feeds": "^3.0",
        "drupal/field_group": "^4.0",
        "drupal/fontawesome": "^3.0",
        "drupal/fullcalendar_view": "^5.2",
        "drupal/geolocation": "^3.15",
        "drupal/gin": "^5.0",
        "drupal/gin_login": "^2.1",
        "drupal/imce": "^3.1",
        "drupal/jquery_ui_accordion": "^2.1",
        "drupal/jquery_ui_button": "^2.1",
        "drupal/jquery_ui_checkboxradio": "^2.1",
        "drupal/jquery_ui_controlgroup": "^2.1",
        "drupal/jquery_ui_datepicker": "^2.1",
        "drupal/jquery_ui_slider": "^2.1",
        "drupal/jquery_ui_touch_punch": "^1.1",
        "drupal/juicebox": "^4.0@alpha",
        "drupal/l10n_tools": "^1.0",
        "drupal/linkit": "^7.0",
        "drupal/menu_block": "^1.1.4",
        "drupal/menu_breadcrumb": "^2.0",
        "drupal/metatag": "^2.2",
        "drupal/module_filter": "^5.0",
        "drupal/node_revision_delete": "^2.0",
        "drupal/office_hours": "^1.2.8",
        "drupal/pathauto": "^1.1.14",
        "drupal/pathologic": "^2.0@alpha",
        "drupal/popup_message": "^3.0",
        "drupal/quick_node_clone": "^1.22",
        "drupal/redirect": "^1.12",
        "drupal/responsive_favicons": "^4.0",
        "drupal/riddler": "^3.0",
        "drupal/scheduler": "^2.2",
        "drupal/selective_better_exposed_filters": "^3.0",
        "drupal/simple_sitemap": "^4.2",
        "drupal/single_content_sync": "^1.4",
        "drupal/sitemap": "^2.4",
        "drupal/sitewide_alert": "^3.0",
        "drupal/smtp": "^1.4",
        "drupal/svg_image": "^3.2",
        "drupal/vefl": "^3.2",
        "drupal/views_bulk_operations": "^4.3",
        "drupal/views_data_export": "^1.6",
        "drupal/views_flipped_table": "^3.0",
        "drupal/views_infinite_scroll": "^2.0",
        "drupal/views_slideshow": "^5.0",
        "drupal/webform": "^6.3@beta",
        "drupal/webform_email_confirmation_link": "^1.0"
    },
    "conflict": {
        "drupal/drupal": "*"
    },
    "minimum-stability": "stable",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "composer/installers": true,
            "drupal/core-composer-scaffold": true,
            "drupal/core-recipe-unpack": true,
            "drupal/core-project-message": true,
            "drupal/core-vendor-hardening": true,
            "phpstan/extension-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "php-http/discovery": true,
            "php-tuf/composer-integration": true
        },
        "sort-packages": true
    },
    "extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "./"
            }
        },
        "installer-paths": {
            "core": [
                "type:drupal-core"
            ],
            "libraries/{$name}": [
                "type:drupal-library"
            ],
            "modules/contrib/{$name}": [
                "type:drupal-module"
            ],
            "profiles/contrib/{$name}": [
                "type:drupal-profile"
            ],
            "themes/contrib/{$name}": [
                "type:drupal-theme"
            ],
            "drush/Commands/contrib/{$name}": [
                "type:drupal-drush"
            ],
            "modules/custom/{$name}": [
                "type:drupal-custom-module"
            ],
            "profiles/custom/{$name}": [
                "type:drupal-custom-profile"
            ],
            "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/legacy-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"
            ]
        }
    }
}

I always use the command

composer update 'drupal/core-*' --with-all-dependencies

The environment is PHP 8.5 on a virutal host from Ionos... works well enough until Drupal 11.3.x version

ressa’s picture

Thanks @rikibu! I tried installing with your composer.json file, it completed and I got Drupal 11.4.1, so everything looks fine.

Usually, when I am in this situation, I delete the composer.lock file, and repeat the command.

Another option could be adding the --lock parameter, though it may not be enough (deletion is needed):

update / u / upgrade

In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command. This command is also aliased as upgrade as it does the same as upgrade does if you are thinking of apt-get or similar package managers.

php composer.phar update

This will resolve all dependencies of the project and write the exact versions into composer.lock.

[...]

  • --lock: Overwrites the lock file hash to suppress warning about the lock file being out of date without updating package versions. Package metadata like mirrors and URLs are updated if they changed.
  • [...]

From https://getcomposer.org/doc/03-cli.md#update-u-upgrade

rikibu’s picture

Hey ressa,

sorry for my late reply. I will try your ideas to find out more but I have fears to crash the site again.

The strange thing is, that the composer update procedure runs without any composer error message but after modifying the .htaccess (rewritebase and route all requests to url without www) the site throws a browser based (firefox) 500 error, not even the known white page with black text... 

I investigate more... maybe it has something to do with .htaccess changes? 

ressa’s picture

That's all right, though now you mention .htaccess, which is another problem?

Anyway, always perform any updates locally first with Composer and Drush, to check if everything works out fine. Use DDEV or another Docker-based dev tool.

dadderley’s picture

@rikibu Thanks.

I managed to get the update done after a few foiled attempts. All seemed good until I tried the search.
I got a load of errors indicating a problem with search and a WSOD.

So I reinstalled core.
There were problems with search_help. I had to uninstall it to proceed.

mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# composer reinstall "drupal/core-*"
- Removing drupal/core-recommended (11.4.1)
- Removing drupal/core-project-message (11.4.1)
- Removing drupal/core-composer-scaffold (11.4.1)
- Downloading drupal/core-composer-scaffold (11.4.1)
- Downloading drupal/core-project-message (11.4.1)
- Installing drupal/core-composer-scaffold (11.4.1): Extracting archive
- Installing drupal/core-project-message (11.4.1): Extracting archive
- Installing drupal/core-recommended (11.4.1)
* 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
Wed Jul 08 12:25:33
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush updb
[warning] Schema information for module search_help was missing from the database. You should manually review the module updates and your database to check if any updates have been skipped up to, and including, search_help_update_8000().
[warning] Schema information for module search_node was missing from the database. You should manually review the module updates and your database to check if any updates have been skipped up to, and including, search_node_update_8000().
[error] (Currently using Removed core module You must add the following contributed module and reload this page.
* Action UI [1]

This module is installed on your site but is no longer provided by Core.
For more information read the documentation on deprecated modules. [2]

[1] https://www.drupal.org/project/action
[2] https://www.drupal.org/node/3223395#s-recommendations-for-deprecated-modules
)

┌ Requirements check reports errors. Do you wish to continue? ─┐
│ Yes │
└──────────────────────────────────────────────────────────────┘

-------------------- ------------ --------------- ----------------------------
Module Update ID Type Description
-------------------- ------------ --------------- ----------------------------
system 11400 hook_update_n 11400 - Install Help
Search module if the
Search and Help modules
are installed.
system 11401 hook_update_n 11401 - Install Search
node module if node and
search are installed.
search 11400 hook_update_n 11400 - Install Search
Node and Search and Node
are installed.
announcements_feed migrate_la post-update Migrates last fetch
st_fetch_s timestamp from State API
tate_to_ke to keyvalue storage.
yvalue
field clear_purg post-update Removes the
e_batch_si purge_batch_size config.
ze
help search_hel post-update Update config entity
p_dependen dependencies to the Search
cies Help module, if necessary.
@see
system_update_11400()
olivero remove_sho post-update Remove shortcut settings
rtcut_sett if shortcut module is not
ings_if_no installed.
t_installe
d
system migrate_co post-update Migrate to new compress
mpress_set setting.
ting
system remove_non post-update Remove non-admin routes
_admin_rou state key.
tes_state
-------------------- ------------ --------------- ----------------------------

┌ Do you wish to run the specified pending updates? ───────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘

[notice] Module action has an entry in the system.schema key/value storage, but is missing from your site. <a href="https://www.drupal.org/node/3137656">More information about this error</a>.
> [notice] Update started: system_update_11400
> [notice] Update completed: system_update_11400
> [notice] Update started: system_update_11401
> [notice] Update completed: system_update_11401
> [notice] Update started: search_update_11400
> [notice] Update completed: search_update_11400
>
> In ExceptionHandler.php line 96:
>
> SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org
> _NLYrwSS9EhFYJex6xUTVmw.help_search_items' doesn't exist: SELECT "hsi"."sid
> " AS "sid", "hsi"."topic_id" AS "topic_id", "hsi"."section_plugin_id" AS "s
> ection_plugin_id", "hsi"."permission" AS "permission"
> FROM
> "help_search_items" "hsi"; Array
> (
> )
>
>
> In PdoTrait.php line 109:
>
> SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org
> _NLYrwSS9EhFYJex6xUTVmw.help_search_items' doesn't exist
>
>

In ProcessBase.php line 155:

Output is empty.

Wed Jul 08 12:26:44
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# composer require 'drupal/action:^0.2'
./composer.json has been updated
Running composer update drupal/action
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking drupal/action (0.2.2)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Downloading drupal/action (0.2.2)
- Installing drupal/action (0.2.2): Extracting archive
Generating autoload files
53 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
Wed Jul 08 12:26:57
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush updb
-------------------- ------------- ------------- -----------------------------
Module Update ID Type Description
-------------------- ------------- ------------- -----------------------------
announcements_feed migrate_las post-update Migrates last fetch
t_fetch_sta timestamp from State API to
te_to_keyva keyvalue storage.
lue
field clear_purge post-update Removes the
_batch_size purge_batch_size config.
help search_help post-update Update config entity
_dependenci dependencies to the Search
es Help module, if necessary.
@see system_update_11400()
olivero remove_shor post-update Remove shortcut settings if
tcut_settin shortcut module is not
gs_if_not_i installed.
nstalled
system migrate_com post-update Migrate to new compress
press_setti setting.
ng
system remove_non_ post-update Remove non-admin routes
admin_route state key.
s_state
-------------------- ------------- ------------- -----------------------------

┌ Do you wish to run the specified pending updates? ───────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘

> [notice] Update started: announcements_feed_post_update_migrate_last_fetch_state_to_keyvalue
> [notice] Update completed: announcements_feed_post_update_migrate_last_fetch_state_to_keyvalue
> [notice] Update started: field_post_update_clear_purge_batch_size
> [notice] Update completed: field_post_update_clear_purge_batch_size
> [notice] Update started: help_post_update_search_help_dependencies
> [notice] Update completed: help_post_update_search_help_dependencies
> [notice] Update started: olivero_post_update_remove_shortcut_settings_if_not_installed
> [notice] Update completed: olivero_post_update_remove_shortcut_settings_if_not_installed
> [notice] Update started: system_post_update_migrate_compress_setting
> [notice] Update completed: system_post_update_migrate_compress_setting
> [notice] Update started: system_post_update_remove_non_admin_routes_state
> [notice] Update completed: system_post_update_remove_non_admin_routes_state
[success] Finished performing updates.

In ExceptionHandler.php line 96:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist: SELECT "hsi"."sid" AS "sid", "hsi"."topic_id" AS "topic_id", "hsi"."section_plugin_id" AS "sectio
n_plugin_id", "hsi"."permission" AS "permission"
FROM
"help_search_items" "hsi"; Array
(
)

In PdoTrait.php line 109:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist

Wed Jul 08 12:27:20
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush cr

In ExceptionHandler.php line 96:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist: SELECT "hsi"."sid" AS "sid", "hsi"."topic_id" AS "topic_id", "hsi"."section_plugin_id" AS "sectio
n_plugin_id", "hsi"."permission" AS "permission"
FROM
"help_search_items" "hsi"; Array
(
)

In PdoTrait.php line 109:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist

Wed Jul 08 12:27:34
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush ws
-------- -------------- ------ ---------- ----------------------------------------------------------------------------
ID Date Type Severity Message
-------- -------------- ------ ---------- ----------------------------------------------------------------------------
340042 08/Jul 12:30 php Error Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table
or view not found: 1146 Table
'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_items' doesn't exist:
SELECT "
340041 08/Jul 12:30 php Error Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table
or view not found: 1146 Table
'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_items' doesn't exist:
SELECT "
340040 08/Jul 12:29 php Error Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table
or view not found: 1146 Table
'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_items' doesn't exist:
SELECT "
340039 08/Jul 12:29 cron Info Cron run completed.
340038 08/Jul 12:29 cron Info Execution of webform_cron() took 21.28ms.
340037 08/Jul 12:29 cron Info Starting execution of webform_cron(), execution of update_cron() took
14.83ms.
340036 08/Jul 12:29 cron Info Starting execution of update_cron(), execution of system_cron() took
35.46ms.
340035 08/Jul 12:29 cron Info Starting execution of system_cron(), execution of smart_date_recur_cron()
took 0.33ms.
340034 08/Jul 12:29 cron Info Starting execution of smart_date_recur_cron(), execution of
search_node_cron() took 11.53ms.
340033 08/Jul 12:29 cron Info Starting execution of search_node_cron(), execution of search_cron() took
17.14ms.
-------- -------------- ------ ---------- ----------------------------------------------------------------------------
Wed Jul 08 12:31:24
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush updb
[success] No pending updates.

In ExceptionHandler.php line 96:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist: SELECT "hsi"."sid" AS "sid", "hsi"."topic_id" AS "topic_id", "hsi"."section_plugin_id" AS "sectio
n_plugin_id", "hsi"."permission" AS "permission"
FROM
"help_search_items" "hsi"; Array
(
)

In PdoTrait.php line 109:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.org_NLYrwSS9EhFYJex6xUTVmw.help_search_item
s' doesn't exist

Wed Jul 08 12:32:18
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush pmu search_help
[success] Successfully uninstalled: search_help
Wed Jul 08 12:33:42
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush cr
[success] Cache rebuild complete.
Wed Jul 08 12:33:57
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush updb
[success] No pending updates.
Wed Jul 08 12:35:55
mysite@ctweb10:~/sites/mysite.org_NLYrwSS9EhFYJex6xUTVmw# drush cr
[success] Cache rebuild complete.

dadderley’s picture

On 3 other sites I did this update. On all 3 sites the update went beautifully with no errors. There were no errors doing the drush updb either. All went smoothly.
However all 3 sites were WSOD.

In all cases I used drush to uninstall "search_help". Then cleared the cache and then ran composer update again. This brought the sites online again.

Not exactly sure what is going on here. Hopefully my comments might help somebody.

Added 07/10
The new 11.4.2 fixes this problem.

rikibu’s picture

indead... some errors are gone in 11.4.2 Drupal version. Updates runs smoothly and the site is still usable :-)

thanks to everyone who spent time with offering solutions, read all the posted stuff...

:-)

ressa’s picture

That sounds great @dadderley, thanks for the update. I searched for search_help_update_8000() in Drupal core issues and found #3608710: Core 11.3.13 to 11.4 fails on help_search_items doesn't exist which fixed it, where I now see you also left a comment.

dadderley’s picture

I have encountered these 2 issues as well that result in a WSOD

Background Images Formatter
https://www.drupal.org/project/bg_image_formatter

Update to 11.4 causes WSOD: Too few arguments to function
https://www.drupal.org/project/bg_image_formatter/issues/3608185

////////////

Search Exclude (Node)
https://www.drupal.org/project/search_exclude

Module not compatible with Drupal 11.4+
https://www.drupal.org/project/search_exclude/issues/3594295

ressa’s picture

Thanks for sharing, I wonder if it makes sense that there was a "meta Drupal 11.4 challenges"-issue or tag, so that these issues were connected somehow ... or maybe they don't share enough common patterns to justify that?