PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'skinbase.t2.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /opt/www/virtual/skinbase/www/pages/top-favourites.page.php
    [line:protected] => 28
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /opt/www/virtual/skinbase/www/pages/top-favourites.page.php
                    [line] => 28
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /opt/www/virtual/skinbase/www/index.php
                    [line] => 359
                    [args] => Array
                        (
                            [0] => /opt/www/virtual/skinbase/www/pages/top-favourites.page.php
                        )

                    [function] => include
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1055
            [2] => Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'skinbase.t2.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
        )

)

Favourites

Most popular artworks which users added in their favourites