Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/01/2015, 13:31
promosnet
 
Fecha de Ingreso: enero-2010
Mensajes: 52
Antigüedad: 14 años, 3 meses
Puntos: 0
Fatal error: Using $this

Estoy intentando instalar un script que por lo visto es medio viejo y tengo problemas en algunas sentencias a la hora de ejecutar los pasos

He logrado solucionar la mayoria pero no logro solucionar este

Código:

Fatal error: Using $this when not in object context in /home/xxxxxx/public_html/libs/PEAR/Net/SMTP.php on line 307

la linea en cuestion tiene este codigo

   static function connect($timeout = null, $persistent = false)
    {
        $result = $this->_socket->connect($this->host, $this->port, $persistent, $timeout);
        if (PEAR::isError($result)) {
            return PEAR::raiseError('Failed to connect socket: ' .
                                    $result->getMessage());
        }

        if (PEAR::isError($error = $this->_parseResponse(220))) {
            return $error;
        }
        if (PEAR::isError($error = $this->_negotiate())) {
            return $error;
        }

        return true;
    } 
Alguien me puede ayudar a corregir esto
Gracias