PDOException Object
(
    [message:protected] => SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at end of input
LINE 1: SELECT * from productos_marcas WHERE producto_marca_id = 
                                                                 ^
    [string:Exception:private] => 
    [code:protected] => 42601
    [file:protected] => /data/public/peru/FUENTES/web/libs/db/ctn/dao/ProductoMarcaDAO.php
    [line:protected] => 595
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /data/public/peru/FUENTES/web/libs/db/ctn/dao/ProductoMarcaDAO.php
                    [line] => 595
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT * from productos_marcas WHERE producto_marca_id = 
                        )

                )

            [1] => Array
                (
                    [file] => /data/public/peru/FUENTES/web/apps/_PUBLIC/neumaticos/infoMarca/infoMarca.php
                    [line] => 92
                    [function] => getInfoMarca
                    [class] => ProductoMarcaDAO
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [2] => Array
                (
                    [file] => /data/public/peru/FUENTES/web/phpfw/PHPFW.php
                    [line] => 740
                    [args] => Array
                        (
                            [0] => /data/public/peru/FUENTES/web/apps/_PUBLIC/neumaticos/infoMarca/infoMarca.php
                        )

                    [function] => require_once
                )

            [3] => Array
                (
                    [file] => /data/public/peru/web/base.php
                    [line] => 91
                    [function] => processAppRequest
                    [class] => PHPFW
                    [type] => ->
                    [args] => Array
                        (
                            [0] => PHPFWAppRequest Object
                                (
                                    [context] => _PUBLIC
                                    [app] => neumaticos/infoMarca
                                    [cli] => 
                                    [displayHead] => 1
                                    [displayBody] => 1
                                    [doSessionWriteClose] => 1
                                    [callApp] => 1
                                    [callAppActions] => 1
                                    [displayApp] => 1
                                    [includeCSS] => 1
                                    [includeJS] => 1
                                    [stealthMode] => 
                                    [fetch] => 
                                    [ajas] => 
                                    [appContainer] => 
                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42601
            [1] => 7
            [2] => ERROR:  syntax error at end of input
LINE 1: SELECT * from productos_marcas WHERE producto_marca_id = 
                                                                 ^
        )

)