Hello I am using magento 2.1.7 Version web- store. Accidently I override my .htaccess file with an other .htaccess file. After this my Backend is fetching a error after login – Fatal error: Only variables can be passed by reference in /home/superadmin/public_html/vendor/magento/module-backend/view/adminhtml/templates/system/search.phtml on line 43
My .htaccess file as as follow-
# All explanations you could find in .htaccess.sample file DirectoryIndex index.php <IfModule mod_php5.c> php_value memory_limit 756M php_value max_execution_time 18000 php_flag session.auto_start off php_flag suhosin.session.cryptua off </IfModule> <IfModule mod_php7.c> php_value memory_limit 756M php_value max_execution_time 18000 php_flag session.auto_start off php_flag suhosin.session.cryptua off </IfModule> <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <IfModule mod_ssl.c> SSLOptions StdEnvVars </IfModule> <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_METHOD} ^TRAC[EK] RewriteRule .* - [L,R=405] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L] </IfModule> AddDefaultCharset Off AddType 'text/html; charset=UTF-8' html <IfModule mod_expires.c> ExpiresDefault "access plus 1 year" ExpiresByType text/html A0 ExpiresByType text/plain A0 </IfModule> RedirectMatch 403 /\.git <Files composer.json> order allow,deny deny from all </Files> <Files composer.lock> order allow,deny deny from all </Files> <Files .gitignore> order allow,deny deny from all </Files> <Files .htaccess> order allow,deny deny from all </Files> <Files .htaccess.sample> order allow,deny deny from all </Files> <Files .php_cs> order allow,deny deny from all </Files> <Files .travis.yml> order allow,deny deny from all </Files> <Files CHANGELOG.md> order allow,deny deny from all </Files> <Files CONTRIBUTING.md> order allow,deny deny from all </Files> <Files COPYING.txt> order allow,deny deny from all </Files> <Files Gruntfile.js> order allow,deny deny from all </Files> <Files LICENSE.txt> order allow,deny deny from all </Files> <Files LICENSE_AFL.txt> order allow,deny deny from all </Files> <Files nginx.conf.sample> order allow,deny deny from all </Files> <Files package.json> order allow,deny deny from all </Files> <Files php.ini.sample> order allow,deny deny from all </Files> <Files README.md> order allow,deny deny from all </Files> <Files magento_umask> order allow,deny deny from all </Files> ErrorDocument 404 /pub/errors/404.php ErrorDocument 403 /pub/errors/404.php <IfModule mod_headers.c> Header set X-UA-Compatible "IE=edge" <FilesMatch "\.(appcache|atom|bbaw|bmp|crx|css|cur|eot|f4[abpv]|flv|geojson|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|topojson|tt[cf]|txt|vcard|vcf|vtt|webapp|web[mp]|webmanifest|woff2?|xloc|xml|xpi)$ "> Header unset X-UA-Compatible </FilesMatch> </IfModule>
If anyone help me please. Thanks for your suggestion.
My Exception log is as follow [2017-12-01 11:46:54] main.CRITICAL: exception 'Magento\Framework\Exception\LocalizedException' with message 'The element 'product.info.options' already has a child with alias 'date'' in /home/superadmin/public_html/vendor/magento/framework/Data/Structure.php:611 Stack trace: #0 /home/superadmin/public_html/vendor/magento/framework/Data/Structure.php(319): Magento\Framework\Data\Structure->_insertChild('product.info.op...', 'product.info.op...', NULL, 'date') #1 /home/superadmin/public_html/vendor/magento/framework/View/Layout/ScheduledStructure/Helper.php(196): Magento\Framework\Data\Structure->setAsChild('product.info.op...', 'product.info.op...', 'date') #2 /home/superadmin/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(115): Magento\Framework\View\Layout\ScheduledStructure\Helper->scheduleElement(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Data\Structure), 'product.info.op...') #3 /home/superadmin/public_html/vendor/magento/framework/View/Layout/GeneratorPool.php(84): Magento\Framework\View\Layout\GeneratorPool->buildStructure(Object(Magento\Framework\View\Layout\ScheduledStructure), Object(Magento\Framework\View\Layout\Data\Structure)) #4 /home/superadmin/public_html/vendor/magento/framework/View/Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context)) #5 /home/superadmin/public_html/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements() #6 /home/superadmin/public_html/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements() #7 /home/superadmin/public_html/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks() #8 /home/superadmin/public_html/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks() #9 /home/superadmin/public_html/vendor/magento/framework/View/Page/Config.php(197): Magento\Framework\View\Layout\Builder->build() #10 /home/superadmin/public_html/vendor/magento/framework/View/Page/Config.php(509): Magento\Framework\View\Page\Config->build() #11 /home/superadmin/public_html/vendor/magento/framework/View/Page/Config.php(467): Magento\Framework\View\Page\Config->getElementAttribute('body', 'class') #12 /home/superadmin/public_html/vendor/magento/module-catalog/Helper/Product/View.php(159): Magento\Framework\View\Page\Config->addBodyClass('catalog-product...') #13 /home/superadmin/public_html/vendor/magento/module-catalog/Helper/Product/View.php(234): Magento\Catalog\Helper\Product\View->initProductLayout(Object(Magento\Framework\View\Result\Page\Interceptor), Object(Magento\Catalog\Model\Product\Interceptor), Object(Magento\Framework\DataObject)) #14 /home/superadmin/public_html/vendor/magento/module-catalog/Controller/Product/View.php(109): Magento\Catalog\Helper\Product\View->prepareAndRender(Object(Magento\Framework\View\Result\Page\Interceptor), 10, Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Magento\Framework\DataObject)) #15 /home/superadmin/public_html/app/code/Plazathemes/Quickview/Controller/Product/View.php(167): Magento\Catalog\Controller\Product\View->execute() #16 /home/superadmin/public_html/var/generation/Plazathemes/Quickview/Controller/Product/View/Interceptor.php(24): Plazathemes\Quickview\Controller\Product\View->execute() #17 /home/superadmin/public_html/vendor/magento/framework/App/Action/Action.php(102): Plazathemes\Quickview\Controller\Product\View\Interceptor->execute() #18 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http)) #19 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Plazathemes\Quickview\Controller\Product\View\Interceptor->___callParent('dispatch', Array) #20 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Plazathemes\Qui...', 'dispatch', Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Array, 'storeCheck') #21 /home/superadmin/public_html/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #22 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #23 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Plazathemes\Qui...', 'dispatch', Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Array, 'customer-app-ac...') #24 /home/superadmin/public_html/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #25 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #26 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Plazathemes\Qui...', 'dispatch', Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Array, 'contextPlugin') #27 /home/superadmin/public_html/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #28 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #29 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Plazathemes\Qui...', 'dispatch', Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Array, 'tax-app-action-...') #30 /home/superadmin/public_html/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #31 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #32 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Plazathemes\Qui...', 'dispatch', Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Array, 'weee-app-action...') #33 /home/superadmin/public_html/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Plazathemes\Quickview\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #34 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Plazathemes\Quickview\Controller\Product\View\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #35 /home/superadmin/public_html/var/generation/Plazathemes/Quickview/Controller/Product/View/Interceptor.php(39): Plazathemes\Quickview\Controller\Product\View\Interceptor->___callPlugins('dispatch', Array, Array) #36 /home/superadmin/public_html/vendor/magento/framework/App/FrontController.php(55): Plazathemes\Quickview\Controller\Product\View\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #37 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #38 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #39 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #40 /home/superadmin/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #41 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #42 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #43 /home/superadmin/public_html/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #44 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #45 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #46 /home/superadmin/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(68): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http)) #47 /home/superadmin/public_html/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #48 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #49 /home/superadmin/public_html/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http)) #50 /home/superadmin/public_html/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #51 /home/superadmin/public_html/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array) #52 /home/superadmin/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #53 /home/superadmin/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #54 /home/superadmin/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #55 {main} [] []