Payment methods in configuration tab keep loading in Magento 1.9 - php

I'm trying to add a payment method. But after adding it I can't access the payment methods any more. I get the following errors from the log:
a:5:{i:0;s:243:"SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `core_translate`.`string`, `core_translate`.`translate` FROM `core_translate` WHERE (store_id IN (0 , :store_id)) AND (locale = :locale) ORDER BY `store_id` ASC";i:1;s:2919:"#0 /home/fitelegance/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/fitelegance/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/fitelegance/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/fitelegance/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `core_tr...', Array)
#4 /home/fitelegance/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `core_tr...', Array)
#5 /home/fitelegance/public_html/lib/Zend/Db/Adapter/Abstract.php(811): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/Resource/Translate.php(79): Zend_Db_Adapter_Abstract->fetchPairs(Object(Varien_Db_Select), Array)
#7 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/Translate.php(289): Mage_Core_Model_Resource_Translate->getTranslationArray(NULL, 'en_US')
#8 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/Translate.php(142): Mage_Core_Model_Translate->_loadDbTranslation(false)
#9 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/App/Area.php(146): Mage_Core_Model_Translate->init('adminhtml')
#10 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/App/Area.php(121): Mage_Core_Model_App_Area->_initTranslate()
#11 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/App/Area.php(93): Mage_Core_Model_App_Area->_loadPart('translate')
#12 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/App.php(789): Mage_Core_Model_App_Area->load()
#13 /home/fitelegance/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(512): Mage_Core_Model_App->loadArea('adminhtml')
#14 /home/fitelegance/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#15 /home/fitelegance/public_html/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(51): Mage_Adminhtml_Controller_Action->preDispatch()
#16 /home/fitelegance/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Adminhtml_System_ConfigController->preDispatch()
#17 /home/fitelegance/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /home/fitelegance/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /home/fitelegance/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#20 /home/fitelegance/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#21 /home/fitelegance/public_html/index.php(83): Mage::run('', 'store')
#22 {main}";s:3:"url";s:89:"/index.php/admin/system_config/edit/section/payment/key/cb234a6ffb16ee3ba89eab23539e9421/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
I removed all of the files for the payment methods but still am having the same issue. While I click on the Payment Methods tab, the browser keeps loading and creates the above errors in the log file.
Please suggest how can I solve this.

Related

Magento Source Model Not Found For attribute em_bonus

I see similar issues and work around suggestions but no luck. Following below is my code trace error while I try to open a product/add product from backend in Magento 1.9
Source model "opendealsettings/bonus" not found for attribute "em_bonus"
Trace:
#0 C:\xampp\htdocs\app\code\core\Mage\Eav\Model\Entity\Attribute\Abstract.php(388): Mage::exception('Mage_Eav', 'Source model "o...')
#1 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\Block\Widget\Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\Block\Catalog\Product\Edit\Tab\Attributes.php(70): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#3 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\Block\Widget\Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 C:\xampp\htdocs\app\code\core\Mage\Core\Block\Abstract.php(922): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\Block\Catalog\Product\Edit\Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 C:\xampp\htdocs\app\code\core\Mage\Core\Block\Abstract.php(297): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 C:\xampp\htdocs\app\code\core\Mage\Core\Model\Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 C:\xampp\htdocs\app\code\core\Mage\Core\Model\Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 C:\xampp\htdocs\app\code\core\Mage\Core\Model\Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 C:\xampp\htdocs\app\code\core\Mage\Core\Model\Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 C:\xampp\htdocs\app\code\core\Mage\Core\Model\Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 C:\xampp\htdocs\app\code\core\Mage\Core\Controller\Varien\Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#13 C:\xampp\htdocs\app\code\core\Mage\Core\Controller\Varien\Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\Controller\Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 C:\xampp\htdocs\app\code\core\Mage\Adminhtml\controllers\Catalog\ProductController.php(249): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 C:\xampp\htdocs\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 C:\xampp\htdocs\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 C:\xampp\htdocs\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 C:\xampp\htdocs\app\code\core\Mage\Core\Model\App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#20 C:\xampp\htdocs\app\Mage.php(683): Mage_Core_Model_App->run(Array)
#21 C:\xampp\htdocs\index.php(83): Mage::run('', 'store')
#22 {main}
Seem this attribute was created with an extensions that is no longer in use.
Try to delete this attribute from "Admin - Catalog - Manage Attributes". If it does not work you can create a script in magentos root with this content:
require 'app/Mage.php';
Mage::app('admin');
$setup = Mage::getModel('eav/entity_setup', 'core_setup');
$setup->startSetup();
$setup->removeAttribute('catalog_product', 'em_bonus');
$setup->endSetup();

Admin Edit single product or manage categories error

I was make last things to magento ecommerce committed by a customer of mine. I was looking in admin if all is good and I found when i click in a signle product or click in manage categories, magento crash and give me the famous "
There has been an error processing your request.
Below the full error:
a:5:{i:0;s:100:"Sorgente modello "instagramconnect/source_instagram" non trovata per l\'attributo "instagram_source"";i:1;s:3200:"#0 /Applications/MAMP/htdocs/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(390): Mage::exception('Mage_Eav', 'Sorgente modell...')
#1 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(203): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php(70): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#3 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Block/Abstract.php(922): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Block/Abstract.php(297): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#13 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 /Applications/MAMP/htdocs/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /Applications/MAMP/htdocs/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#20 /Applications/MAMP/htdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#21 /Applications/MAMP/htdocs/index.php(82): Mage::run('', 'store')
#22 {main}";s:3:"url";s:97:"/index.php/admin/catalog_product/edit/id/2809/key/f476404be4de46eba4e407d47f104f0c/css/styles.css";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
Tried to reindex all, to delete cache, but nothing changed.
Any ideas?

Apache/php return full php error track description

I'm using docker php:7.0-apache (more info in https://hub.docker.com/_/php/) and add my old php code. I'm sending the REST to the web server and got a short description in the track error info.
How could I configure the apache/php to response the whole track info and not just to replace the info with three dots ('...') as below.
Example:
REST response '500 Internal Server Error':
body:
CException
SiteController cannot find the requested view "error". (/var/www/yii-1.1.17/framework/web/CController.php:878)
#0 /var/www/yii-1.1.17/framework/web/CController.php(782): CController->renderPartial('error', Array, true)
#1 /var/www/web_project/protected/controllers/SiteController.php(45): CController->render('error', Array)
#2 /var/www/yii-1.1.17/framework/web/actions/CInlineAction.php(49): SiteController->actionError()
#3 /var/www/yii-1.1.17/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#4 /var/www/yii-1.1.17/framework/web/CController.php(286): CController->runAction(Object(CInlineAction))
#5 /var/www/yii-1.1.17/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 /var/www/yii-1.1.17/framework/web/CWebApplication.php(282): CController->run('error')
#7 /var/www/yii-1.1.17/framework/base/CErrorHandler.php(368): CWebApplication->runController('site/error')
#8 /var/www/yii-1.1.17/framework/base/CErrorHandler.php(296): CErrorHandler->renderError()
#9 /var/www/yii-1.1.17/framework/base/CErrorHandler.php(133): CErrorHandler->handleError(Object(CErrorEvent))
#10 /var/www/yii-1.1.17/framework/base/CApplication.php(834): CErrorHandler->handle(Object(CErrorEvent))
#11 /var/www/web_project/protected/modules/ioconfig/models/DeviceInstancesTbl.php(47): CApplication->handleError(2, 'Declaration of ...', '/var/www/web_pr...', 47, Array)
#12 /var/www/web_project/protected/modules/systemview/components/UnitsFactory.php(9): require_once('/var/www/web_pr...')
#13 /var/www/web_project/protected/modules/systemview/models/Units.php(13): require_once('/var/www/web_pr...')
#14 /var/www/web_project/protected/modules/systemview/components/SystemviewHelper.php(6): require_once('/var/www/web_pr...')
#15 /var/www/web_project/protected/modules/user_management/controllers/ApiUsermanagementController.php(8): require_once('/var/www/web_pr...')
#16 /var/www/yii-1.1.17/framework/web/CWebApplication.php(354): require('/var/www/web_pr...')
#17 /var/www/yii-1.1.17/framework/web/CWebApplication.php(338): CWebApplication->createController('GetGeneralInfo/', Object(User_managementModule))
#18 /var/www/yii-1.1.17/framework/web/CWebApplication.php(276): CWebApplication->createController('ApiUsermanageme...')
#19 /var/www/yii-1.1.17/framework/web/CWebApplication.php(141): CWebApplication->runController('user_management...')
#20 /var/www/yii-1.1.17/framework/base/CApplication.php(185): CWebApplication->processRequest()
#21 /var/www/web_project/index.php(13): CApplication->run()
#22 {main}
Thanks

Magento Card Payments with Paypal Pro Giving Error

When completing a card purchase I get the following error:
There was an error processing your order. Please contact us or try again later.
The Magento error log is here:
exception 'Exception' with message 'Notice: Array to string conversion in /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Api/Nvp.php on line 1060' in /home/luluinth/public_html/app/code/local/Mage/Core/functions.php:247
Stack trace:
#0 [internal function]: mageCoreErrorHandler(8, 'Array to string...', '/home/luluinth/...', 1060, Array)
#1 /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Api/Nvp.php(1060): sprintf('PayPal NVP gate...', Array, '4f0c10ba893f2', '72.0')
#2 /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Api/Nvp.php(1008): Mage_Paypal_Model_Api_Nvp->_handleCallErrors(Array)
#3 /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Api/Nvp.php(659): Mage_Paypal_Model_Api_Nvp->call('DoDirectPayment', Array)
#4 /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Direct.php(343): Mage_Paypal_Model_Api_Nvp->callDoDirectPayment()
#5 /home/luluinth/public_html/app/code/core/Mage/Paypal/Model/Direct.php(202): Mage_Paypal_Model_Direct->_placeOrder(Object(Mage_Sales_Model_Order_Payment), '12')
#6 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(443): Mage_Paypal_Model_Direct->capture(Object(Mage_Sales_Model_Order_Payment), '12')
#7 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order/Invoice.php(385): Mage_Sales_Model_Order_Payment->capture(Object(Mage_Sales_Model_Order_Invoice))
#8 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(608): Mage_Sales_Model_Order_Invoice->capture()
#9 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(410): Mage_Sales_Model_Order_Payment->_invoice()
#10 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order/Payment.php(348): Mage_Sales_Model_Order_Payment->capture(NULL)
#11 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order.php(886): Mage_Sales_Model_Order_Payment->place()
#12 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Order.php(1104): Mage_Sales_Model_Order->_placePayment()
#13 [internal function]: Mage_Sales_Model_Order->place()
#14 /home/luluinth/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#15 /home/luluinth/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#16 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#17 /home/luluinth/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#18 /home/luluinth/public_html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(785): Mage_Sales_Model_Service_Quote->submitAll()
#19 /home/luluinth/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(579): Mage_Checkout_Model_Type_Onepage->saveOrder()
#20 /home/luluinth/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_OnepageController->saveOrderAction()
#21 /home/luluinth/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#22 /home/luluinth/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#23 /home/luluinth/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#24 /home/luluinth/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#25 /home/luluinth/public_html/index.php(98): Mage::run('', 'store')
#26 {main}
You're trying to cast $value as a string for the comparison, but $value is an array. If $value has some kind of value you need in it (perhaps it's nested inside an array) for the comparison, then you must process it so that it is not array.
Go to that nvp.php file and do this before the if statement.
var_dump($value); die;
Or
Mage::log($value); // Check var/log/system.log with logging enabled
And just examine how the data is structured in $value. Make it into a string variable.
Here $value is a variable you can put the variable from the line number that exception is generated.
Check this and let me know if it works.

Magento rule_coupons.type column missing in 1.7.0.2

I have an upgraded shop from 1.6 to 1.7. When I go to try to use a coupon on the front end I get a debug email with the following information. This didnt happen when it was at 1.6. Just now after upgrade.
Has anyone seen this issue thus far?
URL: http://xxxxxxxxxx.com/checkout/cart/couponPost/
IP Address:
Time: 2012-10-09 08:04:26 GMT
Error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'rule_coupons.type' in 'where clause'
Trace:
#0 /home/hsstore/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/hsstore/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/hsstore/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/hsstore/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /home/hsstore/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /home/hsstore/public_html/lib/Zend/Db/Adapter/Abstract.php(734): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `main_ta...', Array)
#6 /home/hsstore/public_html/lib/Varien/Data/Collection/Db.php(734): Zend_Db_Adapter_Abstract->fetchAll('SELECT `main_ta...', Array)
#7 /home/hsstore/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(521): Varien_Data_Collection_Db->_fetchAll('SELECT `main_ta...', Array)
#8 /home/hsstore/public_html/lib/Varien/Data/Collection/Db.php(566): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#9 /home/hsstore/public_html/lib/Varien/Data/Collection.php(268): Varien_Data_Collection_Db->load()
#10 /home/hsstore/public_html/app/code/community/TBT/Rewards/Model/Salesrule/Observer.php(167): Varien_Data_Collection->getFirstItem()
#11 /home/hsstore/public_html/app/code/core/Mage/Core/Model/App.php(1338): TBT_Rewards_Model_Salesrule_Observer->checkRedemptionCouponBefore(Object(Varien_Event_Observer))
#12 /home/hsstore/public_html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(TBT_Rewards_Model_Salesrule_Observer), 'checkRedemption...', Object(Varien_Event_Observer))
#13 /home/hsstore/public_html/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#14 /home/hsstore/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(532): Mage::dispatchEvent('controller_acti...', Array)
#15 /home/hsstore/public_html/app/code/core/Mage/Core/Controller/Front/Action.php(64): Mage_Core_Controller_Varien_Action->preDispatch()
#16 /home/hsstore/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Core_Controller_Front_Action->preDispatch()
#17 /home/hsstore/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('couponPost')
#18 /home/hsstore/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /home/hsstore/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#20 /home/hsstore/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#21 /home/hsstore/public_html/index.php(87): Mage::run('', 'store')
#22 {main}

Categories