¡Hi everyone! Good Day!
I’m using version OJS 3.2.1.2
I tried to get the report articles in management and send me this page.
then in the log… i received this message
[Tue Jun 15 11:43:44.988232 2021] [php7:error] [pid 31595] [client 189.216.113.149:39136] PHP Fatal error: Uncaught Error: Call to a member function getLocalizedTitle() on null in /srv/httpd/novohispana/plugins/reports/articles/ArticleReportPlugin.inc.php:128\nStack trace:\n#0 /srv/httpd/novohispana/lib/pkp/pages/management/PKPToolsHandler.inc.php(155): ArticleReportPlugin->display(Array, Object(Request))\n#1 /srv/httpd/novohispana/lib/pkp/pages/management/PKPToolsHandler.inc.php(58): PKPToolsHandler->report(Array, Object(Request))\n#2 /srv/httpd/novohispana/lib/pkp/classes/core/PKPRouter.inc.php(391): PKPToolsHandler->tools(Array, Object(Request))\n#3 /srv/httpd/novohispana/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#4 /srv/httpd/novohispana/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request))\n#5 /srv/httpd/novohispana/lib/pkp/classes/core/PKPApplication.inc.php(281): Dispatcher->dispatch(Object(Request))\n#6 /srv/httpd/novohispana/index.php(68): PKPApplication->execute()\n#7 {main}\n thrown in /srv/httpd/novohispana/plugins/reports/articles/ArticleReportPlugin.inc.php on line 128, referer: https://novohispana.historicas.unam.mx/index.php/ehn/management/tools
then i put this line on code
error_log($section->getLocalizedTitle());
in
/plugins/reports/ArticleReportPlugin.inc.php below of line 128 (error_log) to bring the assoc_type=1048585 and assoc_id=77717
assoc_type=1048585 assoc_id=77716
assoc_type=1048585 assoc_id=77715; bring 3 records.
Its seems that not see the title of what? i found the assoc_id only in notifications, but i’m not sure are the correct tables for delete or update.
Thanks Community, Regards!
SOS! @asmecher
the line error_log() ,i substract for other topic it works!