I'm cloned an existing D7 site onto a new computer that I've worked on many times before, but I have a problem I've never seen before - I can't print ANY field using
The fields exist in the backend and the backend works fine.
$wrap->raw() shows all the fields as expected but
Our templates use this heavily, and as the site is live there is nothing wrong with the code, but my environment.
But what could it be? I've tried all types of PHP version (on MAMP) to avail.
Any help appreciated!
<?php $wrap = entity_metadata_wrapper('node', 123) ?> <?php print $wrap->field_any_field->value(); ?>
EntityMetadataWrapperException: Unknown data property field_any_field. in EntityStructureWrapper->getPropertyInfo() (line 354 of