May be we are getting this error due to this https://www.drupal.org/node/1246...