1

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

  • 1
    drush cr should be all you need – Clive Nov 12 '18 at 11:03
  • 2
    Possible duplicate of Moving module location – leymannx Nov 12 '18 at 11:29
  • drush cr is not enough. i do a drush pm-uninstall then drush cr , empty all cache_table +cahe tags ,its fine, but when i enable the module the same wrong path error reappear !? where can this be stored? – Matoeil Nov 12 '18 at 14:03
  • Trying going to /rebuild.php maybe something is stopping the drush rebuild happening api.drupal.org/api/drupal/core%21rebuild.php/8.6.x – Leigh Nov 12 '18 at 14:17
  • 1
    Restart the server to clear APC cache or memcache. – Kevin Nov 12 '18 at 15:04
1

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;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.