Account created on 11 April 2019, over 5 years ago
#

Recent comments

Has there been any progress in reolving this? We have webforms that were migrated over from D7 that were fine until we tried to edit the field, which when it was saved wiped out our existing group settings.

Curiously this error seems to have resolved itself. The error above was reported during a cache rebuild, but is now gone after the cache rebuild and http restart.

Getting WSOD with Unsupported operand types in LinkFormatter->buildUrl() error in D10.1 after updating to PHP 8.1.27.
Successfully installed the patch in #22, but still getting an error.

PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #1 must be of type array, string given in /var/www/.../web/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php:247
Stack trace:
#0 /var/www/.../web/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php(247): array_merge()
#1 /var/www/.../web/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php(178): Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter->buildUrl()
#2 /var/www/.../web/core/lib/Drupal/Core/Field/FormatterBase.php(89): Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter->viewElements()
#3 /var/www/.../web/core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php(265): Drupal\Core\Field\FormatterBase->view()
#4 /var/www/.../web/core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php(268): Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple()
#5 /var/www/.../web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(339): Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildMultiple()
#6 /var/www/.../web/core/modules/node/src/NodeViewBuilder.php(24): Drupal\Core\Entity\EntityViewBuilder->buildComponents()
#7 /var/www/.../web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(281): Drupal\node\NodeViewBuilder->buildComponents()
#8 /var/www/.../web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php(238): Drupal\Core\Entity\EntityViewBuilder->buildMultiple()
#9 [internal function]: Drupal\Core\Entity\EntityViewBuilder->build()
#10 /var/www/.../web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(111): call_user_func_array()
#11 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(788): Drupal\Core\Render\Renderer->doTrustedCallback()
#12 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(377): Drupal\Core\Render\Renderer->doCallback()
#13 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(204): Drupal\Core\Render\Renderer->doRender()
#14 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(160): Drupal\Core\Render\Renderer->render()
#15 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(583): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#16 /var/www/.../web/core/lib/Drupal/Core/Render/Renderer.php(161): Drupal\Core\Render\Renderer->executeInRenderContext()
#17 /var/www/.../web/core/modules/node/src/Plugin/Search/NodeSearch.php(525): Drupal\Core\Render\Renderer->renderPlain()
#18 /var/www/.../web/core/modules/node/src/Plugin/Search/NodeSearch.php(489): Drupal\node\Plugin\Search\NodeSearch->indexNode()
#19 /var/www/.../web/core/modules/search/search.module(80): Drupal\node\Plugin\Search\NodeSearch->updateIndex()
#20 /var/www/.../web/core/lib/Drupal/Core/Cron.php(335): search_cron()
#21 /var/www/.../web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Cron->Drupal\Core\{closure}()
#22 /var/www/.../web/core/lib/Drupal/Core/Cron.php(343): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#23 /var/www/.../web/core/lib/Drupal/Core/Cron.php(159): Drupal\Core\Cron->invokeCronHandlers()
#24 /var/www/.../web/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#25 /var/www/.../web/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#26 [internal function]: Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate()
#27 /var/www/.../web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#28 /var/www/.../vendor/symfony/http-kernel/HttpKernel.php(115): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#29 /var/www/.../web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate()
#30 /var/www/.../web/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate()
#31 /var/www/.../vendor/drush/drush/src/Boot/DrupalBoot8.php(331): Drupal\Core\DrupalKernel->terminate()
#32 [internal function]: Drush\Boot\DrupalBoot8->terminate()
#33 {main}
  thrown in /var/www/.../web/core/modules/link/src/Plugin/Field/FieldFormatter/LinkFormatter.php on line 247

Slider is displaying as expected now. CSS changes may have made the difference.

Actually, I found that this is only partially resolved. I now get field data, but when I add a relationship, I get a SQL error in the view such as SQLSTATE[42000]: Syntax error or access violation: 1142 SELECT command denied to user 'user'@'localhost' for table 'civicrm_contribution': SELECT COUNT(*) AS "expression" FROM (SELECT 1 AS "expression" FROM "civicrm_contact" "civicrm_contact" LEFT JOIN vnprod.civicrm_contribution "contact_id_civicrm_contact" ON civicrm_contact.id = contact_id_civicrm_contact.contact_id) "subquery"; Array ( ).
I have both Drupal and CiviCRM in the same database, using the same MySQL account with the typical permissions. I see posts on how to handle dual db systems getting this error, but not with a single db. This is with MySQL 8x.

