ParseError: syntax error, unexpected 'return' (T_RETURN), expecting function (T_FUNCTION) or const (T_CONST) in /core/www/html/topaz.pro/app/code/Internetrama/Content/Block/Catalog/Product.php:439 Stack trace: #0 /core/www/html/topaz.pro/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/core/www/html/...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Internetrama\\Co...') #2 /core/www/html/topaz.pro/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): spl_autoload_call('Internetrama\\Co...') #3 /core/www/html/topaz.pro/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Internetrama\\Co...', Array) #4 /core/www/html/topaz.pro/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Internetrama\\Co...', Array) #5 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/BlockFactory.php(46): Magento\Framework\ObjectManager\ObjectManager->create('Internetrama\\Co...', Array) #6 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Generator/Block.php(272): Magento\Framework\View\Element\BlockFactory->createBlock('Internetrama\\Co...', Array) #7 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Generator/Block.php(252): Magento\Framework\View\Layout\Generator\Block->getBlockInstance('Internetrama\\Co...', Array) #8 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Generator/Block.php(229): Magento\Framework\View\Layout\Generator\Block->createBlock('Internetrama\\Co...', 'internetrama.co...', Array) #9 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Generator/Block.php(134): Magento\Framework\View\Layout\Generator\Block->generateBlock(Object(Magento\Framework\View\Layout\ScheduledStructure\Interceptor), Object(Magento\Framework\View\Layout\Data\Structure), 'internetrama.co...') #10 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/GeneratorPool.php(93): Magento\Framework\View\Layout\Generator\Block->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #11 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(365): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #12 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->generateElements() #13 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('generateElement...', Array) #14 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #15 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(68): Magento\Framework\View\Layout\Interceptor->___callPlugins('generateElement...', Array, Array) #16 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements() #17 /core/www/html/topaz.pro/vendor/magento/framework/View/Page/Builder.php(65): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #18 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #19 /core/www/html/topaz.pro/vendor/magento/framework/View/Page/Config.php(224): Magento\Framework\View\Layout\Builder->build() #20 /core/www/html/topaz.pro/vendor/magento/framework/View/Page/Config.php(587): Magento\Framework\View\Page\Config->build() #21 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Page/Config/Interceptor.php(248): Magento\Framework\View\Page\Config->getElementAttribute('body', 'class') #22 /core/www/html/topaz.pro/vendor/magento/framework/View/Page/Config.php(545): Magento\Framework\View\Page\Config\Interceptor->getElementAttribute('body', 'class') #23 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Page/Config/Interceptor.php(230): Magento\Framework\View\Page\Config->addBodyClass('page-products') #24 /core/www/html/topaz.pro/vendor/magento/module-catalog/Controller/Category/View.php(249): Magento\Framework\View\Page\Config\Interceptor->addBodyClass('page-products') #25 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Controller\Category\View->execute() #26 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent('execute', Array) #27 /core/www/html/topaz.pro/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}() #28 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute(Object(Magento\Catalog\Controller\Category\View\Interceptor), Object(Closure)) #29 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}() #30 /core/www/html/topaz.pro/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(23): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('execute', Array, Array) #31 /core/www/html/topaz.pro/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Category\View\Interceptor->execute() #32 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #33 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Category\View\Interceptor->___callParent('dispatch', Array) #34 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Category\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #35 /core/www/html/topaz.pro/generated/code/Magento/Catalog/Controller/Category/View/Interceptor.php(32): Magento\Catalog\Controller\Category\View\Interceptor->___callPlugins('dispatch', Array, Array) #36 /core/www/html/topaz.pro/vendor/magento/framework/App/FrontController.php(186): Magento\Catalog\Controller\Category\View\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #37 /core/www/html/topaz.pro/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Catalog\Controller\Category\View\Interceptor)) #38 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #39 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #40 /core/www/html/topaz.pro/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #41 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #42 /core/www/html/topaz.pro/vendor/amasty/aminvisiblecaptcha/Plugin/Framework/App/FrontControllerInterface/ValidateCaptcha.php(118): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #43 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(135): Amasty\InvisibleCaptcha\Plugin\Framework\App\FrontControllerInterface\ValidateCaptcha->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #44 /core/www/html/topaz.pro/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #45 /core/www/html/topaz.pro/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)) #46 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #47 /core/www/html/topaz.pro/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #48 /core/www/html/topaz.pro/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #49 /core/www/html/topaz.pro/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #50 /core/www/html/topaz.pro/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #51 {main}