Control panel plugin seems to be broken
See original GitHub issue
Hi, Control panel plugin seems to be broken.
OS: Windows 10 x64 ver 2004
Error: Command failed: cmd /c chcp 65001>nul && powershell -NonInteractive -NoProfile -Command "Get-ControlPanelItem | ConvertTo-Json" Get-ControlPanelItem : Object reference not set to an instance of an object. At line:1 char:1 + Get-ControlPanelItem | ConvertTo-Json + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-ControlPanelItem], NullReferenceException + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.PowerShell.Commands.GetControlPanelItemCommand 
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
Plugin admin interface broken in 4.5.1 - WordPress.org
In version 4.5.1 the dashboard doesn't load though – it keeps showing the loading ... seem to match those mentioned in the guide,...
Read more >How To Fix Your WordPress Site After A Plugin Update Goes ...
Wanna know how to fix WordPress after a plugin update went wrong? Search no more.In this video, I'm going to give you a...
Read more >WordPress Site Broken After an Update? Here's How to Fix It
If you can access your WordPress dashboard, deactivating all of your plugins is simple: Go to the Plugins tab; Click on the Plugin...
Read more >5 Ways to Repair a Broken WordPress Installation
The best solution is to first delete the old files before uploading the new ones. 4. Repair Database Tables. If your problem doesn't...
Read more >How to Fix "Sorry, You Are Not Allowed to Access This Page"
Learn how to troubleshoot and fix the "Sorry you are not allowed to access this page" message in WordPress. Here are eleven possible ......
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

Hi,
looks like PowerShell 7 no longer includes the commannd
Get-ControlPanelItem. It is described here: https://docs.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7I think the only solution is to install an older version of PowerShell.
Hi. I also had the above issue and when I ran the command on powershell it didn’t work. I am getting this error in terminal:
Get-ControlPanelItem: The term 'Get-ControlPanelItem' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.Further commands also failed. What can I do now? Is it a problem with Powershell the version is 7.1.3
Thanks in advance