Closed (fixed)
Project:
Commerce Recruiting
Version:
8.1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2023 at 14:28 UTC
Updated:
29 Dec 2025 at 11:54 UTC
Jump to comment: Most recent
Comments
Comment #2
ktpm commentedHi,
I noticed a missing dependency to commerce_cart that was added in the last release. Please try the updated version.
I cannot reproduce this issue as plugins of disabled modules are ignored and should not produce this exception at all, so this issue may be out of scope for this module.
If the issue persists with the updated version, please provide more information about the steps for me to reproduce.
Comment #3
socialnicheguru commentedComment #4
socialnicheguru commentedThis is still an issue for me.
I think this might be an explanation:
Even when disabled, the module's entity class files are being autoloaded during cache rebuilds. The Campaign entity class is being discovered and its baseFieldDefinitions() method is being called, which tries to create a field of type commerce_plugin_item:commerce_recruiting_bonus_resolver, but the plugin type doesn't exist because the module (and its services) are disabled.
This is a common issue with Drupal modules that define entity types with custom field types - the entity discovery happens before the module's services are available.
Comment #5
ktpm commented-> https://www.drupal.org/project/commerce_recruiting/issues/3532677