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_articulo1080
idiomaen
printtrue
SESSION
GLOBALS
id_articulo1080
idiomaen
printtrue
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.23
REMOTE_PORT4223
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/?print=true
REDIRECT_URL/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
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=1080&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
SCRIPT_URL/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788735332.4879
REQUEST_TIME1788735332
id_articulo1080
idiomaen
printtrue
titulo
ARTICLE  20  TER:  CALCULATION  OF  THE  INVESTMENT  UNIT  (UDI)
id_articulo1080
id_ordenamiento613
nombre_claveArt.  20  Ter
contenido

ARTICLE  20  TER:  CALCULATION  OF  THE  INVESTMENT  UNIT  (UDI)

 

The  Bank  of  Mexico  will  publish  in  the  Official  Journal  of  the  Federation  (Diario  Oficial  de  la  Federación)  the  value,  in  national  currency,  of  the  investment  unit,  for  each  day  of  the  month.  At  the  latest  on  the  10th  of  each  month,  the  Bank  of  Mexico  must  publish  the  value  of  the  corresponding  investment  unit  from  for  days  11th  to  the  25th  of  said  month  and  at  the  latest  on  the  25th  of  each  month  it  will  publish  the  corresponding  value  for  days  26th  of  that  month  to  the  10th  of  the  next  month.

The  value  of  the  investment  unit  will  be  calculated  according  to  the  following  formula:

Where:

D

=  Day  on  which  you  want  to  know  the  value  of  the  investment  unit.

M

=  Month  of  the  year  to  correspond  to  d.

UDId,m

=  Investment  Unit  corresponding  to  day  d  of  month  m.

UDId-1,m

=  Investment  Unit  corresponding  to  the  day  immediately  preceding  day  d  of  month  m.

*

=  Multiplication  Operator

=  Nth  Root

 

1.-  To  determine  the  value  of  the  investment  unit  for  the  days  from  11  to  25  of  month  m  is  used:

N

=  15

INPCq

=  National  Consumer  Price  Index  for  the  second  half  of  the  month  immediately  preceding  month  m.

INPCq-1

 

=  National  Consumer  Price  Index  for  the  first  half  of  the  month  immediately  preceding  month  m.

 

2.-  To  obtain  the  value  of  the  investment  unit  for  the  days  from  the  26th  of  each  month  to  the  10th  of  the  following  month,  the  following  formulation  is  used:

 

2.1.-  To  determine  the  value  of  the  investment  unit  for  the  days  from  26  to  the  last  day  of  month  m,  use:

 

N

=  Number  of  calendar  days  counted  from  the  26th  of  the  month  m  and  until  the  10th  of  the  following  month.

INPCq

=  National  Consumer  Price  Index  for  the  first  half  of  the  month  m.

INPCq-1

 

=  National  Consumer  Price  Index  for  the  second  half  of  the  month  immediately  preceding  month  m.

 

 

2.2.-  To  determine  the  value  of  the  investment  unit  for  the  days  1  to  10  of  month  m,  use:

N

=  Number  of  calendar  days  counted  from  the  26th  of  the  month  immediately  prior  to  the  month  m  and  until  the  10th  day  of  the  month  m.

INPCq

=  National  Consumer  Price  Index  for  the  first  half  of  the  month  immediately  preceding  month  m.

INPCq-1

 

=  National  Consumer  Price  Index  for  the  second  half  of  the  month  before  the  month  m.

 


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
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.23
REMOTE_PORT4223
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/?print=true
REDIRECT_URL/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
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=1080&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
SCRIPT_URL/articles/1080/codigo-fiscal-de-la-federacion/article-20-ter-calculation-of-the-investment-unit-(udi)/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1788735332.4879
REQUEST_TIME1788735332
ENV