🇺🇸United States @rraney

Account created on 19 April 2021, over 4 years ago
#

Recent comments

🇺🇸United States rraney

I believe I eventually just updated the database manually. Not ideal obviously but something had to happen.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

Inspecting my subtheme info.yml file, I found this:

# Information added by Drupal.org packaging script on 2025-05-27
version: '1.11.0'
project: 'civictheme'
datestamp: 1748306509

I don't know how it was added. It may be part of the process of creating a subtheme.

By removing this section of code, it resolved the issue.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

My site doesn't have a justinrainbow/json-schema library in the vendors directory.

I will say that I must eventually worked through it. I'm sorry I don't know what I did for it to go away.

🇺🇸United States rraney

I just realized that SMTP is now uninstalled. I can't install now because of the dependency issue.

- drupal/smtp[dev-1.x, 1.2.0, ..., 1.x-dev] require phpmailer/phpmailer ^6.1.7 -> found phpmailer/phpmailer[v6.1.7, ..., 6.12.0.x-dev] but it conflicts with your root composer.json require (^7.0.0).

🇺🇸United States rraney

I deleted the /vendor folder, then ran composer require 'drupal/phpmailer_smtp:^2.4' and that worked to get the update.

🇺🇸United States rraney
🇺🇸United States rraney
🇺🇸United States rraney
🇺🇸United States rraney

ronraney created an issue. See original summary .

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

Note that when you open the modal for selecting tools that this "flex-wrap: wrap" would break the display. Therefore, it's only applicable to the page which shows all configurations and tools already selected.

Perhaps it could be:

div:not(#drupal-modal) .ai-tools-library-wrapper {
  flex-wrap: wrap;
}
🇺🇸United States rraney
🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

I ran this command
lando drush sql:query "UPDATE config SET data = 'a:2:{s:7:\"api_key\";s:0:\"\";s:4:\"host\";s:21:\"https://api.amazee.io\";}' WHERE name = 'ai_provider_amazeeio.settings'"

Now I can access the page

🇺🇸United States rraney
🇺🇸United States rraney

Here's the function involved

  public function __construct(
    protected Client $client,
    protected LoggerChannelFactoryInterface $loggerFactory,
  ) {
    $config = \Drupal::config('ai_provider_amazeeio.settings');
    $this->host = $config->get('host');
  }
🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

This issue seems to be a duplicate and the patch fixed my issue.
https://www.drupal.org/project/fontawesome/issues/3506503 🐛 Regression on Icons showing Active .

🇺🇸United States rraney

I think it is related. I applied the patch and the icon is showing. I will close as duplicate of this issue.

🇺🇸United States rraney
🇺🇸United States rraney
🇺🇸United States rraney
🇺🇸United States rraney
🇺🇸United States rraney

I just experimented with changing the HTML for the "i" element. I changed the class to "fa-solid" instead of "fa-fas" and it's now showing an SVG, with the HTML commented out dynamically. For some reason, this module version is adding the wrong class for the version of Font Awesome being used.

🇺🇸United States rraney

I added some additional styles to the icon in the field form, like animation. When I look on the page, the element is there. If I hover over it, it's rotating and has a bunch of new styles. It's just not showing. It's like a key style is missing.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

I re-enabled my Media view, but this time, under Page Settings, I changed the Menu configuration to "No menu". The media tab is still there and any customizations to the media view remain.

🇺🇸United States rraney

I wonder if somewhere along the line, a core Media view was added and for those of us that have migrated from Drupal 7, our Media view was still there, thus we have an unnecessary Media view?

🇺🇸United States rraney

We have a Media View. I don't know why or how it got there but when I disabled it, there is now only one Media tab.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney
🇺🇸United States rraney

I realized that the Navigation module is deprecated and part of core now.

I'm disabling Navigation and changing this to "works as expected". If you can delete this issue and wish to do so, I understand.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

This command below resolves the message. However, after running the command, it added an additional message that I needed to update the database. After doing so, both errors disappeared. I think redirects are still enabled.

php:eval "\Drupal::service('update.update_hook_registry')->setInstalledVersion('redirect', 8109);"

🇺🇸United States rraney

My production database has the enabled field and I was able to toggle "enabled" for redirect. However, I'm still seeing the error.

Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Redirect
The Redirect entity type needs to be updated.

I will look for the issue that refers to this, but please comment if you have a suggestion on how to resolve this.

🇺🇸United States rraney
🇺🇸United States rraney

