Mini_Logo klosions HDMini_Logo klosions HDMini_Logo klosions HDMini_Logo klosions HD
  • HOME
  • KIT DIGITAL
  • KIT CONSULTING
  • SERVICIOS IT
    • Mantenimiento informático
    • Suministro de equipos y software
  • CONSULTORÍA & ERP
    • Software de Gestión para Empresas
      • REPASAT
      • A3ERP
      • INNUVA
    • Klosions esync a3erp prestashop
    • Cuadros de mando
  • SERVICIOS DE INTERNET
    • Diseño de páginas web
    • Su tienda online
    • Posicionamiento Web
      • Posicionamiento web
      • Análisis y posicionamiento Web
    • LOPD – Protección de datos
    • Adaptación Web a la LSSI-CE
    • Hosting y Contratación de Dominios
    • Servicio Community Manager
  • BLOG
  • CONTACTO
    • CONTACTO
    • TRABAJA CON NOSOTROS
  • HELP DESK
  • HERRAMIENTAS
  • RSS TOOLS
  • BLOG
  • +34 93 119 29 16
✕
Error al editar / guardar producto en PS 1.6
16/11/2016
A3ERP Preparar Inventario Tallas y Colores
26/12/2016

Error al registrarse en Prestashop

El error es el siguiente:

Fatal error: Uncaught Error: Access to undeclared static property: Validate::$data

Ocurre cuando el usuario va a registrarse y Prestashop intenta validar los datos. También sucede cuando se registra sin estar logueado a la hora de comprar un producto.Para solucionarlo deberéis ir al fichero del ftp: classes/ObjectModel.php en la linea 1032 y modificar este código:

if (!empty($value) || $value === '0' || ($field == 'postcode' && $value == '0')) {    if (isset($data['validate']) && !Validate::$data['validate']($value) && (!empty($value) || $data['required'])) {                $errors[$field] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.');            } else {                if (isset($data['copy_post']) && !$data['copy_post']) {                    continue;                }                if ($field == 'passwd') {                    if ($value = Tools::getValue($field)) {                        $this->{$field} = Tools::encrypt($value);                    }                } else {                    $this->{$field} = $value;                }            }        }

Por este:

if (!empty($value) || $value === '0' || ($field == 'postcode' && $value == '0')) {   if (isset($data['validate']) && !call_user_func('Validate::'.$data['validate'],$value) && (!empty($value) || $data['required'])) {    $errors[$field] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.');            } else {                if (isset($data['copy_post']) && !$data['copy_post']) {                    continue;                }                if ($field == 'passwd') {                    if ($value = Tools::getValue($field)) {                        $this->{$field} = Tools::encrypt($value);                    }                } else {                    $this->{$field} = $value;                }            }        }

Обращаясь к нам за деньгами, вы легко и быстро сможете получить займ на карту мгновенно круглосуточно на любые нужды в день обращения. Мы так же поможем взять мгновенно онлайн кредит на карту в банке без отказа через интернет круглосуточно.

Share
0
Lluis
Lluis

Comments are closed.

NUESTRAS MARCAS

TU SOCIO TECNOLÓGICO

Mantenimiento Informático en Molins de Rei

ENTRADAS RECIENTES

  • Celebrado el 2º Desayuno de Negocios con ASCEN y Wolters Kluwer
    21/10/2025
  • II DESAYUNO DE NEGOCIOS – colaboración con Ayuntamiento de Molins de Rei
    03/09/2025
  • Charla en Gironella: Facturación Electrónica y Nuevos Cambios Legales
    19/03/2025
  • No se ha podido instalar el servicio a3ERPHost
    21/02/2023

ESET SMART SECURITY STANDARD

ESET NOD32 ANTIVIRUS STANDARD

DISEÑAMOS SU TIENDA ONLINE

DISTRIBUIDOR A3ERP

2026 - KLOSIONS TIC S.L.U - Todos los derechos reservados.
Buy now