Warning: date() expects parameter 2 to be long, string given  in /var/www/html/mgs/demo2/app/design/frontend/default/default/template/imagespromotion/view.phtml on line 53

#0 [internal function]: mageCoreErrorHandler(2, 'date() expects ...', '/var/www/html/m...', 53, Array)
#1 /var/www/html/mgs/demo2/app/design/frontend/default/default/template/imagespromotion/view.phtml(53): date('Y-m-d H:i:s', '')
#2 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/m...')
#3 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/defaul...')
#4 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Abstract.php(867): Mage_Core_Block_Template->_toHtml()
#6 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#7 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Abstract.php(867): Mage_Core_Block_Text_List->_toHtml()
#8 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Abstract.php(586): Mage_Core_Block_Abstract->toHtml()
#9 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Abstract.php(530): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#10 /var/www/html/mgs/demo2/app/design/frontend/base/default/template/page/1column.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content')
#11 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/html/m...')
#12 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...')
#13 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#14 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Block/Abstract.php(867): Mage_Core_Block_Template->_toHtml()
#15 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#16 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#17 /var/www/html/mgs/demo2/app/code/local/MGS/Imagespromotion/controllers/IndexController.php(52): Mage_Core_Controller_Varien_Action->renderLayout()
#18 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Action.php(419): MGS_Imagespromotion_IndexController->viewAction()
#19 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#20 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#21 /var/www/html/mgs/demo2/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#22 /var/www/html/mgs/demo2/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#23 /var/www/html/mgs/demo2/index.php(87): Mage::run('', 'store')
#24 {main}