Issue #2363681 by MiroslavBanov: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'weight' in 'order clause'