errors in runScheduledTasks execution

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: 13
Joined: Thu Dec 01, 2005 3:17 pm

errors in runScheduledTasks execution

Postby delong » Wed Feb 22, 2006 10:42 am

This has me a bit puzzled since I upgraded to 2.1. I get this output every night from running my runScheduledTasks cronjob:

Notice: Only variable references should be returned by reference in /home/extra3/public_html/ojs/classes/core/ on line 38

I believe this is the section containing line 38:

* Get the value of an item in the registry.
* @param $key string
* @return mixed
function &get($key) {
$registry = &Registry::getRegistry();

$result = null;
if (isset($registry[$key])) $result = &$registry[$key];
return $result;

I don't know what it is complaining about. :/

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Wed Feb 22, 2006 11:06 am

Hi delong,

This sort of thing has been caused in the past by a buggy version of Zend optimizer. Try disabling the optimizer, if you're running it, and see if the problem goes away -- if so, you might consider upgrading your optimizer.

Alec Smecher
Open Journal Systems Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 4 guests