Closed walzph closed 2 years ago
Hey and thank you for the bug report! I was able to reproduce the issue with the MonsterInsights plugin. It's good you found a fix, but I think it'd be good to dig and find out why the screen ID is null
.
This also happens with the Polylang plugin when running its Setup Wizard. I get the exact same error as walzph.
I can no longer reproduce this issue with plugin version 3.1. I installed Polylang, WPForms, and MonsterInsight and all setup wizards opened without a crash.
If you still have an issue, please open a new issue and tell us the plugin.
Hi there, I noticed that several WordPress Plugins (e.g. WPForms, MonsterInsights) crash when I want to start their setup wizard.
The PHP logs pointed me to to a TypeError in onOffice\WPlugin\WP\WPScreenWrapperDefault::getID()
I fixed it by rewriting the getID() function
If this fixes a general bug, I can open a PR for it.