verbb / comments

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

HTTP 404 Not found - Invalid utility ID: system-messages #223

Closed pejeio closed 3 years ago

pejeio commented 3 years ago

Description When clicking the System messages link in the Comments Settings, a 404 error is shown.

1

Steps to reproduce

  1. In the CraftCMS admin panel, go to "Comments" in the left sidebar
  2. Click "Notifications" --> "Settings"
  3. Click on the System messages link, found in this text: Authors receive an email for every new comment. Edit the content of this email through System Messages.

Additional info

engram-design commented 3 years ago

Do you perhaps not have permission to Utilities > System Messages? There's nothing wrong with this link, I don't believe.

pejeio commented 3 years ago

@engram-design I'm logged in as administrator.

engram-design commented 3 years ago

Can you confirm the URL it's pointing to? It should be http://your.site/admin/utilities/system-messages.

Can you navigate to Utilities > System Messages?

pejeio commented 3 years ago

@engram-design I'm not able to navigate via Utilities -> System messages

Schermafbeelding 2021-04-17 om 13 02 22
engram-design commented 3 years ago

I suspect you might be on Craft Solo? It looks like this is only possible to edit these in the control panel with Craft Pro.

You'll need to override these manually, using static translations by creating a comments.php file over altering the translations

pejeio commented 3 years ago

@engram-design Exactly, I'm on Craft Solo.

I was trying to enable email notifications for admins. Unfortunately, no email is sent when someone posts a new comment. Sending a test mail from /settings/email does, however, trigger a new email. So it has something to do with the plugin configuration I guess.

2
engram-design commented 3 years ago

Fixed for the next release. To get the fix early, change your verbb/comments requirement in composer.json to:

"require": {
  "verbb/comments": "dev-craft-3 as 1.8.6",
  "...": "..."
}

Then run composer update.

pejeio commented 3 years ago

@engram-design Can you tell when the next release with this fix will be?

engram-design commented 3 years ago

Fixed in 1.8.7

pejeio commented 3 years ago

Thanks @engram-design!