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_articulo1065
idiomaen
printtrue
SESSION
GLOBALS
id_articulo1065
idiomaen
printtrue
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.99
REMOTE_PORT45831
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/?print=true
REDIRECT_URL/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
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=1065&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
SCRIPT_URL/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776329225.2454
REQUEST_TIME1776329225
id_articulo1065
idiomaen
printtrue
titulo
ARTICLE  20  BIS:  RULES  FOR  DETERMINING  THE  NATIONAL  CONSUMER  PRICE  INDEX
id_articulo1065
id_ordenamiento613
nombre_claveArt.  20  Bis
contenido

ARTICLE  20  BIS:  RULES  FOR  DETERMINING  THE  NATIONAL  CONSUMER  PRICE  INDEX

 

The  National  Consumer  Price  Index  (Índice  Nacional  de  Precios  al  Consumidor)  referred  to  in  the  second  paragraph  of  article  20  of  this  Code  --613-Art.  20--,  calculated  by  the  National  Institute  of  Statistic  and  Geography  (Instituto  Nacional  de  Estadística  y  Geografía),  is  subject  to  the  following:

  • At  least  30  prices  will  be  quoted  in  30  cities,  which  will  be  located  in  at  least  20  federal  entities.  In  any  case,  the  selected  cities  must  have  a  population  of  20,000  or  more  inhabitants,  and  the  10  most  populated  areas  or  most  populated  cities  in  the  Republic  must  always  be  included.
  •  

  • The  prices  corresponding  to  at  least  1000  specific  products  and  services  grouped  into  250  consumption  concepts  must  be  quoted,  which  will  cover  at  least  35  branches  of  the  agricultural,  livestock,  industrial  and  services  sectors,  according  to  the  catalog  of  economic  activities  prepared  by  the  National  Institute  of  Statistic  and  Geography  (Instituto  Nacional  de  Estadística  y  Geografía).
  •  

  • In  the  case  of  food,  price  quotes  will  be  made  at  least  three  times  during  each  month.  The  rest  of  the  quotes  will  be  obtained  one  or  more  times  monthly.
  •  

  • The  price  quotes  with  which  the  National  Consumer  Price  Index  (Índice  Nacional  de  Precios  al  Consumidor)  for  each  month  is  calculated  must  correspond  to  the  period  in  question.
  •  

  • The  National  Consumer  Price  Index  (Índice  Nacional  de  Precios  al  Consumidor)  for  each  month  will  be  calculated  using  the  Laspeyres  formula.  Weighting  factors  will  be  applied  for  each  household  consumption  and  considering  the  following  concepts:
  •  

    Food,  drinks  and  tobacco;  clothing,  footwear  and  accessories;  housing;  furniture,  appliances  and  household  goods;  health  and  personal  care;  transport;  education  and  recreation;  other  services.

    The  National  Institute  of  Statistic  and  Geography  (Instituto  Nacional  de  Estadística  y  Geografía)  will  publish  in  the  Official  Journal  of  the  Federation  (Diario  Oficial  de  la  Federación)  the  federative  entities,  conurbation  zones,  cities,  articles,  services,  consumption  concepts  and  branches  referred  to  in  sections  I  and  II  of  this  article,  as  well  as  quotes  used  to  calculate  the  National  Consumer  Price  Index  (Índice  Nacional  de  Precios  al  Consumidor).


    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
    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
    DOCUMENT_ROOT/home/bado2026/public_html
    REMOTE_ADDR216.73.216.99
    REMOTE_PORT45831
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/?print=true
    REDIRECT_URL/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
    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=1065&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
    SCRIPT_URL/articles/1065/codigo-fiscal-de-la-federacion/article-20-bis-rules-for-determining-the-national-consumer/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776329225.2454
    REQUEST_TIME1776329225
    ENV