mysqli_sql_exception: Unknown column 'print' in 'where clause'


File: /home/bado2026/public_html/php/DB.php
Line: 26
#0 /home/bado2026/public_html/php/DB.php(26): mysqli->query()
#1 /home/bado2026/public_html/auxiliar.php(279): DBConnection->query()
#2 /home/bado2026/public_html/valida-idioma.php(99): createLinkbyArticleId()
#3 /home/bado2026/public_html/header.php(9): include_once('/home/bado2026/...')
#4 /home/bado2026/public_html/articulos.php(92): include_once('/home/bado2026/...')
#5 {main}
mysqli_sql_exception  Object
(
       [message:protected]  =>  Unknown  column  'print'  in  'where  clause'
       [string:Exception:private]  =>  
       [code:protected]  =>  1054
       [file:protected]  =>  /home/bado2026/public_html/php/DB.php
       [line:protected]  =>  26
       [trace:Exception:private]  =>  Array
               (
                       [0]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/php/DB.php
                                       [line]  =>  26
                                       [function]  =>  query
                                       [class]  =>  mysqli
                                       [type]  =>  ->
                               )

                       [1]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/auxiliar.php
                                       [line]  =>  279
                                       [function]  =>  query
                                       [class]  =>  DBConnection
                                       [type]  =>  ->
                               )

                       [2]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/valida-idioma.php
                                       [line]  =>  99
                                       [function]  =>  createLinkbyArticleId
                               )

                       [3]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/header.php
                                       [line]  =>  9
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/valida-idioma.php
                                               )

                                       [function]  =>  include_once
                               )

                       [4]  =>  Array
                               (
                                       [file]  =>  /home/bado2026/public_html/articulos.php
                                       [line]  =>  92
                                       [args]  =>  Array
                                               (
                                                       [0]  =>  /home/bado2026/public_html/header.php
                                               )

                                       [function]  =>  include_once
                               )

               )

       [previous:Exception:private]  =>  
       [sqlstate:protected]  =>  42S22
)

POST
GET
id_articulo1444
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo1444
idiomaen
printtrue
PHPSESSIDqoq9u3gtltog7kpaqnloefnh48
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.23
REMOTE_PORT63673
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
REDIRECT_QUERY_STRINGprint=true
REDIRECT_REQUEST_METHODGET
HTTPSon
REDIRECT_STATUS200
X_SPDYHTTP2
SSL_PROTOCOLTLSv1.3
SSL_CIPHERTLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE256
SSL_CIPHER_ALGKEYSIZE256
SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
QUERY_STRINGid_articulo=1444&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
SCRIPT_URL/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788663431.6095
REQUEST_TIME1788663431
id_articulo1444
idiomaen
printtrue
titulo
ARTICLE  5:  FACULTIES  OF  THE  SECRETARY  OF  ECONOMY  (SECRETARÍA  DE  ECONOMÍA)
id_articulo1444
id_ordenamiento240
nombre_claveArt.  5
contenido

ARTICLE  5:  FACULTIES  OF  THE  SECRETARY  OF  ECONOMY  (SECRETARÍA  DE  ECONOMÍA)

 

They  are  faculties  of  the  Ministry  --237-Art.  3--  --439-Art.  1--:

  • Study,  project  and  propose  to  the  Federal  Executive  tariff  modifications;
  •  

  • Process  and  resolve  investigations  regarding  safeguard  measures  --259-Art.  45--,  as  well  as  impose  the  measurements  resulting  from  such  investigations;
  •  

  • Study,  project,  establish  and  modify  regulation  and  non-tariff  restriction  measures  for  export,  import,  circulation  and  transit  of  merchandise;
  •  

  • Establish  the  rules  of  origin;
  •  

  • Grant  previous  permits  and  assign  export  and  import  quotas.  --446-Art.  15--;
  •  

  • Establish  the  requirements  the  country  of  origin  labeling;
  •  

  • Processing  and  resolving  investigations  into  unfair  international  trade  practices,  as  well  as  determining  the  compensatory  fees  resulting  from  such  investigations;
  •  

  •  Advise  Mexican  exporters  involved  in  investigations  abroad  regarding  unfair  international  trade  practices  and  safeguard  measures  or  any  other  procedure  that  may  result  in  import  restrictions  in  other  countries;
  •  

  • Coordinate  international  trade  negotiations  with  the  competent  agencies  and,  when  requested  by  the  Ministry,  with  the  productive  sectors;
  •  

  • Issue  administrative  provisions  in  compliance  with  international  treaties  or  agreements  in  commercial  matters  to  which  Mexico  is  a  part  of;
  •  

  • Establish  programs  and  mechanisms  for  the  promotion  and  development  of  exports,  as  well  as  the  provisions  that  govern  them,  listening  to  the  productive  sectors  and  institutions  promoting  the  public  and  private  sector;
  •  

  • Issue  rules  that  establish  general  provisions  within  the  scope  of  its  competence,  as  well  as  the  necessary  criteria  for  compliance  with  international  trade  laws,  agreements  or  treaties,  decrees,  regulations,  agreements  and  other  general  regulations  of  its  competence,  and
  •  

  • The  others  that  expressly  entrust  the  laws  and  regulations.

  • nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final235
    id_ordenamientos235
    id_padre0
    abreviatura
    nombre_cortoLCE
    nombre_frontLey  de  Comercio  Exterior
    descripcion
    id_viejo
    orden6
    ocultar
    popup_inicial1
    COOKIES
    PHPSESSIDqoq9u3gtltog7kpaqnloefnh48
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    DOCUMENT_ROOT/home/bado2026/public_html
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=qoq9u3gtltog7kpaqnloefnh48
    HTTP_HOST2026.bado.mx
    HTTP_USER_AGENTMozilla/5.0  AppleWebKit/537.36  (KHTML,  like  Gecko;  compatible;  ClaudeBot/1.0;  +claudebot@anthropic.com)
    HTTP_X_HTTPS1
    REMOTE_ADDR216.73.217.23
    REMOTE_PORT63673
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
    REDIRECT_QUERY_STRINGprint=true
    REDIRECT_REQUEST_METHODGET
    HTTPSon
    REDIRECT_STATUS200
    X_SPDYHTTP2
    SSL_PROTOCOLTLSv1.3
    SSL_CIPHERTLS_AES_256_GCM_SHA384
    SSL_CIPHER_USEKEYSIZE256
    SSL_CIPHER_ALGKEYSIZE256
    SCRIPT_FILENAME/home/bado2026/public_html/articulos.php
    QUERY_STRINGid_articulo=1444&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
    SCRIPT_URL/articles/1444/ley-de-comercio-exterior/article-5-faculties-of-the-secretary-of-economy-(secretaria/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1788663431.6095
    REQUEST_TIME1788663431
    ENV