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

Comments

aiphes created an issue. See original summary.

aiphes’s picture

Issue summary: View changes
aiphes’s picture

Issue summary: View changes
aiphes’s picture

Issue summary: View changes
aiphes’s picture

Perhaps related to filter_null watchdog alert ?

aiphes’s picture

drale01’s picture

Hi,

same error for me "Could not load data, please refresh the page" after installing Coffee. And Coffee didn't work on my sites at all. I tried dev version and I uninstalled Backup and Migrate module but Coffee don't work. Also I have 128M memory limit on one site and 256 on second site.
Please help

quietone’s picture

Issue tags: -migrate-d6-d8

As far as I can tell this does not involve a migration so removing tag. If migration is somehow preventing the installation of a module then open an issue in the Core issue queue.

mandclu’s picture

I had the same error but switching to the dev version got it working for me.

aiphes’s picture

On D9.5.0 and upgrading to Upgrading drupal/coffee (1.2.0 => 1.3.0) get this error back.

Downgrade to 1.2.0 get back the module to work. Not tested the dev version.
Downgrading drupal/coffee (1.3.0 => 1.2.0): Extracting archive

rar9’s picture

getting the same with 1.2 and 1.3

aiphes’s picture

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

aiphes’s picture

Version: 8.x-1.0-beta2 » 8.x-1.2
robcarr’s picture

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...

reszli’s picture

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).