PluginException "EntityBundle" does not exist

Created on 25 November 2023, 10 months ago
Updated 10 September 2024, 18 days ago

Problem

After upgrading site from Drupal 9 to Drupal 10.1.6 I started facing this issue :

Drupal\Component\Plugin\Exception\PluginException: Plugin (node_type) instance class "EntityBundle" does not exist. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 97 of /web/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php).

Steps to reproduce

Upgrade to Drupal 10 and try to go to settings page : /admin/config/services/tawk_to/exta_settings you will face this issue.

Trying to figure out the solution for the same. Any help will be appreciated.
Thanks !!

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇮🇳India jagraj_singh_gill

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

Comments & Activities

  • Issue created by @jagraj_singh_gill
  • 🇩🇪Germany Rar9

    Same here, please help debug

  • 🇮🇳India jagraj_singh_gill

    I created one temporary patch which worked for me. Basically node_type condition was causing issues in Extra settings form and also in Conditional plugin handler. So I ignored that condition and make the code move forward skipping that condition. I tried comparing it with fresh Drupal 10 setup where I was unable to replicate this same issue, there also no node_type condition was coming. So something was fishy with this condition only. So I applied this fix and it worked.

    Thank You !!

  • Status changed to Closed: works as designed 10 months ago
  • 🇭🇺Hungary kecsot Hungary

    Looks like an update hook missing if you update from D9 to D10.

  • 🇺🇸United States aryosys

    The D9 version of this module stores 'node_type' in tawk_to.settings configuration (drush cget tawk_to.settings) and the upgrade from D9 to D10 is not picked up by the module to remove that setting automatically. If your Drupal site crashes after the upgrade, you should be able to visit "admin/config/services/tawk_to/exta_settings" and save the configuration to remove the old entry. If you cannot visit the settings page, you can use drush cset to remove the setting.

Production build 0.71.5 2024