Recent comments

🇺🇸United States adrianm6254

The code to include settings.pantheon.php is in settings.php, and the file settings.pantheon.php is located at web/sites/default/settings.pantheon.php

The include code in settings.php is:


/**
 * Include the Pantheon-specific settings file.
 *
 * n.b. The settings.pantheon.php file makes some changes
 *      that affect all environments that this site
 *      exists in.  Always include this file, even in
 *      a local development environment, to ensure that
 *      the site settings remain consistent.
 */
include __DIR__ . "/settings.pantheon.php";

🇺🇸United States adrianm6254

We upgraded to 7.1.1 and all is well.
Thanks!

🇺🇸United States adrianm6254

@electric.larry I tried patch from #14 first and it would not apply, but the patch from #11 applied for me.

🇺🇸United States adrianm6254

Everything is fine when I use 2.0.0-alpha6. 2.0.x-dev works okay as well.

When I do a simple composer update to 2.0.0-alpha7 or 2.0.0-alpha8 I get WSOD.

composer require 'drupal/project_browser:^2.0@alpha'

🇺🇸United States adrianm6254

I was able to apply both #4 & #6 successfully. I will stay with #6.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch 3438472-automated-drupal-11 to active.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch project-update-bot-only to active.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch 3438472-drupal-11-compatibility to active.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch 3438472-automated-drupal-11 to hidden.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch 3438472-drupal-11-compatibility to hidden.

🇺🇸United States adrianm6254

adrianm6254 changed the visibility of the branch 3438472-drupal-11-compatibility to hidden.

🇺🇸United States adrianm6254

adrianm6254 created an issue.

🇺🇸United States adrianm6254

I was able to use the same patch mentioned in #11 to fix my site.

🇺🇸United States adrianm6254

I saw that issue https://www.drupal.org/project/project_browser/issues/3500024 🐛 WSOD when using settings to limit sources to recipes Active we fixed so I tried that patch https://git.drupalcode.org/project/project_browser/-/merge_requests/673 but it did not work for me so please re-open this for me.

Thanks

🇺🇸United States adrianm6254

Then make sure you are specifying your root directory under your merge-plugin & installer-path statements.

🇺🇸United States adrianm6254

Question? Where is your codebase located?

Is it in the root directory or is it in the web directory?

Make sure you are pointing composer to your contrib modules are located.

🇺🇸United States adrianm6254

First of all, the last composer.json (#11) has a lot of conflicting code (changes that I did not suggest) for installing the fancytree library with composer.

For my help you need to do is go back to what you posted in #9.

Apply the suggestions I gave from #10

I you still have a problem I will work with you from there (without all the other changes you added).

🇺🇸United States adrianm6254

I tried using 2.4.0 & dev-2.x and I am unable to apply MR !24 patch

🇺🇸United States adrianm6254

Hi paintingguy,

Here are the issues I see with your composer.json

1) You should only have 1 repository heading

  "repositories": [
    {
      "type": "package",
      "package": {
        "name": "enyo/dropzone",
        "version": "6.0.0-beta.2",
        "type": "drupal-library",
        "dist": {
          "url": "https://github.com/dropzone/dropzone/releases/download/v6.0.0-beta.2/dis...",
          "type": "zip"
        }
      }
    },
    {
      "type": "package",
      "package": {
        "name": "jackmoore/colorbox",
        "version": "1.6.4",
        "type": "drupal-library",
        "dist": {
          "url": "https://github.com/jackmoore/colorbox/archive/1.6.4.zip",
          "type": "zip"
        }
      }
    },
    {
      "type": "composer",
      "url": "https://packages.drupal.org/8"
    }
  ],

2) You are missing "merge-plugin section which is placed under the "extra" section

        "merge-plugin": {
            "include": [
                "web/modules/contrib/webform/composer.libraries.json",
                "web/modules/contrib/*/composer.libraries.json"
            ]
        },

3) I don't see your fancytree/fancytree package in the require section
- you have to run "composer require fancytree/fancytree" once everything is setup in your composer.json to install the library

🇺🇸United States adrianm6254

Looks like you need to add "www/modules/contrib/taxonomy_manager/composer.libraries.json" to your merge-plugin statement.

