ParseError: syntax error, unexpected 'return' (T_RETURN) in /var/www/html/welhof/production/public/app/code/Welhof/Main/Model/Quote/Total/CustomOptionsFee.php:43 Stack trace: #0 /var/www/html/welhof/production/public/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/var/www/html/w...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Welhof\\Main\\Mod...') #2 [internal function]: spl_autoload_call('Welhof\\Main\\Mod...') #3 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Welhof\\Main\\Mod...') #4 /var/www/html/welhof/production/public/vendor/magento/framework/Interception/Config/Config.php(157): Magento\Framework\ObjectManager\Relations\Runtime->has('Welhof\\Main\\Mod...') #5 /var/www/html/welhof/production/public/vendor/magento/framework/Interception/Config/Config.php(180): Magento\Framework\Interception\Config\Config->_inheritInterception('Welhof\\Main\\Mod...') #6 /var/www/html/welhof/production/public/vendor/magento/framework/Interception/ObjectManager/Config/Developer.php(61): Magento\Framework\Interception\Config\Config->hasPlugins('Welhof\\Main\\Mod...') #7 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(47): Magento\Framework\Interception\ObjectManager\Config\Developer->getInstanceType('Welhof\\Main\\Mod...') #8 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Welhof\\Main\\Mod...', Array) #9 /var/www/html/welhof/production/public/vendor/magento/module-quote/Model/Quote/Address/TotalFactory.php(40): Magento\Framework\ObjectManager\ObjectManager->create('Welhof\\Main\\Mod...', Array) #10 /var/www/html/welhof/production/public/vendor/magento/module-quote/Model/Quote/Address/Total/Collector.php(125): Magento\Quote\Model\Quote\Address\TotalFactory->create('Welhof\\Main\\Mod...') #11 /var/www/html/welhof/production/public/vendor/magento/module-sales/Model/Config/Ordered.php(114): Magento\Quote\Model\Quote\Address\Total\Collector->_initModelInstance('Welhof\\Main\\Mod...', 'customoptionsfe...', Array) #12 /var/www/html/welhof/production/public/vendor/magento/module-quote/Model/Quote/Address/Total/Collector.php(91): Magento\Sales\Model\Config\Ordered->_initModels() #13 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Quote\Model\Quote\Address\Total\Collector->__construct(Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Framework\Logger\Monolog), Object(Magento\Sales\Model\Config), Object(Magento\Framework\App\Config\Interceptor), Object(Magento\Store\Model\StoreManager), Object(Magento\Quote\Model\Quote\Address\TotalFactory), NULL, NULL, NULL) #14 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Quote\\M...', Array) #15 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Quote\\M...') #16 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Quote\\M...') #17 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Quote\\M...', NULL, 'totalCollector', 'Magento\\Quote\\M...') #18 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Quote\\M...', Array, Array) #19 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Quote\\M...', Array, Array) #20 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Quote\\M...', Array, Array) #21 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Quote\\M...') #22 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(167): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Quote\\M...') #23 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Quote\\M...', NULL, 'totalsCollector', 'Magento\\Quote\\M...') #24 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Quote\\M...', Array, Array) #25 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Quote\\M...', Array, Array) #26 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Quote\\M...', Array, Array) #27 /var/www/html/welhof/production/public/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Quote\\M...', Array) #28 /var/www/html/welhof/production/public/generated/code/Magento/Quote/Model/QuoteFactory.php(43): Magento\Framework\ObjectManager\ObjectManager->create('\\Magento\\Quote\\...', Array) #29 /var/www/html/welhof/production/public/vendor/magento/module-checkout/Model/Session.php(244): Magento\Quote\Model\QuoteFactory->create() #30 /var/www/html/welhof/production/public/generated/code/Magento/Checkout/Model/Session/Interceptor.php(63): Magento\Checkout\Model\Session->getQuote() #31 /var/www/html/welhof/production/public/vendor/mirasvit/module-event/src/Event/Event/Product/ViewEvent.php(224): Magento\Checkout\Model\Session\Interceptor->getQuote() #32 /var/www/html/welhof/production/public/vendor/mirasvit/module-event/src/Event/Event/Product/ViewEvent.php(154): Mirasvit\Event\Event\Product\ViewEvent->prepareParams(Object(Magento\Framework\App\Request\Http), NULL) #33 /var/www/html/welhof/production/public/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Mirasvit\Event\Event\Product\ViewEvent->execute(Object(Magento\Framework\Event\Observer)) #34 /var/www/html/welhof/production/public/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Mirasvit\Event\Event\Product\ViewEvent), Object(Magento\Framework\Event\Observer)) #35 /var/www/html/welhof/production/public/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #36 /var/www/html/welhof/production/public/vendor/magento/framework/App/Http.php(131): Magento\Framework\Event\Manager->dispatch('controller_fron...', Array) #37 /var/www/html/welhof/production/public/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #38 /var/www/html/welhof/production/public/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #39 /var/www/html/welhof/production/public/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #40 {main}