Anil
May 21, 2025, 6:17am
1
Describe the issue or problem
After a recent upgrade of our OJS installation from 3.4.0.1 to 3.4.0.8 and relocation of the files_dir
outside the public_html
directory (for security reasons), we encountered a fatal error when accessing the Articles Report plugin. The system throws the following error:
Steps I took leading up to the issue
Logged into the OJS admin dashboard.
Navigated to Statistics > Reports > Articles Report .
Clicked to generate the report.
The excel file generated has the error details
What application are you using?
OJS 3.4.0.8
Additional information
Hi @Anil ,
Before anything, have you upgraded your install via git or .tar.gz file?
Best regards,
Josh
It need to debug the system to identify the specific issues.
Anil
May 22, 2025, 6:40am
4
@jnoronha
Thank you for the quick reply.
The upgraded was done using .tar.gz file.
Regards,
Anil
Hi,
The issue currently being faced is similar to the one previously reported by another user:
Hello,
We are on OJS 3.4.0-6.
I am getting the following when I try to run Article Report
PHP Fatal error: Uncaught Error: Call to a member function getData() on null in plugins/reports/articles/ArticleReportPlugin.php:115\nStack trace:\n#0 lib/pkp/pages/stats/PKPStatsHandler.php(589): APP\plugins\reports\articles\ArticleReportPlugin->display()\n#1 lib/pkp/pages/stats/PKPStatsHandler.php(537): PKP\pages\stats\PKPStatsHandler->report()\n#2 [internal function]: PKP\pages\stats\PKPStatsHandler->…
Since the upgrade process in this case was handled by our team, we have taken the initiative to investigate and provide a solution to fix the issue.
There are several options available to resolve this problem, and I’ve compiled a detailed guide in the following article:
How to Fix a Failed Article Report Export in OJS
We hope this article will help other OJS users who are experiencing the same issue.
Thank you,
Almadani
OJT Team
1 Like
This topic was automatically closed after 13 days. New replies are no longer allowed.