"extra": {
"merge-plugin": {
"include": [
"www/modules/contrib/webform/composer.libraries.json",
"www/modules/custom/*/composer.json",
"www/profiles/custom/*/composer.json",
"www/themes/custom/*/composer.json"
],

🇺🇸United States adrianm6254

I'm not sure how you tried installing fancytree library but I was able to install it with no problems.

I used the `wikimedia/composer-merge-plugin` to install the library using composer.

You can find the procedure here to accomplish it:

https://www.drupal.org/docs/contributed-modules/webform/webform-cookbook...

🇺🇸United States adrianm6254

I am having the same issue. I am including my log of the warning.

User warning: Trying to overwrite a cache redirect with one that has nothing in common, old one at address "languages:language_interface, theme, user.permissions, route.name.is_layout_builder_ui" was pointing to "context_stack:view:9449f4ef8e50a89825a4445c64e93b4a", new one points to "context_stack:view:ee1d86660efff497e0d4f88f265e687e". in Drupal\Core\Cache\VariationCache->set() (line 138 of .../web/core/lib/Drupal/Core/Cache/VariationCache.php)

#0 .../web/core/includes/bootstrap.inc(166): _drupal_error_handler_real(512, 'Trying to overw...', '/home/xxx...', 138)
#1 [internal function]: _drupal_error_handler(512, 'Trying to overw...', '/home/xxx...', 138)
#2 .../web/core/lib/Drupal/Core/Cache/VariationCache.php(138): trigger_error('Trying to overw...', 512)
#3 .../web/core/lib/Drupal/Core/Render/RenderCache.php(92): Drupal\Core\Cache\VariationCache->set(Array, Array, Object(Drupal\Core\Cache\CacheableMetadata), Object(Drupal\Core\Cache\CacheableMetadata))
#4 .../web/core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php(127): Drupal\Core\Render\RenderCache->set(Array, Array)
#5 .../web/core/lib/Drupal/Core/Render/Renderer.php(584): Drupal\Core\Render\PlaceholderingRenderCache->set(Array, Array)
#6 .../web/core/lib/Drupal/Core/Render/Renderer.php(504): Drupal\Core\Render\Renderer->doRender(Array)
#7 .../web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#8 .../web/core/lib/Drupal/Core/Template/TwigExtension.php(484): Drupal\Core\Render\Renderer->render(Array)
#9 .../web/sites/default/files/php/twig/6765f41a5db7e_page.html.twig_vgqHdACnoXdk7NRozFtijxvjO/LvotwseHwWQoOqxChHzF_p4uRLXDE_IdFmPB06YFbLY.php(329): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#10 .../vendor/twig/twig/src/Template.php(387): __TwigTemplate_480925317b68064ddd31e111b10d8f9c->doDisplay(Array, Array)
#11 .../vendor/twig/twig/src/Template.php(343): Twig\Template->yield(Array, Array)
#12 .../vendor/twig/twig/src/Template.php(358): Twig\Template->display(Array)
#13 .../vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#14 .../web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#15 .../web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/n...', Array)
#16 .../web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('page', Array)
#17 .../web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#18 .../web/core/lib/Drupal/Core/Template/TwigExtension.php(484): Drupal\Core\Render\Renderer->render(Array)
#19 .../web/sites/default/files/php/twig/6765f41a5db7e_html.html.twig_O2cP37t0XjrjP--x4EKWg3wIm/-Y1_TmydklAhduRCKolylSEwdglGn2phDpZH-fgNzig.php(79): Drupal\Core\Template\TwigExtension->escapeFilter(Object(Drupal\Core\Template\TwigEnvironment), Array, 'html', NULL, true)
#20 .../vendor/twig/twig/src/Template.php(387): __TwigTemplate_cc8cca55ec5f9b87f8c4ee0fae94bf67->doDisplay(Array, Array)
#21 .../vendor/twig/twig/src/Template.php(343): Twig\Template->yield(Array, Array)
#22 .../vendor/twig/twig/src/Template.php(358): Twig\Template->display(Array)
#23 .../vendor/twig/twig/src/TemplateWrapper.php(35): Twig\Template->render(Array)
#24 .../web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render(Array)
#25 .../web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template('themes/custom/n...', Array)
#26 .../web/core/lib/Drupal/Core/Render/Renderer.php(491): Drupal\Core\Theme\ThemeManager->render('html', Array)
#27 .../web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender(Array, false)
#28 .../web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(158): Drupal\Core\Render\Renderer->render(Array)
#29 .../web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}()
#30 .../web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(153): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#31 .../web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch))
#32 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#33 .../web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#34 .../vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ViewEvent), 'kernel.view')
#35 .../vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#36 .../web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 .../web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 .../web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 .../web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 .../web/core/modules/page_cache/src/StackMiddleware/PageCache.php(201): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#41 .../web/core/modules/page_cache/src/StackMiddleware/PageCache.php(138): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#42 .../web/core/modules/page_cache/src/StackMiddleware/PageCache.php(87): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#43 .../web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#44 .../web/modules/contrib/crowdsec/src/Middleware.php(96): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#45 .../web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\crowdsec\Middleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#46 .../web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#47 .../web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#48 .../web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#49 .../web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#50 .../web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#51 {main}

🇺🇸United States adrianm6254

I was able to apply patch #11 successfully.

It took care of my issue.

🇺🇸United States adrianm6254

I tried #4 and it cleared the "mismatched entity and/or field definitions error"

Thanks

🇺🇸United States adrianm6254

An FYI, I applied MR8487 to 2 of my sites and the error is gone.

Thanks!

🇺🇸United States adrianm6254

I tried #14 and that did not resolve my issue that only started when I installed 10.3.0-rc1.

I am getting this same error on every site I have upgraded.

🇺🇸United States adrianm6254

I applied MR !41 and the error is gone.

Thanks!

🇺🇸United States adrianm6254

Merge request !70 fixed my issue.

🇺🇸United States adrianm6254

I tried MR !5005 and it did not work. I was able to use #21 successfully.

I am on 10.2.6 using php 8.2.18

Thanks

🇺🇸United States adrianm6254

Has there been any movement on this issue?

I tried to apply the patch but it fails to apply.

🇺🇸United States adrianm6254

Merge request !86 did not work for me. I tried Merge request !70 and found that worked for me in conjunction with `patch at https://git.drupalcode.org/project/drupal/-/merge_requests/5684.patch` as suggested in step #18

🇺🇸United States adrianm6254

I tried both patches MR!5919 & MR!5942 and they both worked fine.

For now I will keep MR!5942 applied.

Production build 0.71.5 2024