Class "Zend\Diactoros\Response\JsonResponse" not found

Created on 7 November 2023, about 1 year ago
Updated 9 November 2023, about 1 year ago

Problem/Motivation

The error Class "Zend\Diactoros\Response\JsonResponse" not found happens when trying to push a notification on D10.1. ( I do not know if this happens on D10.0). This happens on the NotificationSystemController Class.

Steps to reproduce

Install a D10.1 site and use the NotificationSystemController to send a notification and try to use the markAsRead function to trigger te error.

Proposed resolution

Use the Symfony JsonResponse instead.

Remaining tasks

  1. Create a patch or branch
  2. Review the updated code
  3. Commit to the dev branch
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands arantxio Dordrecht

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

Comments & Activities

Production build 0.71.5 2024