cancel
Showing results for 
Search instead for 
Did you mean: 

Error after update magento from 1.9.0.1 to 1.9.2.3

Error after update magento from 1.9.0.1 to 1.9.2.3

Warning: Missing argument 1 for Mage_Core_Block_Template::setTemplate() in /var/www/magento/app/code/core/Mage/Core/Block/Template.php on line 111

0 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(111): mageCoreErrorHandler(2, 'Missing argumen...', '/var/www/magent...', 111, Array)
1 [internal function]: Mage_Core_Block_Template->setTemplate()
2 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(348): call_user_func_array(Array, Array)
3 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(214): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
4 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
5 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
6 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
7 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
8 /var/www/magento/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
9 /var/www/magento/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
10 /var/www/magento/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
11 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
12 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
13 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
14 /var/www/magento/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
15 /var/www/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array)
16 /var/www/magento/index.php(83): Mage::run('', 'store')
17 {main}

I got this error after updated my magento. I have no idea why its happened. Need some help here.

1 REPLY

Re: Error after update magento from 1.9.0.1 to 1.9.2.3

 

Сделайте обновление следующим образом:

 

  1. В панели администратора на период обновления верните дефолтную тему (Система => Дизайн => default/blank);
  2. В панели администратора отключите кэш (Система => Управление кэшем) и выключите компиляцию (Система => Инструменты => Компиляция);
  3. Через  FTP в папке docs/var поставьте права 777;
  4. В Magento-Connect нажмите Check for Upgrades и обновите Mage_All_Latest;
  5. После обновления введите команду в папке docs через SSH: find . -type f -exec chmod 644 {} \;

  6. Через FTP удалите файл maintenance.flag в папке docs;

  7. В папке docs в файле .htaccess удалите строки:

    ## TRACE and TRACK HTTP methods disabled to prevent XSS attacks

     

    RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
    RewriteRule .* - [L,R=405]