Skip to main content

The block cannot be deleted

XP follows the same rules as any other Moodle block when it comes to editing and deletion, however there is one situation where the block may not be deletable. That is, if the block was added to the dashboard, or frontpage, while the plugin was set in "For the whole site" mode, then switched back to "Per course". Then, the delete option will not appear.

You must remove those block instances first.

Deleting orphan site-wide blocks

note

This applies when the plugin is used "Per course", but blocks had been added in "For the whole site" mode.

  1. Navigate to Site administration > Plugins > Blocks > Level Up XP > General settings
  2. Switch the plugin to "For the whole site" mode
  3. Navigate and delete the previously undeletable blocks
  4. Navigate back to Level Up XP's settings and revert back to "Per course" mode