A valid cache entry key is required. Use getAll() to get all table data.

Created on 20 June 2023, about 1 year ago
Updated 3 May 2024, about 2 months ago

Hi

I am facing issues while migrating the views as below

[error] A valid cache entry key is required. Use getAll() to get all table data. (C:\xampp\htdocs\d10_custom\web\core\modules\views\src\ViewsData.php:140)

Is there any budy faced this issues then Can you please help on this.

Thanks

🐛 Bug report
Status

Closed: won't fix

Version

1.2

Component

Code

Created by

🇮🇳India sandip.prajapati

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

Comments & Activities

  • Issue created by @sandip.prajapati
  • 🇮🇳India Jeya sundhar Coimbatore

    Hi @sandip.prajapati,
    Will you share your exported view (D7) for reference to fix this issue.

    Thank you,
    Jeya Sundharam

  • 🇪🇬Egypt Hamzeh Alhomsi

    Hi @Jeya sundhar,
    I'm facing the same issue, using Drupal 9.5.9 with Views migration version 1.2.6 & Dev version

    I imported the content, taxonomies, and users then I triggered the views migration command, the views have been imported successfully,
    and the error msg: InvalidArgumentException: A valid cache entry key is required. Use getAll() to get all table data. in Drupal\views\ViewsData->get() (line 140 of core\modules\views\src\ViewsData.php).

  • 🇪🇬Egypt Hamzeh Alhomsi

    I found what causing the issue, it's a Nodequeue relationship, I removed it from the views, and everything working as expected.

  • 🇺🇸United States xeiro

    The patch at https://www.drupal.org/project/entity_reference_revisions/issues/2799479 🐛 Views doesn't recognize relationship to host Needs work looks to fix this error in D9.5x.

  • Status changed to Closed: won't fix 3 months ago
  • 🇮🇳India Jeya sundhar Coimbatore

    As per #4

  • 🇺🇸United States ExTexan

    I'm not sure what a "Nodequeue relationship" is (from #4), and I'm not using the entity_reference_revisions module (from #5).

    Can someone offer some insight on what I need to look for? The view with the issue in my case lists several taxonomies.

Production build 0.69.0 2024