The same problem with 3.4.3. Incorrect determine of post ID.
The same problem!
No any rules in .htaccess with my Login Slug. Maybe this is the reason
Change the code on line 169
foreach ( $weight['tax'] as $tax => $weight ) {
$newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($weight);
}
by this code:
foreach ( (array) $weight['tax'] as $tax => $weight ) {
$newsql .= " + " . $this->tax_criteria($reference_ID, $tax) . " * " . intval($weight);
}
Now warning message dissapear.