PHP syntax error generated within _apl.php, function controle(), $this-> = $_SESSION[ in version 9.6.006

Under version 9.6.006, the SC generator is producing a syntax error within the _apl.php file, within the function controle().

The problem occurs within this segment of code… with the line at fault identified below.

  if ($this->nmgp_opcao == "recarga" || $this->nmgp_opcao == "recarga_mobile" || $this->nmgp_opcao == "muda_form") 
  {
      $this->nm_tira_formatacao();
      $this->nm_converte_datas();
      if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_docType']['dados_select']['istobematcheddefault']) && !isset($this->nmgp_refresh_fields))
      { 
          $this->istobematcheddefault = $_SESSION['sc_session'][$this->Ini->sc_page]['form_docType']['dados_select']['istobematcheddefault'];
      } 
      if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_docType']['dados_select']['']) && !isset($this->nmgp_refresh_fields))
      { 
          HERE--->>>   $this-> = $_SESSION['sc_session'][$this->Ini->sc_page]['form_docType']['dados_select'][''];
      } 
      $nm_sc_sv_opcao = $this->nmgp_opcao; 
      $this->nmgp_opcao = "nada"; 
      $this->nm_acessa_banco();
      if ($this->NM_ajax_flag)
      {
          $this->ajax_return_values();
          form_docType_pack_ajax_response();
          exit;
      }
      $this->nm_formatar_campos();
      $this->nmgp_opcao = $nm_sc_sv_opcao; 
      $this->nm_gera_html();
      $this->NM_close_db(); 
      $this->nmgp_opcao = ""; 
      exit; 
  }