Fatal error: Uncaught Error: Call to a member function setUrl() on null in /home/resultx/public_html/app/code/local/Magestore/Giftvoucher/Block/Product/Upload.php:9 Stack trace: #0 /home/resultx/public_html/app/code/core/Mage/Core/Model/Layout.php(491): Magestore_Giftvoucher_Block_Product_Upload->__construct(Array) #1 /home/resultx/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('Magestore_Giftv...', Array) #2 /home/resultx/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('giftvoucher/pro...', 'giftcard.produc...') #3 /home/resultx/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('giftvoucher/pro...', 'giftcard.produc...') #4 /home/resultx/public_html/app/code/local/Smartwave/All/Model/Core/Layout.php(40): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element)) #5 /home/resultx/public_html/app/code/core/Mage/Core/Model/L in /home/resultx/public_html/app/code/local/Magestore/Giftvoucher/Block/Product/Upload.php on line 9