Notice: Undefined index: a1040  in /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Model/Mysql4/Url/Rewrite.php on line 140

#0 /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Model/Mysql4/Url/Rewrite.php(140): mageCoreErrorHandler(8, 'Undefined index...', '/var/www/html/b...', 140, Array)
#1 /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Model/Url/Rewrite.php(81): Mage_Core_Model_Mysql4_Url_Rewrite->loadByRequestPath(Object(Mage_Core_Model_Url_Rewrite), Array)
#2 /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Model/Url/Rewrite.php(210): Mage_Core_Model_Url_Rewrite->loadByRequestPath(Array)
#3 /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(166): Mage_Core_Model_Url_Rewrite->rewrite()
#4 /var/www/html/beermerchants.com/htdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#5 /var/www/html/beermerchants.com/htdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#6 /var/www/html/beermerchants.com/htdocs/index.php(79): Mage::run('', 'store')
#7 {main}