As title implies, I cannot seem to get $wpdb->get_results to give results. Running the “raw” query is successful, but this seems to be failing for some strange unknown reason.
global $wpdb;
$sql = "SELECT *
FROM something aki,
somethingelse akb,
somethingelseelse ac
WHERE aki.keyID = akb.keyID
AND akb.someID = ac.someID
AND aki.type LIKE '%thing%'";
$corps = $wpdb->get_results($sql, OBJECT);
var_dump($corps);