Closed antonfries closed 1 year ago
Class "Laminas\Stdlib\Glob" not found
The class is present:
Fixed it by resetting to a earlier dependency state and then doing a composer update.
@antonfries - Could you post the earlier version number? Thanks.
EDIT: Never mind. I see in your description you upgraded from 3.17. I can verify that if you specify the following in composer.json ("laminas/laminas-stdlib": "~3.17.0"
), then the update will work.
BC Break Report
Summary
Previous behavior
No error
Current behavior
`In DeploystrategyAbstract.php line 347:
[Error] Class "Laminas\Stdlib\Glob" not found
Exception trace: at /server/vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/ Deploystrategy/DeploystrategyAbstract.php:347 MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract->removeContentOfCategory() at /srv/www/magen to/standard/2dot4/vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Deploystrategy/Depl oystrategyAbstract.php:324 MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract->remove() at /srv/www/magento/standard/2dot4 /vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Deploystrategy/DeploystrategyAbstrac t.php:94 MagentoHackathon\Composer\Magento\Deploystrategy\DeploystrategyAbstract->clean() at /server/ vendor/magento/magento-composer-installer/src/MagentoHackathon/Composer/Magento/Installer.php:611 MagentoHackathon\Composer\Magento\Installer->update() at phar:///usr/local/bin/composer2/src/Composer/Installer/Inst allationManager.php:485 Composer\Installer\InstallationManager->update() at phar:///usr/local/bin/composer2/src/Composer/Installer/Installat ionManager.php:378 Composer\Installer\InstallationManager->Composer\Installer{closure}() at phar:///usr/local/bin/composer2/vendor/rea ct/promise/src/FulfilledPromise.php:28 React\Promise\FulfilledPromise->then() at phar:///usr/local/bin/composer2/src/Composer/Installer/InstallationManager .php:377 Composer\Installer\InstallationManager->executeBatch() at phar:///usr/local/bin/composer2/src/Composer/Installer/Ins tallationManager.php:319 Composer\Installer\InstallationManager->downloadAndExecuteBatch() at phar:///usr/local/bin/composer2/src/Composer/In staller/InstallationManager.php:218 Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer2/src/Composer/Installer.php:797 Composer\Installer->doInstall() at phar:///usr/local/bin/composer2/src/Composer/Installer.php:622 Composer\Installer->doUpdate() at phar:///usr/local/bin/composer2/src/Composer/Installer.php:287 Composer\Installer->run() at phar:///usr/local/bin/composer2/src/Composer/Command/UpdateCommand.php:247 `
How to reproduce
Updating composer in a Magento Open Source 2.4.6 instance