Unknown data property num_renewals

Created on 20 October 2014, almost 11 years ago
Updated 19 August 2025, 5 days ago

I've tried installing Commerce License on both a clean and existing install and each time I get the same error. When I tick 'Product' in line item types and try and add to cart I get a fatal error:

EntityMetadataWrapperException: Unknown data property num_renewals. in EntityStructureWrapper->getPropertyInfo() (line 335 of \public_html\sites\all\modules\dev\entity\includes\entity.wrapper.inc).

I have the latest versions of Commerce and all required dependencies. I also note I get the following error when enabling Commerce License.

    Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in entity_bundle_plugin_rebuild_fields() (line 50 of \public_html\sites\all\modules\dev\entity_bundle_plugin\entity_bundle_plugin.module).
    Warning: uasort() expects parameter 1 to be array, null given in entity_bundle_plugin_rebuild_fields() (line 51 of \public_html\sites\all\modules\dev\entity_bundle_plugin\entity_bundle_plugin.module).
    Warning: Invalid argument supplied for foreach() in entity_bundle_plugin_rebuild_fields() (line 55 of \public_html\sites\all\modules\dev\entity_bundle_plugin\entity_bundle_plugin.module).

I've looked around but I can't work out why this is happening.

Any ideas?

πŸ› Bug report
Status

Closed: outdated

Version

1.3

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jamesnumiko

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