After moving a module to another folder , i cannot clear reminiscent module paths I have moved the contrib module pagerer from


  /sites/my_site/modules


to 


  /modules/contrib


It breaks the site as some files are unaccessible


  /platforms/drupal8-development/sites/recherche-dev.univ-amu.fr/modules/pagerer/src/Entity/PagererPreset.php):
  failed to open stream: No such file or directory in require()


i guess i would need to perform a registry rebuild but i don't know how.

drush rr outputs


  The drush command 'rr' could not be found
i have ended up putting in local.settings.php

   /**
 * Class Loader.
 *
 * If the APC extension is detected, the Symfony APC class loader is used for
 * performance reasons. Detection can be prevented by setting
 * class_loader_auto_detect to false, as in the example below.
 */
$settings['class_loader_auto_detect'] = FALSE;