🇺🇸United States @bobburns

Account created on 12 September 2009, over 15 years ago
#

Recent comments

🇺🇸United States bobburns

It appears related to a database table modification for an entity id

See for example https://www.drupal.org/project/group/issues/3381083 💬 Errors upgrading from 1.5 -> 2.1 (with config entities) Active

Perhaps it won't happen on a fresh install of version 3 but hacking tables is beyond me, a database update to the install file or sql patch is needed it appears

🇺🇸United States bobburns

bobburns created an issue.

🇺🇸United States bobburns

Bec

Not a duplicate because the patch I applied to make work is not committed to the Project and each update crashes until it is applied

🇺🇸United States bobburns

That patch is applied and it still does not work

🇺🇸United States bobburns

First the auto update through Drupal did not work so I moved the module of beta1 and expanded beta2 download as a TAR gz in its place

Then I tried to edit a node with ckeditor from the content area - that threw the rrror

I moved the beta1 module back in and changed the info files to beta2 so the update notification would not come back

When I swapped the beta2 back in and tried to edit the node it threw the error again

This through an Android Chrome browser - it should be noted this browser when editing throws double words which the ckeditor people could not figure out

I fired up a terminal on another computer and did a "drush cache:rebuild" and went to the Android Chrome browser and recycled it and ckeditor in edit mode came up after a long wait - about two minutes

It appears to be working after the cache rebuild

Here is the full trace error the second time

ArgumentCountError: Too few arguments to function Drupal\domain\DomainElementManager::__construct(), 1 passed in /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 2 expected in Drupal\domain\DomainElementManager->__construct() (line 58 of modules/domain/domain/src/DomainElementManager.php).
Drupal\Component\DependencyInjection\Container->createService(Array, 'domain.element_manager') (Line: 179)
Drupal\Component\DependencyInjection\Container->get('domain.element_manager') (Line: 197)
Drupal::service('domain.element_manager') (Line: 275)
domain_access_form_node_form_alter(Array, Object, 'node_page_edit_form') (Line: 552)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'node_page_edit_form') (Line: 88)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->alter(Array, Array, Object, 'node_page_edit_form') (Line: 834)
Drupal\Core\Form\FormBuilder->prepareForm('node_page_edit_form', Array, Object) (Line: 285)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 52)
Drupal\crawler_rate_limit\CrawlerRateLimitMiddleware->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

🇺🇸United States bobburns

bobburns created an issue.

🇺🇸United States bobburns

patch 3474692 throws

Error: Call to a member function getCallable() on string in Twig\Node\Expression\CallExpression->getTwigCallable() (line 350 of /var/www/public_html/vendor/twig/twig/src/Node/Expression/CallExpression.php).

Backtrace
#0 /var/www/public_html/vendor/twig/twig/src/Node/Expression/CallExpression.php(31): Twig\Node\Expression\CallExpression->getTwigCallable()
#1 /var/www/public_html/vendor/twig/twig/src/Node/Expression/FilterExpression.php(71): Twig\Node\Expression\CallExpression->compileCallable(Object(Twig\Compiler))
#2 /var/www/public_html/vendor/twig/twig/src/Compiler.php(99): Twig\Node\Expression\FilterExpression->compile(Object(Twig\Compiler))
#3 /var/www/public_html/vendor/twig/twig/src/Node/PrintNode.php(40): Twig\Compiler->subcompile(Object(Twig\Node\Expression\FilterExpression))
#4 /var/www/public_html/vendor/twig/twig/src/Compiler.php(99): Twig\Node\PrintNode->compile(Object(Twig\Compiler))
#5 /var/www/public_html/vendor/twig/twig/src/Node/Node.php(108): Twig\Compiler->subcompile(Object(Twig\Node\PrintNode))
#6 /var/www/public_html/vendor/twig/twig/src/Compiler.php(99): Twig\Node\Node->compile(Object(Twig\Compiler))

. . . more

🇺🇸United States bobburns

Needs to be comitted to next release.

Did not work on fresh 4.0.2 download BUT did work on my completley patched 4.0.1 (I renmed to 4.0.2 in the info.yml file)

