Array
(
    [0] => Array
        (
            [file] => /home/webs/www.clker.com/inc/tagfuncs.php
            [line] => 314
            [function] => query
            [args] => Array
                (
                    [0] => select thingid, stem from thing_tags where thingid in () and stem not in('logo','my','new')
                )

        )

    [1] => Array
        (
            [file] => /home/webs/www.clker.com/inc/tagfuncs.php
            [line] => 250
            [function] => findSubtags
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => logo
                            [2] => my
                            [1] => new
                        )

                    [1] => svgimage
                )

        )

    [2] => Array
        (
            [file] => /home/webs/www.clker.com/inc/searchbar.php
            [line] => 23
            [function] => FindTagularContents
            [args] => Array
                (
                    [0] => Array
                        (
                            [0] => logo
                            [1] => new
                            [2] => my
                        )

                    [1] => svgimage
                )

        )

    [3] => Array
        (
            [file] => /home/webs/www.clker.com/search.php
            [line] => 117
            [args] => Array
                (
                    [0] => /home/webs/www.clker.com/inc/searchbar.php
                )

            [function] => include
        )

    [4] => Array
        (
            [file] => /home/webs/www.clker.com/search
            [line] => 2
            [args] => Array
                (
                    [0] => /home/webs/www.clker.com/search.php
                )

            [function] => include
        )

)
PgSQL ERROR: ERROR:  syntax error at or near ")"
LINE 1: ...t thingid, stem from thing_tags where thingid in () and stem...
                                                             ^ SQL is: select thingid, stem from thing_tags where thingid in () and stem not in('logo','my','new')