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_articulo1099
idiomaen
printtrue
SESSION
popup_inicial1
GLOBALS
id_articulo1099
idiomaen
printtrue
PHPSESSIDrpdro4v0ortlr7hj99t62fft8n
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.99
REMOTE_PORT34987
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/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=1099&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico
SCRIPT_URL/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776327180.6806
REQUEST_TIME1776327180
id_articulo1099
idiomaen
printtrue
titulo
ARTICLE  18:  FORMALITIES  OF  THE  PROMOTIONS
id_articulo1099
id_ordenamiento613
nombre_claveArt.  18
contenido

ARTICLE  18:  FORMALITIES  OF  THE  PROMOTIONS

 

Any  promotion  addressed  to  the  tax  authorities  must  be  submitted  by  digital  document  containing  the  advanced  electronic  signature.  Taxpayers  who  exclusively  dedicate  themselves  to  agricultural,  livestock,  fishing,  or  forestry  activities  that  are  not  included  in  the  third  paragraph  of  article  31  of  this  Code  --613-Art.  31--,  may  not  use  the  advanced  electronic  signature.  The  Service  Tax  Administration  (Servicio  de  Administración  Tributaria),  by  means  of  general  rules,  may  determine  the  promotions  that  will  be  presented  by  means  of  a  printed  document.

Promotions  must  be  sent  through  the  tax  mailbox  and  must  have  at  least  the  following  requirements:

  • The  name,  denomination  or  company  name  and  fiscal  address  --610-Art.  10--  declared  in  the  federal  taxpayer  registration  for  the  purpose  of  establishing  the  competition  of  the  authority,  and  the  corresponding  code  in  said  registry.
  •  

  • Indicate  the  authority  to  which  it  is  addressed  and  the  purpose  of  the  promotion.
  •  

  • The  e-mail  address  to  receive  notifications.
  •  

    When  the  requirements  referred  to  in  sections  I  and  II  of  this  article  are  not  fulfilled,  the  tax  authorities  will  require  the  promoter  so  that  within  10  days  they  comply  with  the  omitted  requirement.  If  the  omission  is  not  corrected  within  that  period,  the  promotion  will  be  considered  as  not  submitted,  as  well  as  when  it  is  omitted  to  indicate  the  email  address.

    The  taxpayers  referred  to  in  the  third  paragraph  of  article  31  of  this  Code  --613-Art.  31--  will  not  be  required  to  use  the  digital  documents  provided  in  this  article.  In  these  cases,  promotions  must  be  presented  in  a  printed  document  and  signed  by  the  interested  party  or  by  those  who  are  legally  authorized  to  do  so,  unless  the  promoter  does  not  know  or  cannot  sign,  in  which  case  it  will  print  it  fingerprint.  The  promotions  must  be  presented  in  the  forms  approved  by  the  Service  Tax  Administration  (Servicio  de  Administración  Tributaria).  When  there  are  no  approved  forms,  the  promotion  must  meet  the  requirements  established  in  this  article,  with  the  exception  of  the  format  and  email  address.  They  must  also  indicate  the  address  to  hear  and  receive  notifications  and,  where  appropriate,  the  name  of  the  person  authorized  to  receive  them.

    When  the  promoter  who  has  an  advanced  electronic  signature  certificate,  accompanies  documents  other  than  deeds  or  powers  of  attorney,  and  these  are  not  digitized,  the  promotion  must  present  it  in  printed  form,  complying  with  the  requirements  referred  to  in  the  preceding  paragraph,  and  must  include  its  email  address.  The  deeds  or  powers  of  attorney  must  be  presented  in  digital  form,  when  accompanied  by  a  digital  document.

    When  the  requirements  referred  to  in  the  fourth  and  fifth  paragraphs  of  this  article  are  not  fulfilled,  the  tax  authorities  will  require  the  promoter  so  that  within  10  days  they  comply  with  the  omitted  requirement.  If  the  omission  is  not  corrected  within  that  period,  the  promotion  shall  be  deemed  not  submitted,  if  the  omission  consists  in  not  having  used  the  approved  official  form,  the  tax  authorities  must  specify  the  respective  form  in  the  requirement.

    The  provisions  of  this  article  do  not  apply  to  declarations,  request  for  registration  or  notices  to  the  federal  taxpayer  registration  referred  to  in  article  31  of  this  Code.  --613-Art.  31--


    nivel1
    nivel2
    nivel3
    nivel4
    esconde_banners0
    ordenamiento_padre_final608
    id_ordenamientos608
    id_padre0
    abreviatura
    nombre_cortoCFF
    nombre_frontCódigo  Fiscal  de  la  Federación
    descripcion
    id_viejo
    orden5
    ocultar
    popup_inicial1
    COOKIES
    PHPSESSIDrpdro4v0ortlr7hj99t62fft8n
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=rpdro4v0ortlr7hj99t62fft8n
    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_PORT34987
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/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=1099&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico
    SCRIPT_URL/articles/1099/codigo-fiscal-de-la-federacion/article-18-formalities-of-the-promotions/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776327180.6806
    REQUEST_TIME1776327180
    ENV