CakePHP: 3.9.3
Composer: 1.10.17
OS: Windows & Linux
CakePHP Plugin Installer: 1.2.0 vs. 1.3.1
We recently updated the cakephp/plugin-installer dependency of a CakePHP 3.9.x application from 1.2.0 to 1.3.1.
Today we wanted to deploy that application but it failed with:
Fatal error: [Cake\Core\Exception\MissingPluginException] Plugin PluginToLoad could not be found. (/path/to/appvendor\cakephp\cakephp\src\Core\PluginCollection.php:207)
#0 /path/to/appvendor\cakephp\cakephp\src\Core\Plugin.php(254): Cake\Core\PluginCollection->get('PluginToLoad')
#1 /path/to/appvendor\cakephp\cakephp\src\Core\App.php(189): Cake\Core\Plugin::classPath('PluginToLoad'
#2 /path/to/appvendor\cakephp\cakephp\src\View\View.php(1786): Cake\Core\App::path('Template', 'PluginToLoad')
#3 /path/to/appvendor\cakephp\cakephp\src\View\View.php(1600): Cake\View\View->_paths(NULL)
#4 /path/to/appvendor\cakephp\cakephp\src\View\View.php(888): Cake\View\View->_getViewFileName('Error\\error500')
#5 /path/to/appvendor\cakephp\cakephp\src\Error\ExceptionRenderer.php(410): Cake\View\View->render('error500', 'error')
#6 /path/to/appvendor\cakephp\cake in /path/to/appvendor\cakephp\cakephp\src\Error\ErrorHandler.php on line 181
After downgrading again to 1.2.0, it functioned again.
//cc @orca-services
CakePHP: 3.9.3
Composer: 1.10.17
OS: Windows & Linux
CakePHP Plugin Installer: 1.2.0 vs. 1.3.1
We recently updated the
cakephp/plugin-installerdependency of a CakePHP 3.9.x application from1.2.0to1.3.1.Today we wanted to deploy that application but it failed with:
After downgrading again to
1.2.0, it functioned again.//cc @orca-services