I have made numerous elementTypes in my plugin that all work perfectly but for some reason one elementType keeps having an error when trying to view the Model's content or custom fields.
This is the error:
Property "Craft\Myplugin_OrderModel.locale" is not defined.
Everything looks exactly the same as all the other models that are elementTypes in my plugin.
All my plugins elementType models are using
public function isLocalized()
{
return false;
}
but the issue still persists with that one Model.