# error/core plugin/detectedmisplacedplugin

<div class="mw-content-ltr mw-parser-output" dir="ltr" id="bkmrk-do-not-panic-this-is" lang="en">## <span class="mw-headline" id="bkmrk-do-not-panic-this-is-2">DO NOT PANIC THIS IS EASILY FIXED</span><span class="mw-editsection-divider"> \| </span><span class="mw-editsection-bracket">\]</span>

Let me guess, you arrived here after trying to install a new theme? If so then check that the version.php of the theme in question, and make sure that it is completed correctly, especially this line...

$plugin-&gt;component = 'theme\_**yourthemename'**; // Full name of the plugin (used for diagnostics)

...where '**yourthemename'** is the correct spelling of the theme you are trying to install.

</div>---

<small>Source: [docs.moodle.org/503/en/error/core plugin/detectedmisplacedplugin](https://docs.moodle.org/503/en/error/core%20plugin/detectedmisplacedplugin) — MoodleDocs (GPL) · Imported 2026-11-10.</small>