Query condition that needs to return true no longer working
I found out here that since Drupal 8.7.0 (at least) the field part of the condition can not be an expression.
Since you can't use &quot;where&quot; you must figure out another way to force the condition to always be true. Maybe you could mess around with the operator like this:

Instead of overriding the entire condition, use the &quot;LIKE&quot; operator:
$conditions[$key]['value'] = '%';
$conditions[$key]['operator'] = 'like';


Or if that doesn't work, the &quot;NOT IN&quot; operator:
$conditions[$key]['value'] = array('w00t');
$conditions[$key]['operator'] = 'NOT IN';



Hope this helps you!