By remove, do you mean disable them in the plugin list or do I need to delete them from the filesystem? If I need to delete them, do I delete the entire folder inside /plugins? is there something to do in the database as well?
First of all this just suggestion since the error show duplicate php coding error. Upgrading ojs based on our team experience should be creative.
So you can delete that both folder. No database modification required. Then you can init the upgrade script again. Check that result of the upgrade script again.
I’ve removed the plugins that the check was reporting errors with, but now I reach a new error:
PHP Warning: require_once(/…/lib/pkp/classes/xml/XMLCustomWriter.inc.php): failed to open stream: No such file or directory in /…/lib/pkp/includes/functions.inc.php on line 25
PHP Fatal error: require_once(): Failed opening required ‘/…/lib/pkp/classes/xml/XMLCustomWriter.inc.php’ (include_path=‘.:/usr/share/pear:/usr/share/php’) in /…/lib/pkp/includes/functions.inc.php on line 25
It sounds like you’re unpacking the new OJS package over top of your existing OJS installation. That’s not the recommended practice – it ends up mixing old plugins with new code. Follow the “Full Package” steps here:
Regards,
Alec Smecher
Public Knowledge Project Team
I searched the plugins folder for XMLCustomWriter and it was only called in the generic/lucene subfolder. I deleted it and now the check command no longer returns the error. I’ll keep trying the upgrade and see if I run into any further issues.