We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e19c93 commit 619edc5Copy full SHA for 619edc5
setup/src/Magento/Setup/Model/Installer.php
@@ -1297,7 +1297,7 @@ private function cleanupGeneratedFiles()
1297
1298
// unload Magento autoloader because it may be using compiled definition
1299
foreach (spl_autoload_functions() as $autoloader) {
1300
- if ($autoloader[0] instanceof \Magento\Framework\Code\Generator\Autoloader) {
+ if (is_array($autoloader) && $autoloader[0] instanceof \Magento\Framework\Code\Generator\Autoloader) {
1301
spl_autoload_unregister([$autoloader[0], $autoloader[1]]);
1302
break;
1303
}
0 commit comments