Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
EntityMetadataWrapperException: Unknown data property field_location.
- Install Location, Location CCK, Location Node.
- Add field to content type: Location (field_location).
- Load node.
- Apply entity_metadata_wrapper to node.
- Access $wrapper->field_location->value()
location_cck 7.x-3.8-beta2+6-dev 2017/04/11
location_phone 7.x-3.8-beta2+6-dev 2017/04/11
location 7.x-3.8-beta2+6-dev 2017/04/11
location_node 7.x-3.8-beta2+6-dev 2017/04/11
Drupal 7.54
PHP 5.6.25
Comments