Query condition 'paragraphs_item_field_data_2.id IN

Created on 19 June 2024, 7 months ago

Problem/Motivation


The website encountered an unexpected error. Try again later.

Drupal\Core\Database\InvalidQueryException: Query condition 'paragraphs_item_field_data_2.id IN ()' cannot be empty. in Drupal\Core\Database\Query\Condition->condition() (line 106 of core/lib/Drupal/Core/Database/Query/Condition.php).

Drupal\Core\Database\Query\Select->condition() (Line: 77)
Drupal\Core\Entity\Query\Sql\Condition->compile() (Line: 176)
Drupal\Core\Entity\Query\Sql\Query->compile() (Line: 27)
Drupal\Core\Entity\Query\Sql\QueryAggregate->execute() (Line: 179)
Drupal\xray_audit\Plugin\xray_audit\tasks\QueryGroup\XrayAuditQueryTaskParagraphsPlugin->paragraphsTypes() (Line: 139)
Drupal\xray_audit\Plugin\xray_audit\tasks\QueryGroup\XrayAuditQueryTaskParagraphsPlugin->getDataOperationResult() (Line: 67)
Drupal\xray_audit\Controller\XrayAuditTaskController->build()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
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: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
Drupal\Core\DrupalKernel->handle() (Line: 19)

issue coming from here: https://www.drupal.org/project/xray_audit/issues/3360848#comment-15644878 🐛 BSOD when accesing hierarchy paragaph report when Xray Audit is enabled before Paragraphs Active

did a uninstall of xray. cache clear and install.
Same error.

Steps to reproduce

D10.2.7 php 8.3 with xray_audit Version: 1.5.2

/admin/reports/xray-audit/queries_data/queries_data_paragraphs-paragraphs_count

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.5

Component

Code

Created by

🇦🇹Austria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024