Plugin Registry on Line 186 (OJS 3.4.0.5)

OJS_Darryl
Fri, 08 Mar 2024 05:50:23 +0000
Software Support

Hello Everyone;

After successfully upgrading and testing the new version (OJS 3.4.0.5) on a subdomain, I attempted to migrate the upgraded version to my main domain. However, I encountered an issue with the plugins.

Error log is this:

[08-Mar-2024 05:45:36 UTC] PHP Fatal error:  Uncaught Exception: Invalid product name "public_html" in /home/Webroot/public_html/lib/pkp/classes/plugins/PluginRegistry.php:186
Stack trace:
#0 /home/Webroot/public_html/lib/pkp/classes/plugins/PluginRegistry.php(242): PKP\plugins\PluginRegistry::_instantiatePlugin('generic', 'public_html')
#1 /home/Webroot/public_html/lib/pkp/classes/plugins/PluginRegistry.php(113): PKP\plugins\PluginRegistry::_loadFromDisk('generic')
#2 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/plugins/PluginGridHandler.php(194): PKP\plugins\PluginRegistry::loadCategory('generic')
#3 /home/Webroot/public_html/controllers/grid/settings/plugins/SettingsPluginGridHandler.php(49): PKP\controllers\grid\plugins\PluginGridHandler->loadCategoryData(Object(APP\core\Request), 'generic', Array)
#4 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.php(148): APP\controllers\grid\settings\plugins\SettingsPluginGridHandler->loadCategoryData(Object(APP\core\Request), 'generic', Array)
#5 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.php(540): PKP\controllers\grid\CategoryGridHandler->getGridCategoryDataElements(Object(APP\core\Request), 'generic')
#6 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.php(517): PKP\controllers\grid\CategoryGridHandler->_renderCategoryInternally(Object(APP\core\Request), Object(PKP\controllers\grid\plugins\PluginCategoryGridRow))
#7 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.php(322): PKP\controllers\grid\CategoryGridHandler->_renderCategoriesInternally(Object(APP\core\Request))
#8 /home/Webroot/public_html/lib/pkp/classes/controllers/grid/GridHandler.php(735): PKP\controllers\grid\CategoryGridHandler->doSpecificFetchGridActions(Array, Object(APP\core\Request), Object(APP\template\TemplateManager))
#9 [internal function]: PKP\controllers\grid\GridHandler->fetchGrid(Array, Object(APP\core\Request))
#10 /home/Webroot/public_html/lib/pkp/classes/core/PKPRouter.php(334): call_user_func(Array, Array, Object(APP\core\Request))
#11 /home/Webroot/public_html/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array)
#12 /home/Webroot/public_html/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route(Object(APP\core\Request))
#13 /home/Webroot/public_html/lib/pkp/classes/core/PKPApplication.php(388): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#14 /home/Webroot/public_html/index.php(21): PKP\core\PKPApplication->execute()
#15 {main}
  thrown in /home/Webroot/public_html/lib/pkp/classes/plugins/PluginRegistry.php on line 186

What application are you using?
For example, OJS 3.4.0.5

Additional information

When I access the “Website Settings” → “Installed Plugins” section, it displays a continuous loading animation.

and I’m trying to install a plugins and I got this error:

Best regards,

Darryl

4 posts - 2 participants