adam2314 / linet3

Linet accounting application
16 stars 18 forks source link

Login to linet in speedcomp installation #537

Closed starnetwork closed 9 years ago

starnetwork commented 9 years ago

Hi, after the login I got this error: Unknown Method – yii\base\UnknownMethodException Calling unknown method: app\models\User::writeDateTime()

*/
public function __call($name, $params)
{
    $this->ensureBehaviors();
    foreach ($this->_behaviors as $object) {
        if ($object->hasMethod($name)) {
            return call_user_func_array([$object, $name], $params);
        }
    }
    throw new UnknownMethodException('Calling unknown method: ' . get_class($this) . "::$name()");
}

/**
 * This method is called after the object is created by cloning an existing one.
 * It removes all behaviors because they are attached to the old object.
 */
public function __clone()
{
    $this->_events = [];
  1. in /var/www/linet3/protected/models/FormLogin.php – yii\base\Component::__call('writeDateTime', [1441194058]) a
adam2314 commented 9 years ago

ok got it