The fresh download of 4.0.2 did not have function destruct

🇺🇸United States bobburns

bobburns created an issue.

🇺🇸United States bobburns

I installed the 338400 patch and then uninstalled the custom module I made and no errors have returned

It threw user notices into the log one time

Since this is a core patch, I keep a directory in the modules directory with patches because on the next core upgrade if this is not committed to core the issue will return, and I do not want to dig like a pig for tyruffels to find the patch again

🇺🇸United States bobburns

That patch is committed to core and is already applied to 10.3 - I checked the code

I built a mini custom module with the function from #14 and called it "comment_block" with just an info file an module with the function and it has removed the errors - but of course does not answer what is causing it

comment_block (in modules directory)
comment_block.info.yml

name: 'Comment Block'
description: 'Blocks comment dependency error'

core_version_requirement: ">=8"
type: module

comment_block.module

<?php

// https://www.drupal.org/project/drupal/issues/3306434 🐛 Fix access checks for bundle permissions to avoid triggering a config validation error Fixed

function comment_block_entity_type_alter(array &$entity_types): void {
if (isset($entity_types['comment_type'])) {
assert($entity_types['comment_type'] instanceof \Drupal\Core\Config\Entity\ConfigEntityTypeInterface);
$route_providers = $entity_types['comment_type']->getRouteProviderClasses();
unset($route_providers['permissions']);
$entity_types['comment_type']->setHandlerClass('route_provider', $route_providers);
}
}

install it and the errors are gone

🇺🇸United States bobburns

Same issue after upgrade to 10.3 of as 23, 24, 25, 26, 27

🇺🇸United States bobburns

Please get this committed to core

It works and the error comes with every core update after fixing it

🇺🇸United States bobburns

Yes gone there too - nevewr really ever saw colors there. They show in Claro in update status

I upgraded to the latest Adaptivetheme 6.0 and at_tool 3.0.1 , rebuilt the cache and still no colors

🇺🇸United States bobburns

I will admit I did not use composer because there are two projects and one does not work

@tokosefi

I use it and it works. There is a patch for the $layout_path is deprecated etc it is

protected $layout_path;

et cetera for any deprecation that shows up. See eg https://www.drupal.org/project/adaptivetheme/issues/3440936 🐛 Deprecated function (still) RTBC

Use the project/adaptivetheme and at_tool NOT project/at_theme and at_tools - that is not maintained - notice the "s"

Notice adapative theme is now at 6.0 and at_tool is 3.0

There are two adaptive theme projects and if you mix them you get the issues you describe

Install the proper ones once Drupal 10 is working and then generate a new sub theme by slightly changing the name and abandon the old theme, uninstall it and delete it from your files

🇺🇸United States bobburns

@tokosefi

I use it and it works. There is a patch for the $layout_path is deprecated etc it is

protected $layout_path;

et cetera for any deprecation that shows up. See eg https://www.drupal.org/project/adaptivetheme/issues/3440936 🐛 Deprecated function (still) RTBC

Use the project/adaptivetheme and at_tool NOT project/at_theme and at_tools - that is not maintained - notice the "s"

Notice adapative theme is now at 6.0 and at_tool is 3.0

There are two adaptive theme projects and if you mix them you get the issues you describe

Install the proper ones then generate a new theme by slightly changing the name and abandon the old theme, uninstall it and delete it from your files

🇺🇸United States bobburns

Yes Claro - color returns

I am using Adaptive theme with theme generator for use in differnent domains

Is there a fix??

🇺🇸United States bobburns

upgrade to version 4.0.0 and it crashes - the patch of 4 appears has fixed it with an added

protected $bundle

🇺🇸United States bobburns

bobburns created an issue.

🇺🇸United States bobburns

I cheated and copied the tbody to /tbody code from the same file in the Claro theme

🇺🇸United States bobburns

and yet it was not fixed in rhe duplicate wither

🇺🇸United States bobburns

Set the config in settings.php but no stack trace beyond this below showed

PHPStan command failed:
/usr/bin/php /var/www/public_html/vendor/bin/phpstan analyse --memory-limit=1500M --error-format=json --configuration=/tmp/upgrade_status/deprecation_testing.neon /var/www/public_html/modules/dynamic_entity_reference

