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_articulo1023
idiomaen
printtrue
SESSION
GLOBALS
id_articulo1023
idiomaen
printtrue
PHPSESSID12q5h7iu92c3sr6sejthoilt4u
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.46
REMOTE_PORT20656
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/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=1023&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico
SCRIPT_URL/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1792880886.4335
REQUEST_TIME1792880886
id_articulo1023
idiomaen
printtrue
titulo
ARTICLE  6:  DATE  OF  CAUSE  OF  THE  CONTRIBUTIONS
id_articulo1023
id_ordenamiento610
nombre_claveArt.  6
contenido

ARTICLE  6:  DATE  OF  CAUSE  OF  THE  CONTRIBUTIONS

 

Contributions  are  caused  as  legal  situations  are  performed  or  of  facts,  provided  for  in  the  tax  laws  in  force  during  the  period  in  which  they  occur.

Said  contributions  shall  be  determined  in  accordance  with  the  provisions  in  force  at  the  time  of  their  causation,  but  the  procedural  rules  issued  later  shall  apply  to  them.

It  is  up  to  the  taxpayers  to  determine  the  contributions  they  are  responsible  for,  unless  expressly  provided  otherwise.  If  the  tax  authorities  must  make  the  determination,  taxpayers  will  provide  them  with  the  necessary  information  within  15  days  of  the  date  of  their  causation.

Contributions  are  paid  on  the  date  or  within  the  period  indicated  in  the  respective  provisions.  In  the  absence  of  an  express  provision,  the  payment  must  be  made  by  means  of  a  declaration  that  will  be  presented  to  the  authorized  offices,  within  the  period  indicated  below:

  • If  the  contribution  is  calculated  for  periods  established  by  Law  and  in  the  cases  of  withholding  or  collection  of  contributions,  taxpayers,  withholdings  parties  or  people  to  whom  the  laws  impose  the  obligation  to  collect  them,  they  will  be  informed  by  the  17th  day  of  the  month  of  the  immediate  calendar  after  the  end  of  the  retention  or  collection  period,  respectively.
  •  

  • In  any  other  case,  within  5  days  from  the  moment  of  the  causation.
  •  

  • (Repealed).
  •  

    In  the  case  of  contributions  that  must  be  paid  through  withholding,  even  if  the  person  who  makes  it  does  not  withhold  or  make  payment  of  the  relative  consideration,  the  withholding  party  will  be  obliged  to  pay  an  amount  equivalent  to  the  one  that  should  have  been  withheld.

    When  the  retainers  must  make  a  payment  in  goods,  they  will  only  deliver  the  good  in  question  if  the  person  who  must  receive  it  provides  the  necessary  funds  to  make  the  retention  in  national  currency.

    Anyone  who  makes  payment  of  tax  credits  must  obtain  from  the  collection  office,  the  official  form,  the  official  receipt  or  the  valued  form  issued  and  controlled  exclusively  by  the  Secretary  of  Finance  and  Public  Credit  (Secretaría  de  Hacienda  y  Crédito  Público)  or  the  documentation  that  in  the  respective  provisions  is  established  in  the  record  the  original  printing  of  the  cash  register.  In  the  case  of  payments  made  in  the  offices  of  credit  institutions,  the  printing  of  the  cash  register,  the  stamp,  the  proof,  or  the  electronic  receipt  with  the  digital  stamp  must  be  obtained.  --610-Art.  17--

    When  the  tax  provisions  establish  options  for  taxpayers  to  comply  with  their  tax  obligations  or  to  determine  the  contributions,  they  are  responsible  for,  the  one  chosen  by  the  taxpayer  may  not  change  it  with  respect  to  the  same  year.


    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
    COOKIES
    PHPSESSID12q5h7iu92c3sr6sejthoilt4u
    SERVER
    PATH/usr/local/bin:/bin:/usr/bin
    DOCUMENT_ROOT/home/bado2026/public_html
    HTTP_ACCEPT*/*
    HTTP_ACCEPT_ENCODINGgzip,  br,  zstd,  deflate
    HTTP_COOKIEPHPSESSID=12q5h7iu92c3sr6sejthoilt4u
    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.216.46
    REMOTE_PORT20656
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/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=1023&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico
    SCRIPT_URL/articles/1023/codigo-fiscal-de-la-federacion/article-6-date-of-cause-of-the-contributions/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1792880886.4335
    REQUEST_TIME1792880886
    ENV