verbb / comments

A Craft CMS plugin for managing comments directly within the CMS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
Screenshot 2022-08-15 at 15 28 27

Steps to reproduce

  1. Instal Craft CMS 4.2.1.1
  2. Install Comments '2.0.0'
  3. Create a comment on an entry
  4. 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