Error

Description

Call to undefined function GetCurrentUserName()

Source File

/data/c/8/c852813c-164d-4596-bb3a-297fe5ab4a77/spravodajstvo.sk/web/core/base_class.php (25)

0023:         if ($this->myID == - 1){
0024:             $dbh = db::getInstance();
0025: $stmt = $sth = $dbh->query("INSERT INTO i_{$this->myName} (createdtime, createduser, modifiedtime, modifieduser) VALUES (" . time() . ", '" . GetCurrentUserName() . "', " . time() . ", '" . GetCurrentUserName() . "')");
0026: $this->myID = $dbh->lastInsertId(); 0027: $this->OnCreate(); 0028: }

Stack Trace

#0 /data/c/8/c852813c-164d-4596-bb3a-297fe5ab4a77/spravodajstvo.sk/web/rss/rssexample.php(7): base_class->__construct()
#1 /data/c/8/c852813c-164d-4596-bb3a-297fe5ab4a77/spravodajstvo.sk/web/rss/index.php(15): exampleRSS->__construct()
#2 {main}
2024-12-30 17:59