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_articulo3043
idiomaen
printtrue
SESSION
GLOBALS
id_articulo3043
idiomaen
printtrue
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.32
REMOTE_PORT39449
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/3043/tlcan/article-502.-obligations-regarding-importations/?print=true
REDIRECT_URL/articles/3043/tlcan/article-502.-obligations-regarding-importations/
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=3043&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/3043/tlcan/article-502.-obligations-regarding-importations/
SCRIPT_URL/articles/3043/tlcan/article-502.-obligations-regarding-importations/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1786217366.2801
REQUEST_TIME1786217366
id_articulo3043
idiomaen
printtrue
titulo
Article  502.  Obligations  Regarding  Importations
id_articulo3043
id_ordenamiento662
nombre_claveArt.  502
contenido

Article  502.  Obligations  Regarding  Importations

1.  Except  as  otherwise  provided  in  this  Chapter,  each  Party  shall  require  an  importer  in  its  territory  that  claims  preferential  tariff  treatment  for  a  good  imported  into  its  territory  from  the  territory  of  another  Party  to:

  • Make  a  written  declaration,  based  on  a  valid  Certificate  of  Origin,  that  the  good  qualifies  as  an  originating  good;
  •  

  • Have  the  Certificate  in  its  possession  at  the  time  the  declaration  is  made;
  •  

  • Provide,  on  the  request  of  that  Party's  customs  administration,  a  copy  of  the  Certificate;  and
  •  

  • Promptly  make  a  corrected  declaration  and  pay  any  duties  owing  where  the  importer  has  reason  to  believe  that  a  Certificate  on  which  a  declaration  was  based  contains  information  that  is  not  correct.
  • 2.  Each  Party  shall  provide  that,  where  an  importer  in  its  territory  claims  preferential  tariff  treatment  for  a  good  imported  into  its  territory  from  the  territory  of  another  Party:

  • The  Party  may  deny  preferential  tariff  treatment  to  the  good  if  the  importer  fails  to  comply  with  any  requirement  under  this  Chapter;  and
  •  

  • The  importer  shall  not  be  subject  to  penalties  for  the  making  of  an  incorrect  declaration,  if  it  voluntarily  makes  a  corrected  declaration  pursuant  to  paragraph  1(d).  
  • 3.  Each  Party  shall  provide  that,  where  a  good  would  have  qualified  as  an  originating  good  when  it  was  imported  into  the  territory  of  that  Party  but  no  claim  for  preferential  tariff  treatment  was  made  at  that  time,  the  importer  of  the  good  may,  no  later  than  one  year  after  the  date  on  which  the  good  was  imported,  apply  for  a  refund  of  any  excess  duties  paid  as  the  result  of  the  good  not  having  been  accorded  preferential  tariff  treatment,  on  presentation  of:

  • A  written  declaration  that  the  good  qualified  as  an  originating  good  at  the  time  of  importation;
  •  

  • A  copy  of  the  Certificate  of  Origin;  and
  •  

  • Such  other  documentation  relating  to  the  importation  of  the  good  as  that  Party  may  require.

  • nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final649
    id_ordenamientos649
    id_padre0
    abreviatura
    nombre_cortoTLCAN
    nombre_frontTLCAN
    descripcion
    id_viejo
    orden11
    ocultar
    COOKIES
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    DOCUMENT_ROOT/home/bado2026/public_html
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    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.32
    REMOTE_PORT39449
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/3043/tlcan/article-502.-obligations-regarding-importations/?print=true
    REDIRECT_URL/articles/3043/tlcan/article-502.-obligations-regarding-importations/
    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=3043&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/3043/tlcan/article-502.-obligations-regarding-importations/
    SCRIPT_URL/articles/3043/tlcan/article-502.-obligations-regarding-importations/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1786217366.2801
    REQUEST_TIME1786217366
    ENV