Could not load data, please refresh the page error

Created on 18 September 2018, over 6 years ago
Updated 17 May 2023, over 1 year ago

Hi,
I get this error "Could not load data, please refresh the page" on D8 after updating modules :

  • Features [features-8.x-3.8]
  • Pathauto [pathauto-8.x-1.3,
  • Token [token-8.x-1.4]

and D8.6.0 to 8.6.1 core.
Watchdog message:

Type	filter
Date	Mardi, 18 septembre, 2018 - 16:27
Utilisateur	Anonyme (non vérifié)
Emplacement	admin/coffee/get-data
Référent	admin/config/content/formats/manage/filtered_html?destination=/fr/admin/config/content/formats
Message	Missing text format: 2.
Importance	Alerte

Drush message:

drush @vmdevd8ce cron
Missing text format: 2.                                                                                                                                               [error]
PHP Fatal error:  Unsupported operand types in /var/www/drupal-8/core/lib/Drupal/Core/Utility/LinkGenerator.php on line 153
Drush command terminated abnormally due to an unrecoverable error.    

Another clue, if I enable a module then relaunch migration creation with migrate-upgrade then I get this error on coffee, and CRON doesn't run and give linkgenerator error.

Thanks

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France aiphes

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France aiphes

    Still on D9.5.3, need to stay on 1.2
    require drupal/coffee:1.2

  • 🇬🇧United Kingdom robcarr Perthshire, Scotland

    I'm seeing this issue on a 9.5.7 site with 8.x-1.3 running (have also tried dev branch). It's clearly a module clash or site config issue, as I have Coffee running just fine on other D9.5.x sites.

    I had noticed that the following errors were in the log:

    Drupal\Component\Plugin\Exception\PluginNotFoundException: The "node_type" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of/EntityTypeManager.php).

    After a bit of investigation, the site I'm having problems with only has custom entity types and it seems that there is an implicit dependency on the Node module being enabled in Coffee to work correctly. Looking through the code in src/Controller/CoffeeController.php there are a few implicit dependencies that are probably enabled on most Drupal sites by default, including Node and Menu. To be thorough, maybe the module should add the relevant dependencies in info.yml, or maybe split the 'Node' aspects of Coffee into a submodule.

    Probably doesn't help many others following this issue...

  • 🇷🇴Romania reszli Târgu Mureș

    indeed, I ran into this issue on a project where node module is not enabled.

    Drupal\Component\Plugin\Exception\PluginNotFoundException: The "node_type" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of /var/www/html/docroot/core/lib/Drupal/Core/Entity/EntityTypeManager.php).
    
Production build 0.71.5 2024