OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Call to a member function on a non-object [SOLVED]

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Call to a member function on a non-object [SOLVED]

Postby SergioRuiz » Tue Mar 27, 2007 4:52 am

Hi!

I have problems when I try to access the list of articles in "Edition" phase... I get the following error:

Fatal error: Call to a member function on a non-object in /storage/home/revistaesalud.com/public_html/cache/t_compile/%%8A^8A9^8A9DBDDF%%submissionsInEditing.tpl.php on line 51

It happens in an article that has already passed to edition, so we get a list and in the second one it stops and don't show any more articles...

ID - MM-DDEnviar - Secc. - Autores - Título - Corrección - Maquetación - Prueba

148 - 01-29 - ART - prueba - prueba - — - — - — - EPR
152 - 02-27 - ART - Labiano Ilundain - HYGEA TU LINEA MÉDICA 24H. DOS AÑOS... - — - — - Fatal error: Call to a member function on a non-object in storage/home/revistaesalud.com/public_html/cache/t_compile/%%8A^8A9^8A9DBDDF%%submissionsInEditing.tpl.php on line 51

If I try to edit this article I also get an error, but slightly different...

Corrección de pruebas
Solicitud - En curso - Completado - Recibido
1. Autor/a Fatal error: Call to a member function on a non-object in /storage/home/revistaesalud.com/public_html/cache/t_compile/%%C2^C2C^C2CF9125%%proofread.tpl.php on line 43

To me, it looks like there is something wrong with the author name, but I cannot see anything special... ???

Thanks in advance for any help. Regards,

Sergio Ruiz
Last edited by SergioRuiz on Tue Mar 27, 2007 9:56 am, edited 1 time in total.
SergioRuiz
 
Posts: 31
Joined: Wed Aug 03, 2005 12:04 am
Location: Spain

Postby asmecher » Tue Mar 27, 2007 8:56 am

Hi Sergio,

It looks to me like a database inconsistency; did you migrate this journal from OJS 1.x? If so, that's probably the cause. Off the top of my head, you may be able to correct it using the following SQL query:
Code: Select all
INSERT INTO proof_assignments (article_id) VALUES (** put the article ID here **);
Let me know if that doesn't work.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8902
Joined: Wed Aug 10, 2005 12:56 pm

Postby SergioRuiz » Tue Mar 27, 2007 9:55 am

Great! You were right. Actually, I upgraded from 2.1.0 and we did have some problems during migration.

The problem was that missing record. I inserted it and now it works, thanks a lot.

Sergio Ruiz
SergioRuiz
 
Posts: 31
Joined: Wed Aug 03, 2005 12:04 am
Location: Spain


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests