Getting 'Required contexts without a value' error with moderation dashboard

Created on 29 June 2021, over 3 years ago
Updated 19 April 2024, 8 months ago

I am seeing "The website encountered an unexpected error. Please try again later." come up for the site and I see below error in PHP log. None of the pages come up, they just give above error and below in log

[29-Jun-2021 12:16:14 America/New_York] Uncaught PHP Exception Drupal\Component\Plugin\Exception\MissingValueContextException: "Required contexts without a value: dashboard_user" at C:\DrupSites\20210302\drupal\docroot\core\lib\Drupal\Core\Plugin\Context\ContextHandler.php line 155

The site works again when I uninstall Moderation Dashboard module.

So how would this be fixed if we want to use the moderation dashboard module?

Steps To Reproduce

1. Create a non-administrator role.
2. Give them use/view perms to moderation dashboards.
3. Set your moderation dashboard as the post-login destination if it isn't already.
4. Log in with the role.
5. See error.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024