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_articulo3000
idiomaen
printtrue
SESSION
GLOBALS
id_articulo3000
idiomaen
printtrue
PATH/usr/local/bin:/bin:/usr/bin
DOCUMENT_ROOT/home/bado2026/public_html
REMOTE_ADDR216.73.217.32
REMOTE_PORT58301
SERVER_ADDR15.235.14.85
SERVER_NAME2026.bado.mx
SERVER_ADMINwebmaster@2026.bado.mx
SERVER_PORT443
REQUEST_SCHEMEhttps
REQUEST_URI/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico?print=true
REDIRECT_URL/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/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=3000&idioma=en&print=true
SCRIPT_URIhttps://2026.bado.mx/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico
SCRIPT_URL/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico
SCRIPT_NAME/articulos.php
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWARELiteSpeed
REQUEST_METHODGET
X-LSCACHEon
PHP_SELF/articulos.php
REQUEST_TIME_FLOAT1786257799.2456
REQUEST_TIME1786257799
id_articulo3000
idiomaen
printtrue
titulo
Annex  312.2:  Wine  and  Distilled  Spirits
id_articulo3000
id_ordenamiento659
nombre_claveAnexo  312.2
contenido

Annex  312.2:  Wine  and  Distilled  Spirits

Section  A  -  Canada  and  the  United  States

As  between  Canada  and  the  United  States,  any  measure  related  to  the  internal  sale  and  distribution  of  wine  and  distilled  spirits,  other  than  a  measure  covered  by  Article  312(1)  --657-Art.  312--  or  313  --657-Art.  313--,  shall  be  governed  under  this  Agreement  exclusively  in  accordance  with  the  relevant  provisions  of  the  Canada  -  United  States  Free  Trade  Agreement,  which  for  this  purpose  are  hereby  incorporated  into  and  made  a  part  of  this  Agreement.

Section  B  -  Canada  and  Mexico

As  between  Canada  and  Mexico:

