• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once

Windows Terminal - PowerShell customization via oh-my-posh/posh-git Set-Theme error?

I follow the exact tutorial of Microsoft link: enter link description here, video link: enter link description here

I have installed Posh-Git and Oh-My-Posh: via this code -

Install-Module posh-git -Scope CurrentUser

Install-Module oh-my-posh -Scope CurrentUser

I have installed PSReadLine: via this code -

Install-Module -Name PSReadLine -Scope CurrentUser -Force -SkipPublisherCheck

I am also created Microsoft.PowerShell_profile.ps1 file by typing- code $PROFILE, in my PowerShell profile and copy/paste this code:

Import-Module posh-git Import-Module oh-my-posh Set-Theme Paradox 

But I get this error: enter image description here

Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]