im currently working on a Wordpress project with Bedrock and Sage Theme. Im managing the Plugins with composer. But i have troubles activating the plugins. For example i installed “Yoast SEO” with compser “composer require yoast/wordpress-seo”. When the Plugin is installed an i try to activate it from the Wordpress admin i get the following error:
**Warning** : include(/var/www/vendor/composer/../../web/app/plugins/wordpress-seo/inc/options/class-wpseo-options.php): failed to open stream: No such file or directory in **/var/www/vendor/composer/ClassLoader.php** on line **480** **Warning** : include(): Failed opening '/var/www/vendor/composer/../../web/app/plugins/wordpress-seo/inc/options/class-wpseo-options.php' for inclusion (include_path='.:/usr/local/lib/php') in **/var/www/vendor/composer/ClassLoader.php** on line **480**
The same problem happens when i install the Soil Plugin from roots. Installing some other plugins like “WPML or ACF” went without problems. What im missing here? Do i have any configuration issues?
Im Using Wordpress with Docker Enviroment.