I started over and made sure the dimensions were the same in Pinecone and Drupal. I think it's just something to make sure is done in the initial configuration.

🇺🇸United States rraney

I ran drush sql:query on the database to update the enabled field to 1. I expect the issue will be resolved in my case. Feel free to close if you think this is a one-off situation.

🇺🇸United States rraney

UPDATE redirect SET enabled = 1;

This works to make every redirect record "enabled" but I shouldn't have to do this in a production database. Seems like there are cases where the code isn't working to enable every record by default.

🇺🇸United States rraney

I ran this drush php:eval "\Drupal::service('update.update_hook_registry')->setInstalledVersion('redirect', 8109);"
then I was able to update
but every redirect on the site is disabled

🇺🇸United States rraney

A comment in your "fix" page

This does not work for existing redirects.

Looking at function redirect_update_8110(), it does add the field and set the default value for the field -- but THIS ONLY AFFECTS NEW VALUES GOING FORWARD -- it does not set the value on existing redirects. Looking in my database, I see the new "enabled" column has 2000+ rows where this is all set to null, and we had some consternation on our team when some redirects they rely upon suddenly quit working.

There should be a post update hook that sets existing redirects to Enabled.

A quick workaround for anyone affected by this is a sql query in the db:

`UPDATE redirect SET enabled = 1;`

... that will enable all your existing redirects.

🇺🇸United States rraney

In a dev. environment, I downloaded the newest version using composer. I then ran "updb" and it says there are no pending updates.
When I go to Drupal admin UI, this is showing:

Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Redirect
The Redirect entity type needs to be updated.

What else am I supposed to do other than run entity updates?

🇺🇸United States rraney

What information are you needing? It says more information is needed.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

I replaced with this. Is that better?

if (!is_string($value)) {
  continue;
} else {
  $html = $converter ? $converter->convert($value) : $value;
}
🇺🇸United States rraney

I don't know how to figure out the "integer in the end". Here's the full message:

#0 /app/web/modules/contrib/ai/modules/ai_search/src/Plugin/AiApiExplorer/VectorDBGenerator.php(209): League\CommonMark\MarkdownConverter->convert(1415746084)
#1 /app/web/modules/contrib/ai/modules/ai_api_explorer/src/Form/AiApiExplorerForm.php(82): Drupal\ai_search\Plugin\AiApiExplorer\VectorDBGenerator->getResponse(Array, Object(Drupal\Core\Form\FormState))
#2 [internal function]: Drupal\ai_api_explorer\Form\AiApiExplorerForm->ajaxResponse(Array, Object(Drupal\Core\Form\FormState), Object(Symfony\Component\HttpFoundation\Request))
#3 /app/web/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php(69): call_user_func_array(Array, Array)
#4 /app/web/core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php(112): Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse(Object(Symfony\Component\HttpFoundation\Request), Array, Object(Drupal\Core\Form\FormState), Array)
#5 [internal function]: Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#6 /app/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#7 /app/vendor/symfony/http-kernel/HttpKernel.php(239): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#8 /app/vendor/symfony/http-kernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object(Drupal\Core\Form\FormAjaxException), Object(Symfony\Component\HttpFoundation\Request), 1)
#9 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /app/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /app/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /app/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /app/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /app/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#19 {main}

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

ronraney created an issue.

🇺🇸United States rraney

same issue here
I'm looking for a way to integrate Pinecone as a vector db provider and this seems to be the only non-deprecated way to do it

🇺🇸United States rraney

I am experimenting with the "redirect.install" file to try to get a stopgap fix. I added the "is_nullable".

  // Add the 'enabled' field.
  $enabled = BaseFieldDefinition::create('boolean')
    ->setLabel(new TranslatableMarkup('Enabled'))
    ->setRevisionable(TRUE)
    ->setSetting('is_nullable', TRUE) // <-- allow NULL in DB
    ->setDefaultValue(TRUE)
    ->setInitialValue(TRUE);

This allowed the update, but the enabled values are FALSE for my existing redirects.

🇺🇸United States rraney

Not for me, thus the issue is raised.

🇺🇸United States rraney

Maybe allow NULL just so we can get the database updated

🇺🇸United States rraney

Same here. My issue is pretty much the same thing. When I install the latest version and run "drush updb", it says "No pending updates". If I enable the Devel Entity Updates module, then run "drush entup", it throws an error. I suspect whatever is causing this is preventing the normal operation.
Issue 3545200 🐛 Every redirect is now disabled after upgrade - enabled toggled off for all redirects Active

