PDOStatement Object ( [queryString] => select * from `cms_posts` left join `cms_profiles` on cms_posts.author=cms_profiles.i_profile inner join `cms_posts_meta` on cms_posts_meta.i_post=cms_posts.i_post left join `cms_photos` on cms_posts.avatar=cms_photos.i_photo where cms_posts.trash='0' and cms_posts.status='1' and meta='category' and meta_key='544' and (cms_posts.start<'1770599256' and (cms_posts.end>='1770599256' or cms_posts.end='0' or cms_posts.end='NULL')) group by cms_posts.i_post order by cms_posts_meta.meta_order asc, cms_posts.start desc )
PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #39 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'bos_mingl.cms_posts_meta.meta_order' 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] => /var/www/mingl/_cms/inc/database.php
    [line:protected] => 82
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/mingl/_cms/inc/database.php
                    [line] => 82
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/mingl/_cms/inc/database.php
                    [line] => 117
                    [function] => query
                    [class] => Database
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/mingl/_cms/head.php
                    [line] => 260
                    [function] => getRow
                    [class] => Database
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/mingl/intro.php
                    [line] => 10
                    [args] => Array
                        (
                            [0] => /var/www/mingl/_cms/head.php
                        )

                    [function] => include
                )

            [4] => Array
                (
                    [file] => /var/www/mingl/index.php
                    [line] => 7
                    [args] => Array
                        (
                            [0] => /var/www/mingl/intro.php
                        )

                    [function] => include
                )

        )

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

)
Lični razvoj | Mingl

Najnovije