Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deactivating a plugin works but display a warning message "The plugin XYZ has not been loaded." #8007

Closed
mattab opened this issue May 27, 2015 · 0 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@mattab
Copy link
Member

mattab commented May 27, 2015

Steps to reproduce:

  • On Piwik master, go to Administration > Plugins
  • Deactivate Provider plugin
  • Got: The Provider plugin is disabled as expected. But there is a full page with warning message The plugin 'Provider' has not been loaded.:
  • Expected: the Plugins page reloads the Plugins listing and this message is not displayed.

Notes:

  • this is a regression in 2.14.0 hence why I put not-in-changelog label
  • it may only bug for Third party plugins (and work fine for core plugins)

Stacktrace:

#0 /home/matt/dev/piwik-master/core/AssetManager.php(347): Piwik\Plugin\Manager->getLoadedPlugin('Bandwidth')
#1 /home/matt/dev/piwik-master/core/AssetManager.php(226): Piwik\AssetManager->pluginContainsJScriptAssets('Bandwidth')
#2 /home/matt/dev/piwik-master/core/Filesystem.php(28): Piwik\AssetManager->removeMergedAssets('Bandwidth')
#3 /home/matt/dev/piwik-master/core/Plugin/Manager.php(447): Piwik\Filesystem::deleteAllCacheOnUpdate('Bandwidth')
#4 /home/matt/dev/piwik-master/core/Plugin/Manager.php(349): Piwik\Plugin\Manager->clearCache('Bandwidth')
#5 /home/matt/dev/piwik-master/plugins/CorePluginsAdmin/Controller.php(453): Piwik\Plugin\Manager->deactivatePlugin('Bandwidth')
#6 [internal function]: Piwik\Plugins\CorePluginsAdmin\Controller->deactivate()
#7 /home/matt/dev/piwik-master/core/FrontController.php(497): call_user_func_array(Array, Array)
#8 /home/matt/dev/piwik-master/core/FrontController.php(97): Piwik\FrontController->doDispatch(NULL, NULL, NULL)
#9 /home/matt/dev/piwik-master/core/dispatch.php(34): Piwik\FrontController->dispatch()
#10 /home/matt/dev/piwik-master/index.php(27): require_once('/home/matt/dev/...')
#11 {main}
@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels May 27, 2015
@mattab mattab added this to the 2.14.0 milestone May 27, 2015
@mnapoli mnapoli self-assigned this May 28, 2015
mnapoli added a commit that referenced this issue Jun 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

2 participants