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_articulo2982
idiomaen
printtrue
SESSION
GLOBALS
id_articulo2982
idiomaen
printtrue
PHPSESSIDsagkemgbrcveev0j4534vi7t19
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.242
REMOTE_PORT17979
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/2982/tlcan/article-309.-import-and-export-restrictions/?print=true
REDIRECT_URL/articles/2982/tlcan/article-309.-import-and-export-restrictions/
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=2982&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/2982/tlcan/article-309.-import-and-export-restrictions/
SCRIPT_URL/articles/2982/tlcan/article-309.-import-and-export-restrictions/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1780094799.5016
REQUEST_TIME1780094799
id_articulo2982
idiomaen
printtrue
titulo
Article  309.    Import  and  Export  Restrictions
id_articulo2982
id_ordenamiento657
nombre_claveArt.  309
contenido

Article  309.    Import  and  Export  Restrictions

1.  Except  as  otherwise  provided  in  this  Agreement,  no  Party  may  adopt  or  maintain  any  prohibition  or  restriction  on  the  importation  of  any  good  of  another  Party  or  on  the  exportation  or  sale  for  export  of  any  good  destined  for  the  territory  of  another  Party,  except  in  accordance  with  Article  XI  of  the  GATT,  including  its  interpretative  notes,  and  to  this  end  Article  XI  of  the  GATT  and  its  interpretative  notes,  or  any  equivalent  provision  of  a  successor  agreement  to  which  all  Parties  are  party,  are  incorporated  into  and  made  a  part  of  this  Agreement.

2.  The  Parties  understand  that  the  GATT  rights  and  obligations  incorporated  by  paragraph  1  prohibit,  in  any  circumstances  in  which  any  other  form  of  restriction  is  prohibited,  export  price  requirements  and,  except  as  permitted  in  enforcement  of  countervailing  and  antidumping  orders  and  undertakings,  import  price  requirements.

3.  In  the  event  that  a  Party  adopts  or  maintains  a  prohibition  or  restriction  on  the  importation  from  or  exportation  to  a  non-Party  of  a  good,  nothing  in  this  Agreement  shall  be  construed  to  prevent  the  Party  from:

  • Limiting  or  prohibiting  the  importation  from  the  territory  of  another  Party  of  such  good  of  that  non-  Party;  or
  •  

  • Requiring  as  a  condition  of  export  of  such  good  of  the  Party  to  the  territory  of  another  Party,  that  the  good  not  be  re-exported  to  the  non-Party,  directly  or  indirectly,  without  being  consumed  in  the  territory  of  the  other  Party.  
  • 4.  In  the  event  that  a  Party  adopts  or  maintains  a  prohibition  or  restriction  on  the  importation  of  a  good  from  a  non-Party,  the  Parties,  on  request  of  any  Party,  shall  consult  with  a  view  to  avoiding  undue  interference  with  or  distortion  of  pricing,  marketing  and  distribution  arrangements  in  another  Party.

    5.  Paragraphs  1  through  4  shall  not  apply  to  the  measures  set  out  in  Annex  301.3.  --659-Anexo  301.3--


    nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final649
    id_ordenamientos649
    id_padre0
    abreviatura
    nombre_cortoTLCAN
    nombre_frontTLCAN
    descripcion
    id_viejo
    orden11
    ocultar
    COOKIES
    PHPSESSIDsagkemgbrcveev0j4534vi7t19
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=sagkemgbrcveev0j4534vi7t19
    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
    DOCUMENT_ROOT/home/bado2026/public_html
    REMOTE_ADDR216.73.216.242
    REMOTE_PORT17979
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/2982/tlcan/article-309.-import-and-export-restrictions/?print=true
    REDIRECT_URL/articles/2982/tlcan/article-309.-import-and-export-restrictions/
    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=2982&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/2982/tlcan/article-309.-import-and-export-restrictions/
    SCRIPT_URL/articles/2982/tlcan/article-309.-import-and-export-restrictions/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1780094799.5016
    REQUEST_TIME1780094799
    ENV