verbb / comments

A Craft CMS plugin for managing comments directly within the CMS.
Other
137 stars 33 forks source link

Error when accessing comment in CP #255

Closed Mathias-Syversen closed 1 year ago

Mathias-Syversen commented 1 year ago

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

engram-design commented 1 year ago

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.

engram-design commented 1 year ago

Fixed in 2.0.1