Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/03/2012, 15:34
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Strict Standards: Non-static method STemplate::assign() should not be call

Traduce el error, te dice que no puedes llamar al método assign, desde forma estática, tienes que crear una instancia de tu objeto:
Código PHP:
Ver original
  1. $temp = new STemplate();
  2. $temp->assign('foo', 'bar');

Saludos.