Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294638

Pantheon Builds fail with incorrect signature for MemoryBackend::_construct()

$
0
0

Problem/Motivation

This isn't a bug per-se with core as far as we can tell, but we have not been able to identify the source of build failures in an upgraded project on Pantheon. Pantheon does not believe the problem is on their end.

Steps to reproduce

Upgrade a D10 site to D11 and run a lullabot drainpipe.
The project fails with attached error.
Composer requirements are as follows. None of the code in these calls Drupal\Core\Cache\MemoryBackend::__construct()

"require": {
"composer/installers": "^2.3",
"cweagans/composer-patches": "^1.7",
"drupal/address": "^2.0.2",
"drupal/address_map_link": "^2.0@alpha",
"drupal/admin_toolbar": "^3.0",
"drupal/allowed_formats": "^3.0",
"drupal/anchor_link": "^3.0@alpha",
"drupal/better_exposed_filters": "^7.0",
"drupal/bigmenu": "^2.1",
"drupal/block_class": "^4.0.0",
"drupal/captcha": "^2.0.6",
"drupal/chosen": "^5.0.0",
"drupal/ckeditor_layouts": "^2.0",
"drupal/components": "^3.0@beta",
"drupal/conditional_fields": "^4@alpha",
"drupal/config_filter": "^2.6",
"drupal/config_ignore": "^3.2.0",
"drupal/config_views": "^2.1",
"drupal/core-composer-scaffold": "^11",
"drupal/core-project-message": "^11",
"drupal/core-recommended": "^11",
"drupal/cshs": "^4.0",
"drupal/easy_breadcrumb": "^2.0",
"drupal/embedded_content": "^2.0",
"drupal/emulsify_twig": "^5.0",
"drupal/entity_usage": "^2.0@beta",
"drupal/entitygroupfield": "^2.0",
"drupal/environment_indicator": "^4.0",
"drupal/exif_orientation": "^1.2",
"drupal/extlink": "^2.0.4",
"drupal/field_group": "^3.2",
"drupal/flood_control": "^3.0.0",
"drupal/focal_point": "^2.0",
"drupal/fontawesome": "^3.0",
"drupal/fontawesome_menu_icons": "^3.0",
"drupal/fpa": "^4.0",
"drupal/geocoder": "^3.20 || ^4.0",
"drupal/geofield": "^1.44",
"drupal/gin": "^4.0.2",
"drupal/gin_toolbar": "^2.0.0",
"drupal/group": "^3.3.1",
"drupal/groupmedia": "^4.0.3",
"drupal/honeypot": "^2.2.0",
"drupal/hook_event_dispatcher": "^4.0@RC",
"drupal/image_widget_crop": "^3.0",
"drupal/jquery_ui": "^1.7",
"drupal/jquery_ui_datepicker": "^2.1",
"drupal/jquery_ui_slider": "^2.1",
"drupal/jquery_ui_touch_punch": "^1.1",
"drupal/leaflet": "^10.2",
"drupal/leaflet_more_maps": "^2.1",
"drupal/linkit": "^7.0.2",
"drupal/masquerade": "^2.0@RC",
"drupal/media_library_bulk_upload": "^1.0",
"drupal/menu_breadcrumb": "^2.0",
"drupal/metatag": "^2.0.0",
"drupal/migrate_plus": "^6.0",
"drupal/migrate_source_csv": "^3.5",
"drupal/migrate_tools": "^6.0",
"drupal/miniorange_saml": "^3.0",
"drupal/node_revision_delete": "^2.0@alpha",
"drupal/office_hours": "^1.5",
"drupal/paragraphs": "^1.12",
"drupal/paranoia": "^1.0",
"drupal/password_policy": "^4.0",
"drupal/path_redirect_import": "^2.0",
"drupal/pathauto": "^1.8",
"drupal/rabbit_hole": "^1.0.0-beta1",
"drupal/recaptcha": "^3.0",
"drupal/redirect": "^1.6",
"drupal/redis": "^1.9",
"drupal/robotstxt": "^1.5",
"drupal/scheduler": "^2.0",
"drupal/scheduler_content_moderation_integration": "^3.0",
"drupal/search_api_pantheon": "^8.3",
"drupal/search_api_solr": "^4.2",
"drupal/security_review": "^3.0.3",
"drupal/shortcutperrole": "^2.0",
"drupal/simple_menu_permissions": "^3.0",
"drupal/simple_sitemap": "^4.0",
"drupal/smtp": "^1.1",
"drupal/token": "^1.9",
"drupal/twig_tweak": "^3.1",
"drupal/upgrade_status": "^4.3",
"drupal/username_enumeration_prevention": "^1.2",
"drupal/views_bulk_operations": "^4.2",
"drupal/viewsreference": "^2.0@beta",
"drush/drush": "^13.4",
"geocoder-php/google-maps-provider": "^4.7",
"kporras07/composer-symlinks": "^0.1.0@dev",
"lullabot/drainpipe": "^3.8.2",
"mnsami/composer-custom-directory-installer": "^2.0",
"noli42/chosen": "3.0.0",
"northernco/ckeditor5-anchor-drupal": "^0.4.0",
"npm-asset/featherlight": "1.7.14",
"npm-asset/focus-trap": "^7.3",
"npm-asset/js-cookie": "^3.0",
"npm-asset/tabbable": "^6.2",
"oomphinc/composer-installers-extender": "^2.0",
"pantheon-systems/drupal-integrations": "^11.1",
"pantheon-upstreams/upstream-configuration": "dev-main",
}

Proposed resolution

Patch the core module temporarily so that the MemoryBackend::construct() does not require a TimeInterface.

If no time interface is received, create one with a now() value.

Remaining tasks

Determine the upstream cause.


Viewing all articles
Browse latest Browse all 294638

Trending Articles