Error when viewing list of taxonomy terms
I got a similar error on my server too. 
I had to change the function in TermStorage.php to get it to work. 

Just a warning, this core hack and should be reverted once it is fixed in core. 
Replace getTermIdsWithPendingRevisions() with the following:

  public function getTermIdsWithPendingRevisions() {
$table_mapping = $this-&gt;getTableMapping();
$id_field = $table_mapping-&gt;getColumnNames($this-&gt;entityType-&gt;getKey('id'))['value'];
$revision_field = $table_mapping-&gt;getColumnNames($this-&gt;entityType-&gt;getKey('revision'))['value'];
$rta_field = $table_mapping-&gt;getColumnNames($this-&gt;entityType-&gt;getKey('revision_translation_affected'))['value'];
$langcode_field = $table_mapping-&gt;getColumnNames($this-&gt;entityType-&gt;getKey('langcode'))['value'];
$revision_default_field = $table_mapping-&gt;getColumnNames($this-&gt;entityType-&gt;getRevisionMetadataKey('revision_default'))['value'];

$query = $this-&gt;database-&gt;select($this-&gt;getRevisionDataTable(), 'tfr');
$query-&gt;fields('tfr', [$id_field]);
$query-&gt;addExpression("MAX(tfr.$revision_field)", $revision_field);

$query-&gt;join($this-&gt;getRevisionTable(), 'tr', "tfr.$revision_field = tr.$revision_field AND tr.$revision_default_field = 0");

$inner_select = $this-&gt;database-&gt;select($this-&gt;getRevisionDataTable(), 't');
$inner_select-&gt;condition("t.$rta_field", '1');
$inner_select-&gt;fields('t', [$id_field, $langcode_field]);
$inner_select-&gt;addExpression("MAX(t.$revision_field)", $revision_field);
$inner_select
  -&gt;groupBy("t.$id_field")
  -&gt;groupBy("t.$langcode_field");

$query-&gt;join($inner_select, 'mr', "tfr.$revision_field = mr.$revision_field AND tfr.$langcode_field = mr.$langcode_field");

$query-&gt;groupBy("tfr.$id_field");
return 0;
//return $query-&gt;execute()-&gt;fetchAllKeyed(1, 0);


}