I am attempting to query a custom content type called players (machine name) in a Drupal 7 module and it seemed to be working fine up until an hour ago. Nothing has changed on my side but now the 'Select' works ( with no fieldCondition, but when I add a fieldCondition I am getting empty results.
Here is my query:
$query = new EntityFieldQuery; $query->entityCondition('entity_type', 'node') ->entityCondition('bundle', 'players') ->fieldCondition('field_email_address', 'value', $email_address) ->fieldCondition('field_password', 'value', $password) ->range(0, 1); $results = $query->execute();
I have verified and reverified the bundle name, each machine name for the fields, and the values being passed in, but when I dump and die the query results, they come up empty.