I just noticed some errors in the log: Drupal\Core\Database\DatabaseAccessDeniedException: SQLSTATE[HY000] [1045] Access denied
I do have 'CIVICRM_DSN', 'mysql://user:pw@localhost:3306/prod?new_link=true' defined in my civicrm.settings.php
I am wondering if the $ in the pw as %24 is possibly an issue.

Thank you @markusa.
Yes, contacts are listed at /admin/structure/civicrm-entity/civicrm-contact
I have tried adding CiviCRM Contact (CiviCRM Entity): Display Name and a few other fields
The field is set to "Format" = "Unformatted List" and "Show" = "Fields"
The view access is set to Unrestricted. This is on D9.
I have used CiviCRM Entiity for many years on D7 with no problem.

Yes, there is one Rest data export from before my time, and we do use the Views data export module. I just looked at the Rest settings for the first time. I do not see where style settings are defned. Where should I look for them? Thanks.

How's this? Thanks.

Error: Call to undefined method Drupal\views\Plugin\views\style\DefaultStyle::getFormats() in Drupal\rest\Plugin\views\display\RestExport->collectRoutes() (line 351 of /var/www/cascade/prod/nesea.org/webroot/web/core/modules/rest/src/Plugin/views/display/RestExport.php)

#0 /var/www/cascade/prod/nesea.org/webroot/web/core/modules/views/src/EventSubscriber/RouteSubscriber.php(120): Drupal\rest\Plugin\views\display\RestExport->collectRoutes(Object(Symfony\Component\Routing\RouteCollection))
#1 [internal function]: Drupal\views\EventSubscriber\RouteSubscriber->routes()
#2 /var/www/cascade/prod/nesea.org/webroot/web/core/lib/Drupal/Core/Routing/RouteBuilder.php(146): call_user_func(Array)
#3 /var/www/cascade/prod/nesea.org/webroot/web/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(83): Drupal\Core\Routing\RouteBuilder->rebuild()
#4 /var/www/cascade/prod/nesea.org/webroot/web/core/includes/common.inc(587): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()
#5 /var/www/cascade/prod/nesea.org/webroot/web/core/modules/system/src/Controller/DbUpdateController.php(662): drupal_flush_all_caches()
#6 /var/www/cascade/prod/nesea.org/webroot/web/core/includes/batch.inc(456): Drupal\system\Controller\DbUpdateController::batchFinished(false, Array, Array, Object(Drupal\Core\StringTranslation\TranslatableMarkup))
#7 /var/www/cascade/prod/nesea.org/webroot/web/core/includes/batch.inc(98): _batch_finished()
#8 /var/www/cascade/prod/nesea.org/webroot/web/core/modules/system/src/Controller/DbUpdateController.php(186): _batch_page(Object(Symfony\Component\HttpFoundation\Request))
#9 [internal function]: Drupal\system\Controller\DbUpdateController->handle('start', Object(Symfony\Component\HttpFoundation\Request))
#10 /var/www/cascade/prod/nesea.org/webroot/web/core/lib/Drupal/Core/Update/UpdateKernel.php(115): call_user_func_array(Array, Array)
#11 /var/www/cascade/prod/nesea.org/webroot/web/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\Core\Update\UpdateKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request))
#12 /var/www/cascade/prod/nesea.org/webroot/web/update.php(27): Drupal\Core\Update\UpdateKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 {main}

Not yet. I figured that I should resolve current issues before running that. I ran all the other migrations.

I did not see any numeric identifiers in the Drush output-- is there another way to view them?
I had seen the issues in #3-- the first one includes comments from me about an earlier WSOD that I did resolve.
The other threads have been a dead-end, and while this issue may be related, I do not know enough to determine that.

Is this result from drush updatedb:status what you are looking for? Thanks.

  ------------------ ------------------------------------------ ---------------
  Module             Update ID                                  Type           
 ------------------ ------------------------------------------ --------------- 
  file entity type                                              entity-update  
  ckeditor           omit_settings_for_disabled_plugins         post-update    
                                                                               
  image              image_loading_attribute                    post-update    
                                                                               
  system             enable_provider_database_driver            post-update    
  update             add_view_update_notifications_permission   post-update    
                                                                               
  views              image_lazy_load                            post-update    
  views              provide_revision_table_relationship        post-update    


Production build 0.71.5 2024