1.  Except  as  provided  in  paragraphs  3  through  6,  in  respect  of  any  measure  related  to  the  internal  sale  and  distribution  of  wine  and  distilled  spirits,  Article  301  --655-Art.  301--  shall  not  apply  to:

  • A  non-conforming  provision  of  any  existing  measure;
  •  

  • The  continuation  or  prompt  renewal  of  a  non-conforming  provision  of  any  existing  measure;  or
  •  

  • An  amendment  to  a  non-conforming  provision  of  any  existing  measure  to  the  extent  that  the  amendment  does  not  decrease  its  conformity  with  Article  301  --655-Art.  301--.
  • 2.  The  Party  asserting  that  paragraph  1  applies  to  one  of  its  measures  shall  have  the  burden  of  establishing  the  validity  of  such  assertion.

    3.  

  • Any  measure  related  to  the  listing  of  wine  and  distilled  spirits  of  the  other  Party  shall:
  •  

  • Conform  with  Article  301  --655-Art.  301--,
  •  

  • Be  transparent,  non-discriminatory  and  provide  for  prompt  decision  on  any  listing  application,  prompt  written  notification  of  such  decision  to  the  applicant  and,  in  the  case  of  a  negative  decision,  provide  for  a  statement  of  the  reason  for  refusal,
  •  

  • Establish  administrative  appeal  procedures  for  listing  decisions  that  provide  for  prompt,  fair  and  objective  rulings,
  •  

  • Be  based  on  normal  commercial  considerations,
  •  

  • Not  create  disguised  barriers  to  trade,  and
  •  

  • Be  published  and  made  generally  available  to  persons  of  the  other  Party.
  •  

  • Notwithstanding  paragraph  3(a)  and  Article  301  --655-Art.  301--,  and  provided  that  listing  measures  of  British  Columbia  otherwise  conform  with  paragraph  3(a)  and  Article  301  --655-Art.  301--,  automatic  listing  measures  in  the  province  of  British  Columbia  may  be  maintained  provided  they  apply  only  to  existing  estate  wineries  producing  less  than  30,000  gallons  of  wine  annually  and  meeting  the  existing  content  rule.
  • 4.  

  • Where  the  distributor  is  a  public  entity,  the  entity  may  charge  the  actual  cost-of-service  differential  between  wine  or  distilled  spirits  of  the  other  Party  and  domestic  wine  or  distilled  spirits.  Any  such  differential  shall  not  exceed  the  actual  amount  by  which  the  audited  cost  of  service  for  the  wine  or  distilled  spirits  of  the  exporting  Party  exceeds  the  audited  cost  of  service  for  the  wine  or  distilled  spirits  of  the  importing  Party.
  •  

  • Notwithstanding  Article  301  --655-Art.  301--,  Article  I  (Definitions)  except  for  the  definition  of  "distilled  spirits",  Article  IV.3  (Wine),  and  Annexes  A,  B,  and  C,  of  the  Agreement  between  Canada  and  the  European  Economic  Community  concerning  Trade  and  Commerce  in  Alcoholic  Beverages,  dated  February  28,  1989,  shall  apply  with  such  changes  as  the  circumstances  may  require.
  •  

  • All  discriminatory  mark-ups  on  distilled  spirits  shall  be  eliminated  immediately  on  the  date  of  entry  into  force  of  this  Agreement.  Cost-of-service  differential  mark-ups  as  described  in  subparagraph  (a)  shall  be  permitted.
  •  

  • Any  other  discriminatory  pricing  measure  shall  be  eliminated  on  the  date  of  entry  into  force  of  this  Agreement.
  • 5.  

  • Any  measure  related  to  distribution  of  wine  or  distilled  spirits  of  the  other  Party  shall  conform  with  Article  301  --655-Art.  301--.
  •  

  • Notwithstanding  subparagraph  (a),  and  provided  that  distribution  measures  otherwise  ensure  conformity  with  Article  301  --655-Art.  301--,  a  Party  may
  •  

  • Maintain  or  introduce  a  measure  limiting  on-premise  sales  by  a  winery  or  distillery  to  those  wines  or  distilled  spirits  produced  on  its  premises,  and
  •  

  • Maintain  a  measure  requiring  existing  private  wine  store  outlets  in  the  provinces  of  Ontario  and  British  Columbia  to  discriminate  in  favor  of  wine  of  those  provinces  to  a  degree  no  greater  than  the  discrimination  required  by  such  existing  measure.
  •  

  • Nothing  in  this  Agreement  shall  prohibit  the  Province  of  Quebec  from  requiring  that  any  wine  sold  in  grocery  stores  in  Quebec  be  bottled  in  Quebec,  provided  that  alternative  outlets  are  provided  in  Quebec  for  the  sale  of  wine  of  the  other  Party,  whether  or  not  such  wine  is  bottled  in  Quebec.  
  • 6.  Unless  otherwise  specifically  provided  in  this  Annex,  the  Parties  retain  their  rights  and  obligations  under  the  GATT  and  agreements  negotiated  under  the  GATT.

    7.  For  purposes  of  this  Annex:

    Wine  includes  wine  and  wine-containing  beverages.


    nivel1decimal
    nivel2lower-latin
    nivel3lower-roman
    nivel4
    esconde_banners0
    ordenamiento_padre_final649
    id_ordenamientos649
    id_padre0
    abreviatura
    nombre_cortoTLCAN
    nombre_frontTLCAN
    descripcion
    id_viejo
    orden11
    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.32
    REMOTE_PORT58301
    SERVER_ADDR15.235.14.85
    SERVER_NAME2026.bado.mx
    SERVER_ADMINwebmaster@2026.bado.mx
    SERVER_PORT443
    REQUEST_SCHEMEhttps
    REQUEST_URI/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico?print=true
    REDIRECT_URL/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/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=3000&idioma=en&print=true
    SCRIPT_URIhttps://2026.bado.mx/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico
    SCRIPT_URL/articles/3000/tlcan/annex-312.2-wine-and-distilled-spirits/imgv2/favicon.ico
    SCRIPT_NAME/articulos.php
    SERVER_PROTOCOLHTTP/1.1
    SERVER_SOFTWARELiteSpeed
    REQUEST_METHODGET
    X-LSCACHEon
    PHP_SELF/articulos.php
    REQUEST_TIME_FLOAT1786257799.2456
    REQUEST_TIME1786257799
    ENV