Command output:
Empty.

Command error:
PHP Fatal error: Drupal\Core\DependencyInjection\ContainerNotInitializedException thrown while calling __toString on a Drupal\Core\StringTranslation\TranslatableMarkup object in /var/www/public_html/core/lib/Drupal.php on line 170: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in /var/www/public_html/core/lib/Drupal/Component/Utility/ToStringTrait.php on line 20 Fatal error: Drupal\Core\DependencyInjection\ContainerNotInitializedException thrown while calling __toString on a Drupal\Core\StringTranslation\TranslatableMarkup object in /var/www/public_html/core/lib/Drupal.php on line 170: \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container. in /var/www/public_html/core/lib/Drupal/Component/Utility/ToStringTrait.php on line 20

🇺🇸United States bobburns

From number 4 worked for me on Centos7

2. How to deploy config.zip is confusing and I found the simplest way to do it for a self-hosted Solr server, running on Debian, was to simply stop the solr.service and copy the extracted files into /var/solr/data/{core-name}/conf/ dir, after making a backup.

🇺🇸United States bobburns

bobburns created an issue.

🇺🇸United States bobburns

I had to change line 184 to

// Render the placeholder into markup.
$markup = $this->renderPlain($placeholder_element);
// return $markup;
return $markup ? $markup : '';
}

or it throws a "null given" error

🇺🇸United States bobburns

I can confirm it worked on version 18.2

🇺🇸United States bobburns

Class "Pharborist\Parser" not found in Drupal\drupalmoduleupgrader\Target->open()

How do I fix the pathing to use the vendor directory in the project root?

🇺🇸United States bobburns

Android 10 on moto g7 power chrome version 118.0.5993.111

🇺🇸United States bobburns

I discovered that it only occurs on the Android Chrome browser, I used it fine on the PC Chrome this morning.

Still does it on Android. I am fine with it - I can put text in enail and paste it into Ckeditor 5 on Android through Chrome.

It is bizarre - Ckeditor 4 worked fine

🇺🇸United States bobburns

Glad I kept the 9.5 setup in another directory with that working database. I renamed it active for Apache, upgraded to CKeditor5, did the configuration, uninstalled CKeditor 4, copied the database to a new name with phpMyadmin, changed the database name to that in settings.php, ran update.php and 39 databdase updates later, it was all working properly

Thanks for the prompt reply how to fix it.

🇺🇸United States bobburns

Same thing and it fills my log

🇺🇸United States bobburns

Wow - that was easy. Thanks so much. Did not know about that command

It was also holding up database updstes

🇺🇸United States bobburns

Search api errors from Upgrade Status - coding deeper than I want to go to fix

🇺🇸United States bobburns

ISSUE FOUND - ADD

use Drupal\search_api\Utility\DataTypeHelperInterface;
use Drupal\search_api\Utility\ThemeSwitcherInterface;

to top of modules/search_api/src/Utility/FieldsHelper.php

🇺🇸United States bobburns

OK - then to fix this

use Drupal\commerce_order\AvailabilityCheckerInterface;

must be added to the top of

commerce/src/AvailabilityManager.php

AND

commerce/src/AvailabilityCheckerInterface.php

BECAUSE

Upgrade Status does not report the

AvailabilityManager.php issue

I had to take the dev version, fix a large number of errors and then rename it to 2.36 straight and I am now left with the 4 issues of the attached jpg

🇺🇸United States bobburns

I spoke to soon. The custom module commerce entity clone throws the following error when a node is attempted to be cloned. Unistall of it solves it

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\node\Entity\Node::setVariations() in Drupal\commerce_entity_clone\EventSubscriber\ProductEntityCloneSubscriber->ProductEntityPreClone() (line 22 of modules/commerce_entity_clone/src/EventSubscriber/ProductEntityCloneSubscriber.php).
Drupal\commerce_entity_clone\EventSubscriber\ProductEntityCloneSubscriber->ProductEntityPreClone(Object, 'entity_clone.pre_clone', Object)
call_user_func(Array, Object, 'entity_clone.pre_clone', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'entity_clone.pre_clone') (Line: 342)
Drupal\entity_clone\Form\EntityCloneForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('entity_clone_form', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 52)
Drupal\crawler_rate_limit\CrawlerRateLimitMiddleware->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line

