Error when accessing comment in CP
Mathias-Syversen opened this issue · comments
Describe the bug
When trying to view a spesiffic comment in the control panel i get this error:
Call to a member function setScenario() on null
Steps to reproduce
- Instal Craft CMS 4.2.1.1
- Install Comments '2.0.0'
- Create a comment on an entry
- Try to access that comment in the CP
Craft CMS version
4.2.1.1
Plugin version
2.0.0
Multi-site?
yes
Additional context
No response
Fixed for the next release. To get this early, change your verbb/comments
requirement in composer.json
to:
"require": {
"verbb/comments": "dev-craft-4 as 2.0.0",
"...": "..."
}
Then run composer update
.
Fixed in 2.0.1