[OJS 3.5.0.5] task bell icon shows unexpected error for one user

Clicking on the task bell icon shows unexpected error for one user but works well for others. No PHP error found in error log. I have tried to use the browser console but did not see any paths to an internal code. The user in question is a reviewer, so I created another reviewer and the task panel is working (no error message). Do I need to fix this profile and if I can where do I look?
Thank you for any suggestions you may offer.

Arjun @asabhar

Hi @asabhar

I suggest checking a few things before making any changes to the user’s profile.

First, check this user’s review assignments. There may be a specific assignment causing the issue. You can also try logging in from another browser or using a private/incognito window to rule out any browser or session related issues.

Check the Network tab in the browser’s developer tools and look for any request returning a 4xx or 5xx error.

Finally, check the PHP and server logs again right when the error occurs.

Thanks @lopez.casique . I have not thought of the review assignments. I did not see any PHP errors though. I will look into the browser developer tools (I use Firefox).

Best! @asabhar

Hi @lopez.casique

I had a chance to look into both the live (3.3) and staging installation (3.5) and it appears that this is an issue with review assignments. I have randomly looked up reviewers in both installations, logged in as them, and then clicked the bell task icon and there were no problems except where the task was loading indefinitely in 3.3 and in 3.5, they trigger that error message. I wonder if there is a batch fix for review assignments to resolve this. Anyway, thank you again for taking the time to look into my posting. Best regards, @asabhar

Hi @asabhar

It’s possible that there is a way to fix this, but first we need to know what the actual error is. I know you haven’t been able to find any clues so far, but unfortunately, there’s not much we can do without that information.

Do you have any experience working with databases? If so, you could start by checking the records directly. There may be a NULL value somewhere in the review assignments.

But again, without some clue about the underlying error, it’s difficult for us to point you in the right direction.

Hi @asabhar

In your last post, you mentioned that there is an error message. What is the error message?

Thanks @lopez.casique and my apologies for the late reply!

At the time this issue came up, the only error message that I saw was (index.php,index.php8,index.php7,index.php5,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.jp,index.phtml,index.shtml,index.xhtml,index.html,index.htm,index.js) found, and server-generated directory index forbidden by Options directive, referer: https://openjournals.utoledo.edu/plugins/generic/pdfJsViewer/pdf.js. This is strange because I am using a staging subdomain where the PDF opens in browser and th pdfjsViewer plugin is working. It also works in the staging site.
Thanks! @asabhar

Hi @lopez.casique

The error message was (index.php,index.php8,index.php7,index.php5,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.jp,index.phtml,index.shtml,index.xhtml,index.html,index.htm,index.js) found, and server-generated directory index forbidden by Options directive, referer: https://openjournals.utoledo.edu/plugins/generic/pdfJsViewer/pdf.js at the time I discovered this error. I have identified this issue as related to the one in the main domain with the same user where the loading icon keeps turning endlessly when I try to view the task list, so this was inherited during the upgrade from 3.3, except in OJS 3.5 it produces an error message. Luckily the user is a demo user in a demo journal, not the other ones. A few years ago, I have realized that some users were blocked from accesssing OJS because the editor deleted the submission but the orphaned reviewAsssignment record lingered. By deleting the review assignment records, I was able to resolve the access issue in OJS 3.3. However, you can no longer just delete records in the database because of the dependencies linking various database records in the database that OJS 3.5 uses now.

As for databases like MySQL and MS Access, I have minimal skills and most of it not withing the context of OJS work. For now, I am set because I only discovered this when I was creating a workflow tutorial using the demo user with this issue in 3.5 installed on the staging domain. I am engaging others to test 3.5 and see if other issues appear so I can fix those before cutting over to the 3.5 from the current 3.3 installation in the main domain. Thanks! – @asabhar