- Issue created by @SocialNicheGuru
- πΊπΈUnited States SocialNicheGuru
Last two were incomplete and had errors
- π©πͺGermany ktpm
Hi,
just wanted to give a quick summary feedback on this, also including #3339355 π The "commerce_plugin_item:commerce_recruiting_bonus_resolver" plugin does not exist. Active and #3532677 π Uncaught Error: Class "Drupal\commerce\Entity\CommerceContentEntityBase" not found Active .
Commerce Recruiting is an extension module for Commerce. As it has Commerce as dependency, that module is required in order to install Recruiting in the first place, so the CommerceContentEntityBase class is supposed to be there (#3532677). Given that, I'm struggling on how to get to these issues or how to solve them.
The permissions are generated implicitly via the entity module, which itself is a dependence of commerce so there is no need for a permissions.yml file. These permissions there are never used by the module.
Of course you can just keep using the patches if they are helping, but as I see it they should not be needed at all.
- πΊπΈUnited States SocialNicheGuru
This is because of autoload. I am getting these errors before even installing the module. That is the point. It is autoloading commerce_recruiting which depends on commerce which is not autoloaded or even enabled. Why is there a need for autoload?
π Uncaught Error: Class "Drupal\commerce\Entity\CommerceContentEntityBase" not found Active
The point is that commerce is not enabled yet.
in composer.json -
"autoload": { "psr-4": { "Drupal\\commerce_recruiting\\": "./src" }
I am getting the errors because autoloading is working and I have not installed commerce_recruiting yet and it makes a call to commerce which is neither enabled nor autoloaded.