In SqlFieldableEntityTypeListenerTrait.php line 220:

The entity update process failed while processing the entity type redirect, ID: 2182.

In SqlContentEntityStorage.php line 866:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null: INSERT INTO "tmp_8630d1redirect" ("rid", "type", "uuid", "language", "enabled", "hash", "uid", "redirect_source__path",
"redirect_source__query", "redirect_redirect__uri", "redirect_redirect__title", "redirect_redirect__options", "status_code", "created") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_inser
t_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_ins
ert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array
(
[:db_insert_placeholder_0] => 2182
[:db_insert_placeholder_1] => redirect
[:db_insert_placeholder_2] => cea28385-f8a3-4904-85b9-a23735b04c95
[:db_insert_placeholder_3] => und
[:db_insert_placeholder_4] =>
[:db_insert_placeholder_5] => 44QZOQoTxNZCCmWu9wsh4diJClT4DZVLPIC4rmt-CCQ
[:db_insert_placeholder_6] => 0
[:db_insert_placeholder_7] => depts/sheriff/services/adult-corrections-(county-jail)
[:db_insert_placeholder_8] => N;
[:db_insert_placeholder_9] => http://www.dgso.org/index.php?option=com_content&view=article&id=28&Item...
[:db_insert_placeholder_10] =>
[:db_insert_placeholder_11] => a:0:{}
[:db_insert_placeholder_12] => 301
[:db_insert_placeholder_13] => 1673032491
)

In ExceptionHandler.php line 45:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null: INSERT INTO "tmp_8630d1redirect" ("rid", "type", "uuid", "language", "enabled", "hash", "uid", "redirect_source__path",
"redirect_source__query", "redirect_redirect__uri", "redirect_redirect__title", "redirect_redirect__options", "status_code", "created") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_inser
t_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_ins
ert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array
(
[:db_insert_placeholder_0] => 2182
[:db_insert_placeholder_1] => redirect
[:db_insert_placeholder_2] => cea28385-f8a3-4904-85b9-a23735b04c95
[:db_insert_placeholder_3] => und
[:db_insert_placeholder_4] =>
[:db_insert_placeholder_5] => 44QZOQoTxNZCCmWu9wsh4diJClT4DZVLPIC4rmt-CCQ
[:db_insert_placeholder_6] => 0
[:db_insert_placeholder_7] => depts/sheriff/services/adult-corrections-(county-jail)
[:db_insert_placeholder_8] => N;
[:db_insert_placeholder_9] => http://www.dgso.org/index.php?option=com_content&view=article&id=28&Item...
[:db_insert_placeholder_10] =>
[:db_insert_placeholder_11] => a:0:{}
[:db_insert_placeholder_12] => 301
[:db_insert_placeholder_13] => 1673032491
)

In StatementWrapperIterator.php line 113:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null

🇺🇸United States rraney

It has been mentioned that if using the recipe, there are no issues. Might be worth investigating. I don't know how to go from Github code to using a recipe.
https://www.drupal.org/project/civictheme/issues/3517643 🌱 Create recipes to assist with installing and setting up CivicTheme Active

🇺🇸United States rraney

Same issue here. Does my stack trace point to anything? I'm guessing we have a module interfering with AI Agent/Assistant.

