We followed the steps in the “How to Upgrade” document to go upgrade from 3.3.0.13 to 3.4.0.4 and reached step 8 whereupon executing the command:
php tools/upgrade.php check
…produces the error shown in the stacktrace below. What should we do next?
Exception: Plugin material expected to inherit from MaterialThemePlugin, actual type NULL in /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php:203
Stack trace:
#0 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php(219): PKP\plugins\PluginRegistry::_instantiatePlugin()
#1 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php(112): PKP\plugins\PluginRegistry::_loadFromDatabase()
#2 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/template/PKPTemplateManager.php(1392): PKP\plugins\PluginRegistry::loadCategory()
#3 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/Plugin.php(403): PKP\template\PKPTemplateManager::getManager()
#4 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/Plugin.php(137): PKP\plugins\Plugin->_registerTemplateResource()
#5 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/LazyLoadPlugin.php(34): PKP\plugins\Plugin->register()
#6 /var/www/test-ojs-3.4.0-4/plugins/generic/googleAnalytics/GoogleAnalyticsPlugin.php(36): PKP\plugins\LazyLoadPlugin->register()
#7 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php(76): APP\plugins\generic\googleAnalytics\GoogleAnalyticsPlugin->register()
#8 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php(121): PKP\plugins\PluginRegistry::register()
#9 [internal function]: PKP\plugins\PluginRegistry::PKP\plugins{closure}()
#10 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/plugins/PluginRegistry.php(121): array_walk_recursive()
#11 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/cliTool/CommandLineTool.php(72): PKP\plugins\PluginRegistry::loadCategory()
#12 /var/www/test-ojs-3.4.0-4/lib/pkp/classes/cliTool/UpgradeTool.php(39): PKP\cliTool\CommandLineTool->__construct()
#13 /var/www/test-ojs-3.4.0-4/tools/upgrade.php(21): PKP\cliTool\UpgradeTool->__construct()
#14 {main}
If relevant, the PHP and OS levels are:
PHP 8.2.7 (cli) (built: Jun 9 2023 19:37:27) (NTS)
Debian GNU/Linux 12 (bookworm)