Hi @rcgillis @jonasraoni
I installed the 4.0.0.0 version for OJS 3.5.0-5 from the plugin gallery, so I assumed this would be the official version that should work with OJS 3.5 Also, the message that the plugin is experimental was removed for the release on GitHub. During installation, I observed the following behaviour:
Installation took more than 15 minutes (spinning wheel). After I reloaded the plugin gallery page, The plugin was marked as “Up to date”. Also, the versions table record indicated 4.0.0.0 as version, and a post-run of the php tools/upgrade.php upgrade script didn’t show anything.
This was for a large journal having 912 issues. The plugin did not find the recently added issue, so still displays 912 instead of 913. BTW, the page navigation is missing, see Bug: Page navigation missing in status page · Issue #123 · pkp/pln · GitHub .
This I find in the most recent Depositor log:
[2026-08-29 13:40:12] https://www.chimia.ch
[2026-08-29 13:40:12] [Notice] Task process started.
[2026-08-29 13:40:12] [Notice] PKP Preservation Network Processor
[2026-08-29 13:40:12] [Notice] Depositor processing for CHIMIA.
[2026-08-29 13:40:12] [Notice] Getting service document.
[2026-08-29 13:40:13] [Notice] Processing new content.
[2026-08-29 13:40:13] [Error] Exception: Tried to insert APP\plugins\generic\pln\classes\depositObject\DepositObject without any properties for the pln_deposit_objects table. in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php:155
Stack trace:
#0 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/plugins/generic/pln/classes/depositObject/DAO.php(129): PKP\core\EntityDAO->_insert()
#1 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/plugins/generic/pln/classes/depositObject/Repository.php(134): APP\plugins\generic\pln\classes\depositObject\DAO->insert()
#2 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/plugins/generic/pln/classes/depositObject/Repository.php(259): APP\plugins\generic\pln\classes\depositObject\Repository->add()
#3 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/plugins/generic/pln/classes/tasks/Depositor.php(249): APP\plugins\generic\pln\classes\depositObject\Repository->createNew()
#4 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/plugins/generic/pln/classes/tasks/Depositor.php(111): APP\plugins\generic\pln\classes\tasks\Depositor->processNewDepositObjects()
#5 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/scheduledTask/ScheduledTask.php(151): APP\plugins\generic\pln\classes\tasks\Depositor->executeActions()
#6 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/scheduledTask/PKPScheduler.php(60): PKP\scheduledTask\ScheduledTask->execute()
{...}
#22 /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/tools/scheduler.php(332): PKP\tools\CommandScheduler->execute()
#23 {main}
[2026-08-29 13:40:13] [Notice] Processing updated content.
[2026-08-29 13:40:13] [Notice] Packaging content for deposit.
The NativeXML export for this issue works.
When I run the Depositor process manually using php lib/pkp/tools/scheduler.php test and then choose the APP\plugins\generic\pln\classes\tasks\Depositor task, the process crashes:
Running [APP\plugins\generic\pln\classes\tasks\Depositor] PHP Warning: Undefined property: stdClass::$properties in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
PHP Warning: Attempt to read property "id" on null in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
PHP Warning: Attempt to read property "type" on null in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
PHP Warning: Undefined property: stdClass::$properties in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
PHP Warning: Attempt to read property "id" on null in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
PHP Warning: Attempt to read property "type" on null in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/classes/core/EntityDAO.php on line 112
.................................................. 2s FAIL
PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as `do` where (not exists (select * from `journals` as `j` where `j`.`journal...' at line 1 in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:605
{…}
Next Illuminate\Database\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as `do` where (not exists (select * from `journals` as `j` where `j`.`journal...' at line 1 (Connection: mysql, Host: localhost, Port: , Database: ojs, SQL: delete from `pln_deposit_objects` as `do` where (not exists (select * from `journals` as `j` where `j`.`journal_id` = `do`.`journal_id`) or (`do`.`deposit_id` is not null and not exists (select * from `pln_deposits` as `d` where `d`.`deposit_id` = `do`.`deposit_id`)) or (`do`.`object_type` in (Submission, PublishedArticle) and not exists (select * from `submissions` as `s` where `s`.`submission_id` = `do`.`object_id` and `s`.`context_id` = `do`.`journal_id`)) or (`do`.`object_type` = Issue and not exists (select * from `issues` as `i` where `i`.`issue_id` = `do`.`object_id` and `i`.`journal_id` = `do`.`journal_id`)))) in /var/www/virtual/ojs.chimia.ch/htdocs/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:838
I will uninstall the plugin now.