ParseError: syntax error, unexpected 'Global' (T_GLOBAL) in /data/web/magento2/vendor/magento/module-customer/Model/Config/Share.php:98 Stack trace: #0 /data/web/magento2/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/data/web/magen...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Magento\\Custome...') #2 /data/web/magento2/generated/code/Magento/Customer/Model/Config/Share/Interceptor.php(7): spl_autoload_call('Magento\\Custome...') #3 /data/web/magento2/vendor/composer/ClassLoader.php(571): include('/data/web/magen...') #4 /data/web/magento2/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/data/web/magen...') #5 [internal function]: Composer\Autoload\ClassLoader->loadClass('Magento\\Custome...') #6 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): spl_autoload_call('Magento\\Custome...') #7 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Custome...', Array) #8 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...') #9 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...') #10 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...') #11 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...') #12 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...') #13 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...') #14 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\LoginAs...') #15 /data/web/magento2/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\LoginAs...') #16 /data/web/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\LoginAs...') #17 /data/web/magento2/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\LoginAs...') #18 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(144): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\PageCac...', 'login-as-custom...') #19 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\PageCache\Model\Config\Interceptor->Magento\Framework\Interception\{closure}() #20 /data/web/magento2/generated/code/Magento/PageCache/Model/Config/Interceptor.php(50): Magento\PageCache\Model\Config\Interceptor->___callPlugins('isEnabled', Array, Array) #21 /data/web/magento2/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(70): Magento\PageCache\Model\Config\Interceptor->isEnabled() #22 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #23 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #24 /data/web/magento2/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #25 /data/web/magento2/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #26 /data/web/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #27 /data/web/magento2/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #28 /data/web/magento2/pub/index.php(33): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #29 {main}