Really weird issue where the plugin being required is an mu-plugin loaded via composer and is not loading all the assets for the plugin even though the plugin is working (mostly):
The important part of my composer.json file:
"require": {
"php": ">=5.4",
"composer/installers": "~1.0.12",
"johnpbloch/wordpress": "4.4.0",
"vlucas/phpdotenv": "^1.1",
"wpackagist-plugin/piklist": "dev-trunk",
"wp-api/wp-api": "2.0-beta9.1"
},
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin", "wpackagist-plugin/piklist", "wp-api/wp-api"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp"
}
When I view the console for wp admin on a piklist plugin page, I get a ton of 404 errors - mostly having to do with icons, css and required jquery scripts for the piklist plugin.
Most of the functionality of the piklist plugin itself seems to work fine though. It’s only when I try to interact with it via it’s buttons or view it’s icons etc that it doesn’t work.
Any idea what’s happening?