#0 /app/web/modules/contrib/ai/src/Plugin/AiFunctionCall/Derivative/ActionPluginDeriver.php(162): Drupal\ai\Plugin\AiFunctionCall\Derivative\ActionPluginDeriver->resolveRootDataType('sequence')
#1 /app/web/modules/contrib/ai/src/Plugin/AiFunctionCall/Derivative/ActionPluginDeriver.php(78): Drupal\ai\Plugin\AiFunctionCall\Derivative\ActionPluginDeriver->getContextDefinitions(Object(Drupal\action\Plugin\Action\UnpublishByKeywordNode))
#2 /app/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\ai\Plugin\AiFunctionCall\Derivative\ActionPluginDeriver->getDerivativeDefinitions(Array)
#3 /app/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array)
#4 /app/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(337): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#5 /app/web/modules/contrib/ai/src/Service/FunctionCalling/FunctionCallPluginManager.php(33): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#6 /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\ai\Service\FunctionCalling\FunctionCallPluginManager->getDefinitions()
#7 /app/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('ai_agents::ai_a...')
#8 /app/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('ai_agents::ai_a...', Array)
#9 /app/web/modules/contrib/ai_agents/src/PluginBase/AiAgentEntityWrapper.php(788): Drupal\Component\Plugin\PluginManagerBase->createInstance('ai_agents::ai_a...')
#10 /app/web/modules/contrib/ai_agents/src/PluginBase/AiAgentEntityWrapper.php(413): Drupal\ai_agents\PluginBase\AiAgentEntityWrapper->getFunctions()
#11 /app/web/modules/contrib/ai/modules/ai_assistant_api/src/Service/AgentRunner.php(73): Drupal\ai_agents\PluginBase\AiAgentEntityWrapper->determineSolvability()
#12 /app/web/modules/contrib/ai/modules/ai_assistant_api/src/AiAssistantApiRunner.php(316): Drupal\ai_assistant_api\Service\AgentRunner->runAsAgent('ai_finder', Array, Array, 'assistant_threa...', true)
#13 /app/web/modules/contrib/ai/modules/ai_chatbot/src/Controller/DeepChatApi.php(169): Drupal\ai_assistant_api\AiAssistantApiRunner->process()
#14 [internal function]: Drupal\ai_chatbot\Controller\DeepChatApi->api(Object(Symfony\Component\HttpFoundation\Request))
#15 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#16 /app/web/core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#17 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#18 /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#19 /app/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#20 /app/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#21 /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /app/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /app/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#26 /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#27 /app/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#28 /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /app/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /app/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /app/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /app/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#34 {main}

🇺🇸United States rraney

rraney created an issue.

🇺🇸United States rraney

I did a ddev delete -O followed by a ddev start. Now it's working.

I have no idea how this could happen, other than issues with my local system (Docker Desktop / Ubuntu). We can mark "works as expected" if you don't have any issues.

🇺🇸United States rraney
The website encountered an unexpected error. Try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: Unable to determine class for field type 'entity_reference_revisions' found in the 'field.storage.node.field_c_n_attachments' configuration in Drupal\field\FieldStorageConfigStorage->mapFromStorageRecords() (line 167 of core/modules/field/src/FieldStorageConfigStorage.php).
Drupal\Core\Plugin\DefaultPluginManager->getDefinition() (Line: 252)
Drupal\Core\Field\FieldTypePluginManager->getPluginClass() (Line: 163)
Drupal\field\FieldStorageConfigStorage->mapFromStorageRecords() (Line: 168)
Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple() (Line: 313)
Drupal\Core\Entity\EntityStorageBase->loadMultiple() (Line: 538)
Drupal\Core\Entity\EntityBase::loadMultiple() (Line: 186)
Drupal\field\Hook\FieldHooks->entityFieldStorageInfo() (Line: 597)
Drupal\Core\Entity\EntityFieldManager->Drupal\Core\Entity\{closure}() (Line: 357)
Drupal\Core\Extension\ModuleHandler->invokeAllWith() (Line: 594)
Drupal\Core\Entity\EntityFieldManager->buildFieldStorageDefinitions() (Line: 471)
Drupal\Core\Entity\EntityFieldManager->getFieldStorageDefinitions() (Line: 302)
Drupal\field\Entity\FieldConfig->getFieldStorageDefinition() (Line: 1216)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->loadFromDedicatedTables() (Line: 503)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->mapFromStorageRecords() (Line: 428)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->getFromStorage() (Line: 394)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->doLoadMultiple() (Line: 313)
Drupal\Core\Entity\EntityStorageBase->loadMultiple() (Line: 183)
Drupal\Core\Entity\EntityRepository->getCanonicalMultiple() (Line: 175)
Drupal\Core\Entity\EntityRepository->getCanonical() (Line: 134)
Drupal\Core\ParamConverter\EntityConverter->convert() (Line: 100)
Drupal\Core\ParamConverter\ParamConverterManager->convert() (Line: 45)
Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance() (Line: 244)
Drupal\Core\Routing\Router->applyRouteEnhancers() (Line: 124)
Drupal\Core\Routing\Router->matchRequest() (Line: 89)
Drupal\Core\Routing\AccessAwareRouter->matchRequest() (Line: 101)
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() (Line: 246)
Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}() (Line: 206)
Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (Line: 56)
Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (Line: 159)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 715)
Drupal\Core\DrupalKernel->handle() (Line: 19)
🇺🇸United States rraney

rraney created an issue.

🇺🇸United States rraney

I figured it out. My apologies.

Here's the fix:

In the text format configuration, I added AI Assistant. When I did this, I didn't know what "Language" meant under this heading, "Use languages or taxonomy terms for language selection." I had selected "Language" instead of "Taxonomy Term". It's so basic and simple, I apologize for creating a whole issue about this.

