Fatal error, Access denied

I just recently upgraded from OJS 3.1.1_2 to 3.1.1_4.

I get this “Access denied” when I try to make a custom report:
access%20denied

The thing is that I have followed the instructions for permissions of the files and folders!

I get the following Fatal Errors:

 [Thu Sep 20 10:57:07.579557 2018] [php7:error] [pid 29476] [client xx.xx.xx.xx:1298] PHP Fatal error:  Uncaught Error: Call to a member function getLocalizedTitle() on null in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php:156\nStack trace:\n#0 /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php(44): NotificationsGridCellProvider->_getTitle(Object(Notification))\n#1 /var/www/html/lib/pkp/classes/controllers/grid/GridCellProvider.inc.php(56): NotificationsGridCellProvider->getCellActions(Object(Request), Object(GridRow), Object(GridColumn))\n#2 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1106): GridCellProvider->render(Object(Request), Object(GridRow), Object(GridColumn))\n#3 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1013): GridHandler->_renderCellInternally(Object(Request), Object(GridRow), Object(GridColumn))\n#4 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(990): GridHandler->renderRowInternally(Object(Request), Object(GridRow))\n#5 /var/www/html/lib/pkp/classes/con in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php on line 156, referer: https://domain.xx/journal1/submissions
 [Thu Sep 20 10:57:10.410601 2018] [php7:error] [pid 1239] [client xx.xx.xx.xx:1303] PHP Fatal error:  Uncaught Error: Call to a member function getLocalizedTitle() on null in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php:156\nStack trace:\n#0 /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php(44): NotificationsGridCellProvider->_getTitle(Object(Notification))\n#1 /var/www/html/lib/pkp/classes/controllers/grid/GridCellProvider.inc.php(56): NotificationsGridCellProvider->getCellActions(Object(Request), Object(GridRow), Object(GridColumn))\n#2 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1106): GridCellProvider->render(Object(Request), Object(GridRow), Object(GridColumn))\n#3 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1013): GridHandler->_renderCellInternally(Object(Request), Object(GridRow), Object(GridColumn))\n#4 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(990): GridHandler->renderRowInternally(Object(Request), Object(GridRow))\n#5 /var/www/html/lib/pkp/classes/con in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php on line 156, referer: https://domain.xx/journal1/management/tools
 [Thu Sep 20 10:57:19.491730 2018] [php7:error] [pid 21368] [client xx.xx.xx.xx:1306] PHP Fatal error:  Uncaught Error: Call to a member function getLocalizedTitle() on null in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php:156\nStack trace:\n#0 /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php(44): NotificationsGridCellProvider->_getTitle(Object(Notification))\n#1 /var/www/html/lib/pkp/classes/controllers/grid/GridCellProvider.inc.php(56): NotificationsGridCellProvider->getCellActions(Object(Request), Object(GridRow), Object(GridColumn))\n#2 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1106): GridCellProvider->render(Object(Request), Object(GridRow), Object(GridColumn))\n#3 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(1013): GridHandler->_renderCellInternally(Object(Request), Object(GridRow), Object(GridColumn))\n#4 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.inc.php(990): GridHandler->renderRowInternally(Object(Request), Object(GridRow))\n#5 /var/www/html/lib/pkp/classes/con in /var/www/html/lib/pkp/controllers/grid/notifications/NotificationsGridCellProvider.inc.php on line 156, referer: https://domain.xx/journal1/management/tools/reportGenerator

I don’t know if it is related, but an editor can not view the submission process:
I do not see any errors in the log from the editors activity. This editor is using the browser Chrome.
19

Can you please help me?

Edvin

Here are the permissions in the lib/pkp/controllers/grid/notifications folder:

-rw-r--r--  1 myusername myusername 1043 11 sep 19.49 TaskNotificationsGridHandler.inc.php
-rw-r--r--  1 myusername myusername 6538 11 sep 19.49 NotificationsGridHandler.inc.php
-rw-r--r--  1 myusername myusername 5656 11 sep 19.49 NotificationsGridCellProvider.inc.php

and in lib/pkp/classes/controllers/grid/

drwxr-xr-x 3 myusername myusername  4096 11 sep 19.49 users
drwxr-xr-x 2 myusername myusername  4096 11 sep 19.49 plugins
-rw-r--r-- 1 myusername myusername   800 11 sep 19.49 NullGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  1105 11 sep 19.49 MapGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  1077 11 sep 19.49 LiteralGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  4342 11 sep 19.49 GridRow.inc.php
-rw-r--r-- 1 myusername myusername 33154 11 sep 19.49 GridHandler.inc.php
-rw-r--r-- 1 myusername myusername  2353 11 sep 19.49 GridDataProvider.inc.php
-rw-r--r-- 1 myusername myusername  3728 11 sep 19.49 GridColumn.inc.php
-rw-r--r-- 1 myusername myusername  2864 11 sep 19.49 GridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  1390 11 sep 19.49 GridCategoryRow.inc.php
-rw-r--r-- 1 myusername myusername  1829 11 sep 19.49 GridCategoryRowCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  2150 11 sep 19.49 GridBodyElement.inc.php
drwxr-xr-x 2 myusername myusername  4096 11 sep 19.49 files
drwxr-xr-x 3 myusername myusername  4096 11 sep 19.49 feature
-rw-r--r-- 1 myusername myusername  1350 11 sep 19.49 DateGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  1840 11 sep 19.49 DataObjectGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername  1112 11 sep 19.49 ColumnBasedGridCellProvider.inc.php
-rw-r--r-- 1 myusername myusername 14653 11 sep 19.49 CategoryGridHandler.inc.php
-rw-r--r-- 1 myusername myusername  2068 11 sep 19.49 CategoryGridDataProvider.inc.php
-rw-r--r-- 1 myusername myusername  1155 11 sep 19.49 ArrayGridCellProvider.inc.php

These permissions were the same in the 3.1.1_2 version

Hi,

There’s an issue filed for this already, and a patch: Access denied when trying to access some editorial/JM functions · Issue #4074 · pkp/pkp-lib · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team