Turns out I had a deprecated View - wish watchdog could have been more clear on the issue.
@cilefen, Here's the error message from the UI
xandermar β created an issue.
Patch created that updates the code...
diff --git a/src/Plugin/CKEditorPlugin/Markdown.php b/src/Plugin/CKEditorPlugin/Markdown.php
index b5c771e..992cbab 100644
--- a/src/Plugin/CKEditorPlugin/Markdown.php
+++ b/src/Plugin/CKEditorPlugin/Markdown.php
@@ -19,7 +19,7 @@ class Markdown extends CKEditorPluginBase {
* {@inheritdoc}
*/
public function getButtons() {
- $path = $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown';
+ $path = \Drupal::service('extension.list.module')->getPath('ckeditor_markdown') . '/js/plugins/markdown';
return [
'Markdown' => [
'label' => $this->t('Markdown'),
@@ -32,7 +32,7 @@ class Markdown extends CKEditorPluginBase {
* {@inheritdoc}
*/
public function getFile() {
- return $this->getModulePath('ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
+ return \Drupal::service('extension.list.module')->getPath('ckeditor_markdown') . '/js/plugins/markdown/plugin.js';
}
/**
Similar issue:
https://www.drupal.org/project/commerce_pricelist/issues/3353428#:~:text... π Call to undefined function drupal_get_path() with D10 Fixed ()%20no%20longer%20exists%20with,be%20able%20to%20support%20D10.
xandermar β created an issue.
Thanks to @anybody and @realityloop, I was able to fix my issues identical to #9. For anonymity, all private data is [in_brackets]
In config, I had the file:
user.role.[role].yml
In that file was:
uuid: [uuid]
langcode: en
status: true
dependencies:
module:
- field_permissions
id: [role_id]
label: '[role_label]'
weight: 11
is_admin: null
permissions:
- 'create field_[field_name]'
- 'edit field_[field_name]'
- 'edit own field_[field_name]'
- 'view field_[field_name]'
- 'view own field_[field_name]'
I simply deleted this block:
permissions:
- 'create field_[field_name]'
- 'edit field_[field_name]'
- 'edit own field_[field_name]'
- 'view field_[field_name]'
- 'view own field_[field_name]'
...and ran another 'drush cim' (drush import)
Then, the import ran successfully and no more errors
[notice] Synchronized configuration: update user.role.[role].
[notice] Finalizing configuration synchronization.
[success] The configuration was imported successfully.