Account created on 13 April 2023, over 1 year ago
#

Recent comments

Same issue here with core version 10.3.1

 [warning] Undefined array key "preprocess functions" Registry.php:702
In Template.php line 385:

  An exception has been thrown during the rendering of a template ("array_diff(): Argument #2 must be of type array, null given") in "__string_template__..." at line 1.
In Registry.php line 702:

  array_diff(): Argument #2 must be of type array, null given

Nevermind, it was issue on my side. I missed checking the Generate variation titles based on attribute values. on product variation type configuration (/admin/commerce/config/product-variation-types/default/edit). While I was importing products it was setting up empty title label (even when it's required - that's why it was throwing this error). Now the SKU number is title itself.

Still got permission issues with creating B5 subtheme, tried on nginx and local repositories, no result for me

This method doesn't work for my database, even after doing SET SESSION tx_isolation='REPEATABLE-READ'; instead of faulty SET GLOBAL SESSION tx_isolation='REPEATABLE-READ'; and doing cr with drush. Tried also with adding in settings.php this new method:

  'init_commands' => [
    'isolation_level' => 'SET SESSION tx_isolation=\'REPEATABLE-READ\'',
  ],

There's still a warning remaining on the status page.

Switched back to original & old method and it works perfectly:

  'init_commands' => [
    'isolation_level' => 'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED',
  ],

Decreased requirements workaround:

  1. composer require league/oauth2-server
  2. replaced in composer.json oauth2-server 3.2 with 8.3

but there's still a problem when I try to install with composer:
drupal/simple_oauth 5.2.3 requires lcobucci/jwt ^4 -> found lcobucci/jwt[4.0.0, ..., 4.3.0] but the package is fixed to 5.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

None of these above work for me sadly, yet didn't try anything with manually adding code to db to flush all caches. Tried moving for example ctools from /modules to /modules/contrib and doing cache reload with drush. Still getting error:

Error: Class "Drupal\ctools\ParamConverter\TempstoreConverter" not found in .../core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 #0 .../core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#1 .../core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#2 .../core/lib/Drupal/Component/DependencyInjection/Container.php(273): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#3 .../core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#4 .../core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#5 .../core/lib/Drupal/Component/DependencyInjection/Container.php(237): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#6 .../core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#7 .../core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#8 .../core/lib/Drupal/Component/DependencyInjection/Container.php(237): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#9 .../core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#10.../core/lib/Drupal/Component/DependencyInjection/Container.php(440): Drupal\Component\DependencyInjection\Container->get()
#11 .../core/lib/Drupal/Component/DependencyInjection/Container.php(273): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters()
#12.../core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService()
#13 .../vendor/drush/drush/src/Commands/core/CacheCommands.php(63): Drupal\Component\DependencyInjection\Container->get()
#14 .../vendor/drush/drush/src/Runtime/ServiceManager.php(321): Drush\Commands\core\CacheCommands::create()
#15 .../vendor/drush/drush/src/Boot/DrupalBoot8.php(310): Drush\Runtime\ServiceManager->instantiateServices()
#16 .../vendor/drush/drush/src/Boot/DrupalBoot8.php(238): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands()
#17 .../vendor/drush/drush/src/Boot/BootstrapManager.php(236): Drush\Boot\DrupalBoot8->bootstrapDrupalFull()
#18 .../vendor/drush/drush/src/Boot/BootstrapManager.php(422): Drush\Boot\BootstrapManager->doBootstrap()
#19 .../vendor/drush/drush/src/Boot/BootstrapManager.php(357): Drush\Boot\BootstrapManager->bootstrapMax()
#20 .../vendor/drush/drush/src/Boot/BootstrapManager.php(329): Drush\Boot\BootstrapManager->bootstrapToPhaseIndex()
#21 .../vendor/drush/drush/src/Boot/BootstrapHook.php(36): Drush\Boot\BootstrapManager->bootstrapToPhase()
#22 .../vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(44): Drush\Boot\BootstrapHook->initialize()
#23 .../vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook()
#24 .../vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook()
#25 .../vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize()
#26 .../vendor/consolidation/annotated-command/src/AnnotatedCommand.php(376): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook()
#27 .../vendor/symfony/console/Command/Command.php(292): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize()
#28 .../vendor/symfony/console/Application.php(1081): Symfony\Component\Console\Command\Command->run()
#29 .../vendor/symfony/console/Application.php(320): Symfony\Component\Console\Application->doRunCommand()
#30 .../public/vendor/symfony/console/Application.php(174): Symfony\Component\Console\Application->doRun()
#31 .../public/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()
#32 .../public/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#33 .../vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#34 .../vendor/drush/drush/drush(4): require('...')
#35 .../vendor/bin/drush(120): include('...')
#36 {main}

Similar issue here with ckeditor while I try to updatedb with drush during migration from 9.1.^ to 9.5.^

In ProcessBase.php line 171:
Unable to decode output into JSON: Syntax error

  Fatal error: Declaration of Drupal\token_filter\Plugin\CKEditorPlugin\TokenBrowser::getModulePath() must be compatible with Drupal\ckeditor\CKEditorPluginBase::getModulePath(string $module_name): string
   in ...\modules\token_filter\src\Plugin\CKEditorPlugin\TokenBrowser.php on line 151

Tried update.php also, but received another 200 with ckeditor_post_update_omit_settings_for_disabled_plugins.module

Same here, after installing this module on version 10.1.1 I'm unable to edit nodes or to configure CKEditor5.
Luckily it didn't break anything after uninstalling.

Doesn't work for me either. Even somehow pasting as plain text with right click didn't solve this problem for text copied directly from word which is using its own fonts and styles.

Paste as plain text doesn't really work for me in ckeditor5.
Words are still pasted along with style and font copied directly from word.

I had a similar issue and used config export drush cex, then researched "node_type" in config files with IDE.
In my case the asset_injector module was throwing this error:

Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "node_type" plugin does not exist. Valid plugin IDs for Drupal\Core\Condition\ConditionManager are: domain, language, current_theme, request_path, user_role, webform, entity_bundle:block_content, entity_bundle:comment, entity_bundle:contact_message, entity_bundle:media, entity_bundle:menu_link_content, entity_bundle:node, entity_bundle:shortcut, entity_bundle:taxonomy_term, entity_bundle:token_custom, entity_bundle:webform_submission, entity_bundle:paragraph" at ...\core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php line 53

Probably JS scripts which were referencing to node_type, which was deleted in D10 (?).

I used config export drush cex and then researched "node_type" in config files with IDE.
In my case the asset injector module was throwing:

Uncaught PHP Exception Drupal\Component\Plugin\Exception\PluginNotFoundException: "The "node_type" plugin does not exist. Valid plugin IDs for Drupal\Core\Condition\ConditionManager are: domain, language, current_theme, request_path, user_role, webform, entity_bundle:block_content, entity_bundle:comment, entity_bundle:contact_message, entity_bundle:media, entity_bundle:menu_link_content, entity_bundle:node, entity_bundle:shortcut, entity_bundle:taxonomy_term, entity_bundle:token_custom, entity_bundle:webform_submission, entity_bundle:paragraph" at ...\core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php line 53

Probably JS scripts which were referencing to node_type.

In my case I had to put proxy URLs for http and https in settings.php (sites/default/settings.php) on my dev server. Had issues with site crashing after loadng bootstrap theme with jsDelivr CDN, couldn't even get into theme settings, but now everything is back to normal.
These records shouldn't be overwritten now.

Production build 0.71.5 2024