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_articulo138
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo138
idiomaen
printtrue
PHPSESSIDinbaltqthb3b2mrgjh3162a33j
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.99
REMOTE_PORT37193
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/?print=true
REDIRECT_URL/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
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=138&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
SCRIPT_URL/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776330818.2259
REQUEST_TIME1776330818
id_articulo138
idiomaen
printtrue
titulo
ARTICLE  138:  COMPENSATION  OF  AMOUNTS  IN  FAVOR
id_articulo138
id_ordenamiento43
nombre_claveArt.  138
contenido

ARTICLE  138:  COMPENSATION  OF  AMOUNTS  IN  FAVOR

 

In  relation  to  the  provisions  of  articles  89  and  93  of  the  Law  --211-Art.  89--  --213-Art.  93--,  importers  and  exporters  who  determine  amounts  in  their  favor  by  complementary  declarations  derived  from  payments  of  Foreign  Trade  Taxes  or  compensatory  fees,  or  by  withdrawal  from  the  customs  regime,  may  compensate  the  amounts  determined  in  their  favor  against  said  Foreign  Trade  Taxes  or  compensatory  fees  that  are  required  to  pay.  --400-Anexo  5--

They  may  also  compensate  the  amounts  determined  in  their  favor  derived  from  the  payment  of  the  customs  processing  fee,  against  which  they  are  obliged  to  pay  derived  from  the  same  right.

In  no  case  may  the  value-added  and  special  taxes  on  production  and  services  in  foreign  trade  operations  be  compensated.

The  compensation  will  be  applicable,  in  the  case  of  overpaid  tariffs,  for  having  imported  original  goods  without  applying  the  preferential  tariff  rate  to  which  they  are  entitled,  under  the  international  treaties  to  which  Mexico  is  a  part  of.

In  order  for  importers  and  exporters  to  compensate  balances  in  favor  --315-Regla  2.2.7--,  they  must  attach  the  following  documents  to  the  customs  declaration  (pedimento)  in  which  the  compensation  is  applied  or,  where  appropriate,  to  the  supplementary  customs  declaration  (pedimento):

  • The  corresponding  notice  --355-Anexo  1--  --309-Regla  1.6.19--;
  •  

  • The  customs  declaration  (pedimento)  that  originates  the  balance  in  its  favor;
  •  

  • Written  or  customs  declaration  (pedimento)  for  withdrawal  or  customs  declaration  (pedimento)  for  rectification,  as  appropriate;
  •  

  • In  the  case  of  the  application  of  preferential  tariff  treatment  in  accordance  with  the  treaties  to  which  Mexico  is  a  part  of,  when  on  the  date  of  importation  such  treatment  has  not  been  applied,  the  valid  certificate  of  origin  of  the  document  in  which  the  invoice  declaration  or  the  declaration  of  origin,  as  appropriate  under  the  corresponding  treaty  --309-Regla  1.6.15--  --332-Regla  4.5.31--;
  •  

  • In  the  case  of  permits  or  authorizations  issued  by  the  Secretary  of  Economy  (Secretaría  de  Economía),  the  corresponding  permit  or  authorization,  and
  •  

  • In  the  case  of  imports  or  exports  whose  clearance  was  carried  out  in  terms  of  article  47,  third  paragraph  of  the  Law  --201-Art.  47--,  the  resolution  of  the  tariff  classification  issued  by  the  corresponding  Customs  Authority.

  • nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final1
    id_ordenamientos1
    id_padre0
    abreviatura
    nombre_cortoRLA
    nombre_frontReglamento  de  la  Ley  Aduanera
    descripcionReglamento  de  la  ley  aduanera
    id_viejo
    orden2
    ocultar
    popup_inicial1
    COOKIES
    PHPSESSIDinbaltqthb3b2mrgjh3162a33j
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=inbaltqthb3b2mrgjh3162a33j
    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.99
    REMOTE_PORT37193
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/?print=true
    REDIRECT_URL/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
    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=138&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
    SCRIPT_URL/articles/138/reglamento-de-la-ley-aduanera/article-138-compensation-of-amounts-in-favor/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776330818.2259
    REQUEST_TIME1776330818
    ENV