ParseError: syntax error, unexpected 'throw' (T_THROW) in /srv/www/polysan.com.pl/vendor/magento/framework/File/Uploader.php:261 Stack trace: #0 /srv/www/polysan.com.pl/vendor/composer/ClassLoader.php(344): Composer\Autoload\includeFile() #1 [internal function]: Composer\Autoload\ClassLoader->loadClass() #2 /srv/www/polysan.com.pl/vendor/magento/framework/Api/Uploader.php(12): spl_autoload_call() #3 /srv/www/polysan.com.pl/vendor/composer/ClassLoader.php(476): include('/srv/www/polysa...') #4 /srv/www/polysan.com.pl/vendor/composer/ClassLoader.php(344): Composer\Autoload\includeFile() #5 [internal function]: Composer\Autoload\ClassLoader->loadClass() #6 /srv/www/polysan.com.pl/generated/code/Magento/Framework/Api/Uploader/Interceptor.php(7): spl_autoload_call() #7 /srv/www/polysan.com.pl/vendor/composer/ClassLoader.php(476): include('/srv/www/polysa...') #8 /srv/www/polysan.com.pl/vendor/composer/ClassLoader.php(344): Composer\Autoload\includeFile() #9 [internal function]: Composer\Autoload\ClassLoader->loadClass() #10 [internal function]: spl_autoload_call() #11 /srv/www/polysan.com.pl/vendor/magento/framework/Code/Reader/ClassReader.php(24): ReflectionClass->__construct() #12 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Definition/Runtime.php(54): Magento\Framework\Code\Reader\ClassReader->getConstructor() #13 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(100): Magento\Framework\ObjectManager\Definition\Runtime->getParameters() #14 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #15 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #16 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #17 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #18 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #19 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #20 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #21 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #22 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #23 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #24 /srv/www/polysan.com.pl/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #25 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get() #26 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(182): Magento\Framework\Interception\PluginList\PluginList->getPlugin() #27 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #28 /srv/www/polysan.com.pl/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(23): Magento\Framework\App\Http\Context\Interceptor->___callPlugins() #29 /srv/www/polysan.com.pl/vendor/magento/framework/App/PageCache/Identifier.php(57): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #30 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(60): Magento\Framework\App\PageCache\Identifier->getValue() #31 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(201): Magento\Framework\App\PageCache\Identifier\Interceptor->___callParent() #32 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\PageCache\Identifier\Interceptor->Magento\Framework\Interception\{closure}() #33 /srv/www/polysan.com.pl/generated/code/Magento/Framework/App/PageCache/Identifier/Interceptor.php(23): Magento\Framework\App\PageCache\Identifier\Interceptor->___callPlugins() #34 /srv/www/polysan.com.pl/vendor/magento/framework/App/PageCache/Kernel.php(112): Magento\Framework\App\PageCache\Identifier\Interceptor->getValue() #35 /srv/www/polysan.com.pl/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\PageCache\Kernel->load() #36 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(198): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() #37 /srv/www/polysan.com.pl/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #38 /srv/www/polysan.com.pl/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #39 /srv/www/polysan.com.pl/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #40 /srv/www/polysan.com.pl/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #41 /srv/www/polysan.com.pl/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #42 {main}