File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 5656use Magento \Setup \Validator \DbValidator ;
5757use Magento \Store \Model \Store ;
5858use Magento \RemoteStorage \Setup \ConfigOptionsList as RemoteStorageValidator ;
59+ use ReflectionException ;
5960
6061/**
6162 * Class Installer contains the logic to install Magento application.
@@ -1219,7 +1220,12 @@ public function installSearchConfiguration($data)
12191220 */
12201221 public function validateRemoteStorageConfiguration (array $ data )
12211222 {
1222- $ remoteStorageValidator = $ this ->objectManagerProvider ->get ()->get (RemoteStorageValidator::class);
1223+ try {
1224+ $ remoteStorageValidator = $ this ->objectManagerProvider ->get ()->get (RemoteStorageValidator::class);
1225+ } catch (ReflectionException $ e ) { // RemoteStorage module is not enabled; return early
1226+ return ;
1227+ }
1228+
12231229 $ validationErrors = $ remoteStorageValidator ->validate ($ data , $ this ->deploymentConfig );
12241230
12251231 if (!empty ($ validationErrors )) {
You can’t perform that action at this time.
0 commit comments