Endlessly loading user task notifications

We have an issue with “endlessly loading” task pop-up. We have posted this enquiry elsewhere and have not received a reponse. Apologies for this double posting.

The network petitions log in the browser returned:


On logging php errors we found:

PHP Fatal error: Uncaught AssertionError: assert(is_a($submission, ‘Submission’)) in /home/2/t/tankebanen/www/inscriptions/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php:155

We then added to the file in line 156:
error_log(print_r($submission, true), 3, “/home/2/t/tankebanen/www/inscriptions/error.log”);

However, the error.log only lists submissions that appear to work well in our submissions list in OJS. Any suggestions?

PS: We recently installed OJS (March 20, 2023 - 12:09 PM), we’re running on PHP 8.1.16 with Apache/2.4.41