The reason I was confused is because my Taxonomy is called "Language". In this case that word has two different meanings. It might be good to not call the Taxonomy "Language" just to be absolutely certain you aren't dealing with Drupal's "Language".

🇺🇸United States rraney

I'm focused on CK Editor right now. Here's the AI synopsis of the AJAX error.

Explanation

Understanding the problem
This Drupal.AjaxError indicates that an AJAX request initiated by Drupal failed to complete successfully. Although the HTTP result code is 200 (which typically means the request was successful), the StatusText is parsererror. This suggests that the server responded, but the response could not be properly parsed as valid JSON by the client-side JavaScript. The ResponseText further clarifies the issue: a fatal PHP error occurred on the server side, specifically a "Call to a member function getName() on null" within the Drupal\ai_ckeditor\Plugin\AICKEditor\Translate->ajaxGenerate() method. This means that a variable or object that was expected to be a valid object was actually null when the getName() method was called.

Suggested fix
The error message points to a PHP error on the server. You need to debug the PHP code within the ajaxGenerate() method of the Translate.php file. The "Call to a member function getName() on null" suggests that a variable is null when it's expected to be an object with a getName() method.

Identify the variable that is null: Examine the code in Translate.php at line 204 within the ajaxGenerate() method. Find where getName() is being called and determine which variable it's being called on.
Trace why the variable is null: Work backward from the line of the error to understand why that variable is not being assigned a proper object value. This could be due to missing configuration, incorrect data being passed to the method, or a dependency injection issue.
Fix the PHP code: Based on your findings, modify the PHP code to ensure the variable in question is a valid object before getName() is called. This might involve adding checks for null, ensuring dependencies are correctly injected, or adjusting how data is processed.
Since the specific code causing the issue is server-side PHP, I cannot provide a direct code fix in this context. You will need to inspect the PHP file mentioned in the error (/var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Plugin/AiCKEditor/Translate.php) and debug the logic there.

Summary
A Drupal.AjaxError with a parsererror status text and a 200 HTTP result code, accompanied by a PHP error in the ResponseText, indicates that the AJAX request completed in terms of network communication but failed because the server-side PHP code encountered a fatal error before it could return a valid, parsable response. The fix requires debugging and correcting the PHP code on the server that generated the error.

Here's the console message:

Uncaught Drupal.AjaxError {message: '\nAn AJAX HTTP error occurred.\nHTTP Result Code: 20…ai_ckeditor/src/Plugin/AiCKEditor/Translate.php).', name: 'AjaxError', stack: 'Error\n    at https://amazee-ai.ddev.site:33001/cor…ddev.site:33001/core/misc/ajax.js?v=11.2.4:1930:3'}message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /api/ai-ckeditor/dialog?_wrapper_format=drupal_modal&ajax_form=1\nStatusText: parsererror\nResponseText: Error: Call to a member function getName() on null in Drupal\\ai_ckeditor\\Plugin\\AICKEditor\\Translate-&gt;ajaxGenerate() (line 204 of /var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Plugin/AiCKEditor/Translate.php)."name: "AjaxError"stack: "Error\n    at https://amazee-ai.ddev.site:33001/core/misc/ajax.js?v=11.2.4:198:32\n    at https://amazee-ai.ddev.site:33001/core/misc/ajax.js?v=11.2.4:1930:3"[[Prototype]]: Error
    at https://amazee-ai.ddev.site:33001/core/misc/ajax.js?v=11.2.4:198:32
    at ht

Here's the stacktrace:

Drupal.Ajax.error @ ajax.js?v=11.2.4:1221
complete @ ajax.js?v=11.2.4:610
options.complete @ jquery.form.js?v=4.3.0:301
c @ jquery.min.js?v=4.0.0-rc.1:2
fireWith @ jquery.min.js?v=4.0.0-rc.1:2
E @ jquery.min.js?v=4.0.0-rc.1:2
(anonymous) @ jquery.min.js?v=4.0.0-rc.1:2
XMLHttpRequest.send
send @ jquery.min.js?v=4.0.0-rc.1:2
ajax @ jquery.min.js?v=4.0.0-rc.1:2
$.fn.ajaxSubmit @ jquery.form.js?v=4.3.0:340
Drupal.Ajax.eventResponse @ ajax.js?v=11.2.4:798
(anonymous) @ ajax.js?v=11.2.4:648
dispatch @ jquery.min.js?v=4.0.0-rc.1:2
v.handle @ jquery.min.js?v=4.0.0-rc.1:2
🇺🇸United States rraney

