I’ve a web site (Drupal 8.4.2) that has Bootstrap and a subtheme situated in:
/websites/themes/
With the improve from 8.three to eight.4, I’ve began utilizing Composer, and subsequently used Composer to improve Bootstrap. This added it to my composer.json (I might beforehand put in Boostrap utilizing drush), but in addition put the up to date model of Bootstrap right here (with out touching my present Bootstrap folder):
/websites/themes/contrib/
I eliminated my present Bootstrap folder and cleared the cache. Nonetheless, I can not handle the Boostrap theme or my subtheme – I get a 500 error like this:
PHP Deadly error: require(): Failed opening required ‘/var/www/html/drupal/mysite/themes/bootstrap/src/Bootstrap.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/drupal/mysite/vendor/symfony/class-loader/ApcClassLoader.php on line 110
The difficulty, clearly, is that it is searching for Bootstrap within the previous location. The query is – what do I must do to make sure my web site finds Bootstrap within the right folder? Shifting the up to date model of Bootstrap from contrib/ to the place the unique model was situated fixes the issue for now, however I might like to repair it completely.
I assume there’s a config worth someplace that is not being touched by clearing the cache.