We have (I believe) the same problem: automatic registration is not working, and we have thousands of similar failed jobs. Our job error log of one such job is below.
Some observations we’ve made:
- We’ve also researched the funding plugin, but it does not seem to be the culprit.
- When manually registering DOIs (by going to the menu, checking boxes and using the bulk ‘DOI deposit’ option), we’ve found that registration works very inconsistently:
- When registering multiple DOI’s at once, most won’t register, but at times one DOI does get registered
- When registering only one DOI at a time, the DOI does get deposited correctly every time.
{
"message": "Call to a member function getSubmissionFilter() on null",
"code": 0,
"file": "PATH_TO_OJS_INSTALLATION\/html\/plugins\/generic\/crossref\/CrossrefPlugin.php",
"line": 294,
"trace": [
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/jobs\/doi\/DepositSubmission.php",
"line": 63,
"function": "depositSubmissions",
"class": "APP\\plugins\\generic\\crossref\\CrossrefPlugin",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php",
"line": 36,
"function": "handle",
"class": "PKP\\jobs\\doi\\DepositSubmission",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php",
"line": 41,
"function": "Illuminate\\Container\\{closure}",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php",
"line": 93,
"function": "unwrapIfClosure",
"class": "Illuminate\\Container\\Util",
"type": "::"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php",
"line": 37,
"function": "callBoundMethod",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php",
"line": 661,
"function": "call",
"class": "Illuminate\\Container\\BoundMethod",
"type": "::"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Bus\/Dispatcher.php",
"line": 128,
"function": "call",
"class": "Illuminate\\Container\\Container",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php",
"line": 141,
"function": "Illuminate\\Bus\\{closure}",
"class": "Illuminate\\Bus\\Dispatcher",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php",
"line": 116,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Bus\/Dispatcher.php",
"line": 132,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/CallQueuedHandler.php",
"line": 124,
"function": "dispatchNow",
"class": "Illuminate\\Bus\\Dispatcher",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php",
"line": 141,
"function": "Illuminate\\Queue\\{closure}",
"class": "Illuminate\\Queue\\CallQueuedHandler",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php",
"line": 116,
"function": "Illuminate\\Pipeline\\{closure}",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/CallQueuedHandler.php",
"line": 126,
"function": "then",
"class": "Illuminate\\Pipeline\\Pipeline",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/CallQueuedHandler.php",
"line": 70,
"function": "dispatchThroughMiddleware",
"class": "Illuminate\\Queue\\CallQueuedHandler",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/Jobs\/Job.php",
"line": 98,
"function": "call",
"class": "Illuminate\\Queue\\CallQueuedHandler",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/Worker.php",
"line": 425,
"function": "fire",
"class": "Illuminate\\Queue\\Jobs\\Job",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/Worker.php",
"line": 375,
"function": "process",
"class": "Illuminate\\Queue\\Worker",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/lib\/vendor\/laravel\/framework\/src\/Illuminate\/Queue\/Worker.php",
"line": 326,
"function": "runJob",
"class": "Illuminate\\Queue\\Worker",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/lib\/pkp\/classes\/core\/PKPQueueProvider.php",
"line": 106,
"function": "runNextJob",
"class": "Illuminate\\Queue\\Worker",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/html\/lib\/pkp\/classes\/queue\/JobRunner.php",
"line": 220,
"function": "runJobInQueue",
"class": "PKP\\core\\PKPQueueProvider",
"type": "->"
},
{
"file": "PATH_TO_OJS_INSTALLATION\/lib\/pkp\/classes\/core\/PKPQueueProvider.php",
"line": 135,
"function": "processJobs",
"class": "PKP\\queue\\JobRunner",
"type": "->"
},
{
"function": "PKP\\core\\{closure}",
"class": "PKP\\core\\PKPQueueProvider",
"type": "->"
}
]
}