Hello, drush updb didn't do anything when I tried that. Then I saw the "mismatched" error. When I see this, I naturally think I need to try doing the entity update.

🇺🇸United States rraney

It could just be a CK Editor issue, according to Matthew at Amazee.

🇺🇸United States rraney

I have some more info. I noticed I'm getting an AJAX error in CK Editor when I click Translate.

Uncaught Drupal.AjaxError {message: '\nAn AJAX HTTP error occurred.\nHTTP Result Code: 20…ai_ckeditor/src/Plugin/AiCKEditor/Translate.php).', name: 'AjaxError', stack: 'Error\n    at https://amazee-ai.ddev.site:33001/sit…OmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27:19718'}message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /api/ai-ckeditor/dialog?_wrapper_format=drupal_modal&ajax_form=1\nStatusText: parsererror\nResponseText: Error: Call to a member function getName() on null in Drupal\\ai_ckeditor\\Plugin\\AICKEditor\\Translate-&gt;ajaxGenerate() (line 204 of /var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Plugin/AiCKEditor/Translate.php)."name: "AjaxError"stack: "Error\n    at https://amazee-ai.ddev.site:33001/sites/default/files/js/js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27:2411\n    at https://amazee-ai.ddev.site:33001/sites/default/files/js/js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27:19718"[[Prototype]]: Error
    at https://amazee-ai.ddev.site:33001/sites/default/files/js/js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27:2411
    at https://amazee-ai.ddev.site:33001/sites/default/files/js/js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27:19718
Drupal.Ajax.error @ js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27
complete @ js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27
options.complete @ js_UcQW3OsKd-Z2I4et8JdRgvScMEC4IwouxWEyy_pgv4Q.js?scope=footer&delta=6&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:4
c @ jquery.min.js?v=4.0.0-rc.1:2
fireWith @ jquery.min.js?v=4.0.0-rc.1:2
E @ jquery.min.js?v=4.0.0-rc.1:2
(anonymous) @ jquery.min.js?v=4.0.0-rc.1:2
XMLHttpRequest.send
send @ jquery.min.js?v=4.0.0-rc.1:2
ajax @ jquery.min.js?v=4.0.0-rc.1:2
$.fn.ajaxSubmit @ js_UcQW3OsKd-Z2I4et8JdRgvScMEC4IwouxWEyy_pgv4Q.js?scope=footer&delta=6&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:4
Drupal.Ajax.eventResponse @ js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27
(anonymous) @ js_mO82Kt7VyJ7TTGpJdeaLZ2mhUyiCdlvL-aYU8c4vi7c.js?scope=footer&delta=3&language=en&theme=gin&include=eJyNUkt2pDAMvJA7Xs0Rku0cgSeMAL32h1gymb79yNBu0iGLXvBwlcrlsiygzs0gfRI7phwuLBkhGFD6igNJyvbb2kCRxLBiV8V2yGUB__ZEmqb9YykK5qiCu-5ReUXzhmGZgYlfEs8S_HucKOJL8qALMC6NI2K7xY6U1F3_pIA_Co25eIpXDZQy2sMMPE0xYJRTQftSWwKnSu-Tu36WJPizQnH4xamee-b4pFuABT9yCn_HkdzJPGNIK378GolTyQ7fFVGcfhYFen93a2_uhFa8HMEezfIeFn4Ws4AgP1GbY0ZeUmQ1MiN5faxW3ZHR97R1UxdhpQmEUtw4_TpwrjaqQYq0g1D1NZ0abwTTgD3sZizkrjdTU5Mc9zPbPHSe-gz5Zr9omFCUjKUr1DLdoTmyHAP2LV9Mw-OSdW0WkLkRdb0RdTTaOexmHIp2w66YNaDOmXaHjcBE480OOELx0uD-e0bdkvxNe8b_AazOdiw:27
dispatch @ jquery.min.js?v=4.0.0-rc.1:2
v.handle @ jquery.min.js?v=4.0.0-rc.1:2
🇺🇸United States rraney

Hello, logging is on. I haven't been able to get AI Translate able to work in Explorer whatsoever. Also, I have Translate configured with Taxonomy, CK Editor, etc. When I try to translate in CK Editor, nothing happens. I have logging enabled. Nothing goes to logging unless it's successful. Nothing is logged because nothing is happening. I don't think it's a provider issue (Amazee.ai) but I'm speaking with them to see if they can get it working. Thus far, I haven't been able to get anything related to Translate working. I realize there are a lot of configuration steps and I think I've covered them all. What I have not tried is creating a custom content type instead of using Basic Page.

