Unhandled Error!

Call to a member function get_first_available_om_value_set() on null

Document /modules/shop/classes/shop_producthelper.php
Document type PHP document
Line 43
Exception class Error

Code Highlight

				foreach ($get_options as $name=>$value)
					$result[md5($name)] = $value;
 
				return $product->normalize_posted_options($result);
			}
 
			return $product->get_first_available_om_value_set($return_first_enabled_om_record);
		}
	}
 
?>
# Call Stack Code Document Line
11 Shop_ProductHelper::get_default_options(()) /modules/cms/classes/cms_controller.php(389) : eval()'d code 1
10 eval(()) /modules/cms/classes/cms_controller.php 389
9 Cms_Controller->evalWithException(()) /modules/cms/classes/cms_controller.php 629
8 Cms_Controller->eval_page_content(()) /modules/cms/classes/cms_controller.php 202
7 Cms_Controller->open(()) /controllers/application.php 72
6 Application->On404(()) /phproad/modules/phpr/classes/phpr_controller.php 174
5 Phpr_Controller->executeAction(()) /phproad/modules/phpr/classes/phpr_controller.php 85
4 Phpr_Controller->_run(()) /phproad/modules/phpr/classes/phpr_response.php 49
3 Phpr_Response->open(()) /phproad/system/phproad.php 31
2 include('/var/www/vhosts/tradeproductsdirect.co.uk/httpdocs/phproad/system/phproad.php') /boot.php 120
1 require_once('/var/www/vhosts/tradeproductsdirect.co.uk/httpdocs/boot.php') /index.php 3