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_articulo1038
idiomaen
printtrue
SESSION
GLOBALS
id_articulo1038
idiomaen
printtrue
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.216.107
REMOTE_PORT43284
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/?print=true
REDIRECT_URL/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
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=1038&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
SCRIPT_URL/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1776527187.0404
REQUEST_TIME1776527187
id_articulo1038
idiomaen
printtrue
titulo
ARTICLE  9:  THOSE  WHO  ARE  CONSIDERED  RESIDENTS  IN  NATIONAL  TERRITORY
id_articulo1038
id_ordenamiento610
nombre_claveArt.  9
contenido

ARTICLE  9:  THOSE  WHO  ARE  CONSIDERED  RESIDENTS  IN  NATIONAL  TERRITORY

 

They  are  considered  residents  in  national  territory:

  • To  the  following  individuals:
  •  

  • Those  who  have  established  their  home  in  Mexico.  When  individuals  in  question  also  have  a  house  in  another  country,  they  will  be  considered  residents  in  Mexico,  if  their  center  of  vital  interests  is  in  the  national  territory.  For  these  purposes,  the  center  of  vital  interests  will  be  considered  to  be  in  national  territory  when,  among  other  cases,  they  are  located  in  any  of  the  following  cases:
  •  

  • When  more  than  50%  of  the  total  income  obtained  by  the  individual  in  the  calendar  year  have  a  source  of  wealth  in  Mexico.
  •  

  • When  in  the  country  they  have  the  main  center  of  their  professional  activities.
  •  

  • Those  of  Mexican  nationality  who  are  State  officials  or  workers  thereof,  even  when  their  center  of  vital  interests  is  abroad.
  •  

    The  individuals  of  Mexican  nationality  who  accredit  their  new  fiscal  residence  in  a  country  or  territory  where  their  income  is  subject  to  a  preferential  tax  regime  under  the  terms  of  the  Income  Tax  Law  (Ley  del  Impuesto  sobre  la  Renta)  will  not  lose  the  status  of  residents  in  Mexico.  The  provisions  of  this  paragraph  shall  apply  in  the  fiscal  year  in  which  the  notice  referred  to  in  the  last  paragraph  of  this  article  is  presented  and  during  the  following  three  fiscal  years.

     

    The  provisions  of  the  preceding  paragraph  shall  not  apply,  when  the  country  in  which  the  new  tax  residence  is  accredited  a  comprehensive  tax  information  exchange  agreement  with  Mexico.

     

  • The  legal  entities  that  have  established  in  Mexico  the  main  business  administration  or  their  effective  management  headquarters.
  •  

    Unless  proven  otherwise,  it  is  presumed  that  individuals  of  Mexican  nationality  are  residents  in  national  territory.

    Individuals  or  legal  entities  that  cease  to  be  residents  of  Mexico  in  accordance  with  this  Code,  must  submit  a  notice  to  the  tax  authorities,  no  later  than  15  days  prior  to  that  in  which  the  change  of  tax  residence  occurs.  --618-Art.  81--


    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.107
    REMOTE_PORT43284
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/?print=true
    REDIRECT_URL/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
    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=1038&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
    SCRIPT_URL/articles/1038/codigo-fiscal-de-la-federacion/article-9-those-who-are-considered-residents-in-national/
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1776527187.0404
    REQUEST_TIME1776527187
    ENV