I used FILE > EXPORT PROJECT to export a known good project.
Then FILE > IMPORT PROJECT to import that export into a new project.
When I try to login to the new project, I get this error message (There have been NO changes to the code):
Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in C:\Program Files (x86)\NetMake\v81\wwwroot\scriptcase\app\sec\Login\sec_login_apl.php on line 1310
This is line 1310 (and surrounding code) in that application:
1304| //--------------------------------------------------------------------------------------
1305| function NM_gera_log_insert($orig=“Scriptcase”, $evento="", $texto="")
1306| {
1307| $dt = “’” . date(‘Y-m-d H:i:s’) . “’”;
1308| $usr = isset("") ? “” : “”;
1309| if (in_array(strtolower($this->Ini->nm_con_[‘tpbanco’]), $this->Ini->nm_bases_sqlite))
1310| {
1311| $comando = "INSERT INTO (id, inserted_date, username, application, creator, ip_user, action, description) VALUES (NULL, $dt, " . $this->Ini->nm_db_->qstr($usr) . “, ‘sec_login’, ‘$orig’, '” . $SERVER[‘REMOTE_ADDR’] . "’, ‘$evento’, " . $this->Ini->nm_db->qstr($texto) . “)”;
1312| }
1313| else
1314| {
1315| $comando = "INSERT INTO (inserted_date, username, application, creator, ip_user, action, description) VALUES ($dt, " . $this->Ini->nm_db_->qstr($usr) . “, ‘sec_login’, ‘$orig’, '” . $SERVER[‘REMOTE_ADDR’] . "’, ‘$evento’, " . $this->Ini->nm_db->qstr($texto) . “)”;
1316| }