Error in (OJS 2.4)

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 111
Joined: Wed Jul 25, 2012 2:56 pm
Location: Munich, Germany

Error in (OJS 2.4)

Postby springday » Fri Sep 07, 2012 3:54 pm

I've run into an error when trying to add a supplementary file to a published article. I started out from the page associated with the URL [journal]/editor/submission/[articleId] and clicked "Add supplementary file" (URL [journal]/editor/addSuppFile/[articleID]?from=submission). I received the following PHP error:

Fatal error: Call to a member function getData() on a non-object in C:\xampp\htdocs\ojs\classes\plugins\ on line 51

The PubIdPluginHelper is called from line 178 of

Code: Select all

$pubIdPluginHelper->init($this, $suppFile);

$suppFile is not defined at this stage, because I was trying to add a new supplementary file.

Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Error in (OJS 2.4)

Postby JasonNugent » Mon Sep 10, 2012 8:02 am

Hi Kai,

I've filed this bug against OJS 2.4 as

And included a patch there against OJS 2.4. Can you verify that this patch solves your issue? If it does, I will commit and close.

Thanks for reporting,

Posts: 111
Joined: Wed Jul 25, 2012 2:56 pm
Location: Munich, Germany

Re: Error in (OJS 2.4)

Postby springday » Mon Sep 10, 2012 10:20 am

Hi Jason,

yes, moving those four lines up did the job, I can now add supplementary files without encountering an error message. Thanks a lot!


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests