OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Fatal error: Call to a member function on a non-object in...

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 http://forum.pkp.sfu.ca

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.

Fatal error: Call to a member function on a non-object in...

Postby hoppe » Tue Aug 28, 2007 5:03 am

Dear Alec,
I have not found a satisfactory solution to the following error message, even though similar errors have been discussed here in the past:

Code: Select all
Fatal error: Call to a member function on a non-object in /path_to_httpdocs/cache/t_compile/%%8A^8A9^8A9DBDDF%%submissionsInEditing.tpl.php on line 51


The error occurs every time I move a submission from review to editing. After that, the only way to get rid of the problem is to delete the submission and resubmit it. Any ideas?

I'll try to attach a screenshot as well.

All the best,
Nils
Attachments
error_screenshot.JPG
error_screenshot.JPG (131.72 KiB) Viewed 430 times
hoppe
 
Posts: 2
Joined: Mon Nov 07, 2005 8:19 am

Re: Fatal error: Call to a member function on a non-object in...

Postby asmecher » Tue Aug 28, 2007 7:06 am

Hi Nils,

A missing proof assignment entry in the database could cause this to happen; one of these entries should be created for every submission. Is there an unusual route the submission has taken in getting into the system?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Fatal error: Call to a member function on a non-object in...

Postby hoppe » Tue Aug 28, 2007 7:28 am

We bypassed the proofreading for this article - could that have been it? Is there anything I can manipulate in the database to fix this?
hoppe
 
Posts: 2
Joined: Mon Nov 07, 2005 8:19 am

Re: Fatal error: Call to a member function on a non-object in...

Postby asmecher » Tue Aug 28, 2007 8:10 am

Hi Nils,

Even if proofreading is bypassed, the entry should still be created when the article is submitted. Anyway, you can create an entry to replace the missing one as follows, given the article's ID:
Code: Select all
INSERT INTO proof_assignments (article_id) VALUES ([article ID here]);
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests