Unknown data property commerce_license_role

Created on 22 August 2016, about 9 years ago
Updated 19 August 2025, 5 days ago

I'm am getting the following error:

"EntityMetadataWrapperException: Unknown data property commerce_license_role. in EntityStructureWrapper->getPropertyInfo() (line 338 of /home/idtracker/public_html/sites/all/modules/entity/includes/entity.wrapper.inc)."

It happens when a user tries to do an action which creates an instance of my custom content type, which automatically generates a commerce license. the error is in the getPropertyInfo function of entity.wrapper.inc. The automated process is done with rules, and when I disable the rule the error stops happening. There are 4 actions in my rule, one to generate the commerce license (a subscription in this case), two rules to update the content type subscription_id and subscription_expiry fields on my content type then one to save it.

The error always occurs when the conditions are met.

I am using Drupal version 7.44, This wasn't listed in the bug reporter version dropdown.

It may be unrelated, but I've also been getting the following error at the bottom of my pages sometimes. Fatal error: Class name must be a valid object or a string in /home/idtracker/public_html/includes/common.inc on line 8003. Funnily enough, this doesn't actually appear to be a fatal error, as it still works.

This is my first attempt to reporting an issue in drupal, please be forgiving if I'm terrible.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia ElectricAlan

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.

Production build 0.71.5 2024