In Basic Page, I'm switching to Spanish in the edit form, then selecting the text and clicking on AI Assistant "Translate". It opens up a dialog box where I can once again choose Spanish from the language vocabulary. When I click "Translate", it says, "AI Writer: Idle" and nothing happens. If I go to logs, there is no record because apparently nothing happens.

🇺🇸United States rraney

I'm stuck on not being able to perform entity type update for the 1.12 update. Drupal shows an error matching the one above.

When I run drush entup using Devel, I get this general error, "SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null". I could provide details of this error. In PHPMyAdmin, the structure for the "enabled" field shows that the default is NULL and the Null field is checked. The values for all records include Default = Null and Enabled = Null.

The errors in command line reference:
SqlFieldableEntityTypeListenerTrait.php Line 220
SqlContentEntityStorage.php Line 866
ExceptionHandler.php Line 45
StatementWrapperIterator.php Line 113

🇺🇸United States rraney

Here's the structure shown for this field in the redirect table in PHPMyAdmin

14 enabled tinyint Yes NULL

Should NULL be "Yes"?

🇺🇸United States rraney

In SqlFieldableEntityTypeListenerTrait.php line 220:

The entity update process failed while processing the entity type redirect, ID: 2182.

🇺🇸United States rraney

In SqlContentEntityStorage.php line 866:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null: INSERT INTO "tmp_d4277credirect" ("rid", "type", "uuid", "language", "enabled", "hash", "uid",
"redirect_source__path", "redirect_source__query", "redirect_redirect__uri", "redirect_redirect__title", "redirect_redirect__options", "status_code", "created") VALUES (:db_insert_pl
aceholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_pl
aceholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array
(
[:db_insert_placeholder_0] => 2182
[:db_insert_placeholder_1] => redirect
[:db_insert_placeholder_2] => cea28385-f8a3-4904-85b9-a23735b04c95
[:db_insert_placeholder_3] => und
[:db_insert_placeholder_4] =>
[:db_insert_placeholder_5] => 44QZOQoTxNZCCmWu9wsh4diJClT4DZVLPIC4rmt-CCQ
[:db_insert_placeholder_6] => 0
[:db_insert_placeholder_7] => depts/sheriff/services/adult-corrections-(county-jail)
[:db_insert_placeholder_8] => N;
[:db_insert_placeholder_9] => http://www.dgso.org/index.php?option=com_content&view=article&id=28&Item...
[:db_insert_placeholder_10] =>
[:db_insert_placeholder_11] => a:0:{}
[:db_insert_placeholder_12] => 301
[:db_insert_placeholder_13] => 1673032491
)

In ExceptionHandler.php line 45:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null: INSERT INTO "tmp_d4277credirect" ("rid", "type", "uuid", "language", "enabled", "hash", "uid",
"redirect_source__path", "redirect_source__query", "redirect_redirect__uri", "redirect_redirect__title", "redirect_redirect__options", "status_code", "created") VALUES (:db_insert_pl
aceholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_pl
aceholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array
(
[:db_insert_placeholder_0] => 2182
[:db_insert_placeholder_1] => redirect
[:db_insert_placeholder_2] => cea28385-f8a3-4904-85b9-a23735b04c95
[:db_insert_placeholder_3] => und
[:db_insert_placeholder_4] =>
[:db_insert_placeholder_5] => 44QZOQoTxNZCCmWu9wsh4diJClT4DZVLPIC4rmt-CCQ
[:db_insert_placeholder_6] => 0
[:db_insert_placeholder_7] => depts/sheriff/services/adult-corrections-(county-jail)
[:db_insert_placeholder_8] => N;
[:db_insert_placeholder_9] => http://www.dgso.org/index.php?option=com_content&view=article&id=28&Item...
[:db_insert_placeholder_10] =>
[:db_insert_placeholder_11] => a:0:{}
[:db_insert_placeholder_12] => 301
[:db_insert_placeholder_13] => 1673032491
)

In StatementWrapperIterator.php line 113:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'enabled' cannot be null

🇺🇸United States rraney

Even after running "drush entup", I get this message:

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Redirect
The Redirect entity type needs to be updated.

🇺🇸United States rraney

What's the solution to this message when installing 12? I think this must be related to my issue.

Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Redirect
The Enabled field needs to be installed.

Locally, when I run `drush entup` using Devel, it says the field needs to be installed. I had to do this in production by enabling Devel and running the command. Once I run this command, the "Enabled" checkbox is not checked for any of my redirects.

Your suggestion is that I have custom code around redirects. I'm unaware of any and don't know how I would find this. Any thoughts?

🇺🇸United States rraney

Downgrade to 1.11 resolved my issue for the time being. I'm still curious if something can be done to make sure these fields are turned on, rather than off.

🇺🇸United States rraney

All of my redirects are now "off" after the update. I have to downgrade so that my existing redirects can work. All redirects appear to be "Off" in the new Enabled field. There are 1000s of redirects in place so I can't just manually turn them all off.

🇺🇸United States rraney

This happened to me and some people noticed redirects not working anymore. I investigated and found they had an "Enable" checkbox which was not selected. Is the "Enable" box new? That's a separate issue, but related to the update. Opening another issue if it's not already reported.

🇺🇸United States rraney

I'm seeing another error triggered by using the CK Editor AI Assistant.

Warning: Undefined array key 4 in Drupal\ai_ckeditor\Plugin\AICKEditor\Translate->ajaxGenerate() (line 204 of /var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Plugin/AiCKEditor/Translate.php)

#0 /var/www/html/web/core/includes/bootstrap.inc(104): _drupal_error_handler_real()
#1 /var/www/html/web/modules/contrib/ai/modules/ai_ckeditor/src/Plugin/AiCKEditor/Translate.php(204): _drupal_error_handler()
#2 [internal function]: Drupal\ai_ckeditor\Plugin\AICKEditor\Translate->ajaxGenerate()
#3 /var/www/html/web/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php(69): call_user_func_array()
#4 /var/www/html/web/core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php(112): Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse()
#5 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException()
#6 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}()
#7 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#8 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(241): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#9 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
#10 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#11 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#12 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#13 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#14 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#15 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#16 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#17 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#18 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#19 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#20 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(715): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#21 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#22 {main}

🇺🇸United States rraney

I failed to realize that I need to configure the various options in Configuration->Text Formatting for the editor that I'm using, which is "Content". When I added the "stars" to the editor, I didn't set up any of the various options with my provider. Once I did this, the CK Editor appears to be functioning as I would expect.

🇺🇸United States rraney

Here's the workaround: Make the button itself conditionally visible based on the checkbox, instead of the pages that follow. This fixes the issue. I doubt many people run into this, but who knows. Might be good to change the logic somehow.

🇺🇸United States rraney

I wonder if the form thinks it's done, because the other pages aren't enabled unless you check the box. That explains why, if you go back to the first page from the second page, it actually says "Proceed".

🇺🇸United States rraney

This is happening again. Attaching a screenshot of the first page of the form. I don't know how to recreate it. It's a multipage webform. I have the most updated version of the module and Drupal 10.3.x. The first page has a conditional, where you cannot continue without checking the box because the next page(s) are visibly dependent on this checkbox. I do not have Ajax enabled, because that's generally been an issue with multipage. I changed the "Submit" button element to say "Proceed" and "Previous. It does on all pages except the first page.

🇺🇸United States rraney

Seeing this related issue. The button here is "empty". It needs some sort of label for accessibility.

<nav class="tbm tbm-main tbm-arrows" id="tbm-main" data-breakpoint="1199" aria-label="main navigation" data-initialized="true">
Empty button
<button class="tbm-button" type="button">

What It Means
A button is empty or has no value text.

Why It Matters
When navigating to a button, descriptive text must be presented to screen reader users to indicate the function of the button.

How to Fix It
Place text content within the element or give the element a value attribute.

🇺🇸United States rraney

I'm seeing a couple of related issues with the Megamenu module for Drupal 10.

1. In a dropdown "level 1" submenu, such as:

<span class="tbm-link level-1 no-link tbm-toggle" tabindex="0" aria-expanded="false">
                Explore
          </span>

This is reportedly a misuse of aria attributes, according to WCAG 2.1 AA, SC 4.1.2.
To fix: ARIA attribute is not allowed: aria-expanded="false"

2. The level 1 "list" used in megamenu is missing the "aria-haspopup" attribute:
<li class="tbm-item level-1 tbm-item--has-dropdown" aria-level="1">
This also deals with SC 4.1.2.
To fix: Add aria-haspopup="true" to menu items with dropdowns. Ensure the menu element with aria-haspopup is focusable and can activate the popup.

Production build 0.71.5 2024