🇺🇸United States bobburns

I would not call it a duplicate. The isset fix did not work for me. So I posted https://www.drupal.org/project/domain_path/issues/3315752#comment-15121818 🐛 Warning: Undefined array key "pathauto" in Drupal\domain_path_pathauto\DomainPathautoHelper Needs review

Version 1.3 takes down my site

🇺🇸United States bobburns

Version 1.3 takes down the site

I authored the change in https://www.drupal.org/project/domain_path/issues/3358583 🐛 Warning: Trying to access array offset on value of type int in Drupal\domain_path_pathauto\DomainPathautoHelper->validateAlteredForm() Needs review and I had previously tried the isset fix on line 163, which did not work. I admit I did not do the DomainPathHelper.php fix of patch 3 here.

I had used

if (!isset($domain_path_data['pathauto']) && !$domain_path_data['pathauto']) {

which did not work

So . . .I changed line 163

from
if (!$domain_path_data['pathauto']) {

to
if (is_array(!$domain_path_data) ? $domain_path_data['pathauto'] : NULL) {

the error has not shown again when saving products

Now version 1.3 throws this instead

The website encountered an unexpected error. Please try again later.
ParseError: syntax error, unexpected token "public" in Composer\Autoload\{closure}() (line 209 of modules/domain_path/modules/domain_path_pathauto/src/DomainPathautoHelper.php).

WHICH TAKES DOWN THE SITE

so, I went back to version 1.2 and marked it as 1.3 which does not throw this error to keep calm and carry on

🇺🇸United States bobburns

Number 35 custom module worked for me . . . select save product as cloned at bottom of Product Clone page. Get both the variations and Product, you'll need to edit the variation but it works

Changed core version to => core_version_requirement: ">=8" in info.yml

🇺🇸United States bobburns

I changed line 163

from if (!$domain_path_data['pathauto']) {

to if (is_array(!$domain_path_data) ? $domain_path_data['pathauto'] : NULL) {

the error has not shown again when saving products

needs review

🇺🇸United States bobburns

I pushed the new dev version and it took me from 10 errors - actually 8 because two were notices to 31, so I put my 2.36 I patched back on

Here are the errors as jpg files from Upgrade Status

named 1a, 2a and 3a

🇺🇸United States bobburns

So @jsacksick are you saying \Drupal\Core\Extension\ModuleInstaller::installSchema() will no longer work and ALL AccessChecks should be FALSE ?? (there is 30 more)

🇺🇸United States bobburns

I do not know how to do that - if you give instructuons I will provide it.

For now, I will just create a pager for content and the domain to page the limited pages of content for the domain.

I only have two domains that call to D& on the server because there is no D9 port of a few modules I need which integrates roles and permissions with Ubercart and Harmony and Advanced Poll

🇺🇸United States bobburns

I also found a visitor tried to access ads.txt from ip 44.212.221.210.

It generated

Error: Class "Drupal\metatag\Normalizer\MetatagHalNormalizer" not found in Drupal\Component\DependencyInjection\Container->createService() (line 259 of /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php)
#0 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(449): Drupal\Component\DependencyInjection\Container->createService(Array, 'private__oBNkdb...')
#1 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(462): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#2 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(237): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#3 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService(Array, 'serializer')
#4 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(434): Drupal\Component\DependencyInjection\Container->get('serializer', 1)
#5 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(237): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#6 /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService(Array, 'rest.resource_r...')
#7 /var/www/public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(136): Drupal\Component\DependencyInjection\Container->get('rest.resource_r...')
#8 /var/www/public_html/vendor/symfony/http-kernel/HttpKernel.php(202): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response')
#9 /var/www/public_html/vendor/symfony/http-kernel/HttpKernel.php(190): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Symfony\Component\HttpFoundation\Response), Object(Symfony\Component\HttpFoundation\Request), 1)
#10 /var/www/public_html/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /var/www/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /var/www/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/public_html/modules/crawler_rate_limit/src/CrawlerRateLimitMiddleware.php(52): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/public_html/modules/advban/src/AdvbanMiddleware.php(57): Drupal\crawler_rate_limit\CrawlerRateLimitMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /var/www/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\advban\AdvbanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /var/www/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /var/www/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /var/www/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /var/www/public_html/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /var/www/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#24 {main}

🇺🇸United States bobburns

Applying patch 4 I got:

The website encountered an unexpected error. Please try again later.
ArgumentCountError: Too few arguments to function Drupal\metatag\MetatagManager::__construct(), 9 passed in /var/www/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 10 expected in Drupal\metatag\MetatagManager->__construct() (line 131 of modules/metatag/src/MetatagManager.php).
Drupal\metatag\MetatagManager->__construct(Object, Object, Object, Object, Object, Object, Object, Object, Object) (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'metatag.manager') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('metatag.manager') (Line: 57)
Drupal\metatag_views\Plugin\views\display_extender\MetatagDisplayExtender::create(Object, Array, 'metatag_display_extender', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('metatag_display_extender', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('metatag_display_extender') (Line: 161)
Drupal\views\Plugin\views\display\DisplayPluginBase->initDisplay(Object, Array) (Line: 91)
Drupal\views\DisplayPluginCollection->initializePlugin('default') (Line: 38)
Drupal\views\DisplayPluginCollection->__construct(Object, Object) (Line: 733)
Drupal\views\ViewExecutable->initDisplay() (Line: 1759)
Drupal\views\ViewExecutable->access('page_1') (Line: 64)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725 ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 242)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 52)
Drupal\crawler_rate_limit\CrawlerRateLimitMiddleware->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Went back to patched 8x 1.24

🇺🇸United States bobburns

It happens with any pager - the "Professional Theme" and "Danland" have pagers and they freeze if content is promoted to the front page. I have a view that does not use Views Slideshow and it does the same. No content and they work again. I did report it to views slideshow issues also

🇺🇸United States bobburns

LibrarySourceBase.php appeared to be the plugin for library discovery

Going to cdn. jsdelivr.net goes to jsdelivr.com reveals the format for github is gh instead of npm like this

https://cdn.jsdelivr.net/gh/@ichord/At.js/tree/master/dist/js/jquery.atw... {}

or something like this

after several tries of various configurations nothing worked so I will have to wait and see if the libraries maintainers answer

🇺🇸United States bobburns

It now enables without error, but I still get

Drupal\libraries\ExternalLibrary\Exception\LibraryDefinitionNotFoundException: The library definition for the library 'caret.js' could not be found. in Drupal\libraries\ExternalLibrary\Definition\ChainDefinitionDiscovery->getDefinition() (line 56 of modules/libraries/src/ExternalLibrary/Definition/ChainDefinitionDiscovery.php).
Drupal\libraries\ExternalLibrary\LibraryManager->load('caret.js') (Line: 293)
atjs_requirements('runtime') (Line: 52)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler::Drupal\hook_event_dispatcher\{closure}(Object, 'atjs') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('requirements', Object) (Line: 67)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAllWith('requirements', Object) (Line: 59)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAll('requirements', Array) (Line: 109)
. . . more

I am trying to figure out how to use a library from the local filesystem as the readme says

Currently the module implements a plugin for the JsDelivr CDN
and another for local libraries in the `/libraries` folder.

I have this in my module.libraries.yml

drupal.caret.js
remote: http://ichord.github.com/Caret.js
repo: ichord/Caret.js
description: "Add Github like mentions autocomplete to your application."
version: 0.3.1
license:
name: MIT
gpl-compatible: true
js:
/libraries/caret.js/dist/js/jquery.caret.min.js: {}
/libraries/caret.js/dist/js/jquery.caret.js: { minified: true }

libraries_provider:
enabled: true
source: LibrarySourceBase

dependencies:
- core/jquery
- core/drupal
- core/drupalSettings
- core/once

Do I have something wrong in the source syntax or call or way off base elsewhere ??

Production build 0.71.5 2024