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.php(797): Magento\Framework\View\Layout\Generator\Block->createBlock('Internetrama\\Co...', 'catalog\\product...', Array) #9 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(780): Magento\Framework\View\Layout->_createBlock('Internetrama\\Co...', 'catalog\\product...', Array) #10 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(248): Magento\Framework\View\Layout->createBlock('Internetrama\\Co...', 'catalog\\product...', Array) #11 /core/www/html/topaz.pro/app/code/Internetrama/Theme/Block/Catalog/ProductSuggestions.php(78): Magento\Framework\View\Layout\Interceptor->createBlock('Internetrama\\Co...') #12 /core/www/html/topaz.pro/app/design/frontend/Internetrama/theme/Magento_Catalog/templates/product/view/product-suggestions.phtml(11): Internetrama\Theme\Block\Catalog\ProductSuggestions->getProductBlocks(Object(Magento\Catalog\Model\Category\Interceptor), 12) #13 /core/www/html/topaz.pro/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/core/www/html/...') #14 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Internetrama\Theme\Block\Catalog\ProductSuggestions), '/core/www/html/...', Array) #15 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #16 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Internetrama\Theme\Block\Catalog\ProductSuggestions), '/core/www/html/...', Array) #17 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #18 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Internetrama\Theme\Block\Catalog\ProductSuggestions), '/core/www/html/...', Array) #19 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/core/www/html/...') #20 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #21 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #22 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #23 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml() #24 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('product.bottom....') #25 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('product.bottom....') #26 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.bottom....') #27 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('product.bottom....', true) #28 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(526): Magento\Framework\View\Layout\Interceptor->renderElement('product.bottom....', true) #29 /core/www/html/topaz.pro/app/design/frontend/Internetrama/theme/Magento_Catalog/templates/product/view/product-container.phtml(2): Magento\Framework\View\Element\AbstractBlock->getChildHtml() #30 /core/www/html/topaz.pro/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/core/www/html/...') #31 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Internetrama\Theme\Block\Catalog\Product), '/core/www/html/...', Array) #32 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent('render', Array) #33 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception\{closure}(Object(Internetrama\Theme\Block\Catalog\Product), '/core/www/html/...', Array) #34 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins('render', Array, Array) #35 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php\Interceptor->render(Object(Internetrama\Theme\Block\Catalog\Product), '/core/www/html/...', Array) #36 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView('/core/www/html/...') #37 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #38 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #39 /core/www/html/topaz.pro/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #40 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(578): Magento\Framework\View\Element\AbstractBlock->toHtml() #41 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock('product.main.co...') #42 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('product.main.co...') #43 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.main.co...') #44 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('product.main.co...', false) #45 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('product.main.co...', false) #46 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('content', false) #47 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('content') #48 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') #49 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('content', false) #50 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('content', false) #51 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main', false) #52 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('main') #53 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') #54 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('main', false) #55 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('main', false) #56 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('columns', false) #57 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('columns') #58 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') #59 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('columns', false) #60 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) #61 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('main.content', false) #62 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #63 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') #64 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('main.content', false) #65 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) #66 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #67 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #68 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') #69 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #70 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) #71 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer('root', false) #72 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement('root') #73 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') #74 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement('root', true) #75 /core/www/html/topaz.pro/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement('root') #76 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #77 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #78 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #79 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #80 /core/www/html/topaz.pro/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #81 /core/www/html/topaz.pro/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #82 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #83 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #84 /core/www/html/topaz.pro/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #85 /core/www/html/topaz.pro/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(95): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #86 /core/www/html/topaz.pro/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #87 /core/www/html/topaz.pro/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->launch() #88 /core/www/html/topaz.pro/pub/index.php(29): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #89 {main}