VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sandomatyas on August 31, 2016, 18:21:42 PM

Title: VirtueMart 3.0.17.6 search error
Post by: sandomatyas on August 31, 2016, 18:21:42 PM
I installed Joomla 3.6.2 and VirtueMart 3.0.17.6
When I tried to search I got this error message:
Fatal error: Call to a member function loadAssocList() on a non-object in /web/belnatur/teszt/components/com_virtuemart/views/category/view.html.php on line 489
I checked the source code:
$db->setQuery('SELECT `custom_value` as virtuemart_custom_id,`custom_value` as custom_title FROM `#__virtuemart_product_customfields` WHERE virtuemart_custom_id='.$selected->virtuemart_custom_id);
$valueOptions= $this->_db->loadAssocList();

But VM uses $db there instead $this->_db

Also noticed that the custom_value field isn't available in #__virtuemart_product_customfields table
Title: Re: VirtueMart 3.0.17.6 search error
Post by: Milbo on September 01, 2016, 14:36:41 PM
I deactivated it. The feature is at the moment only useful for String and Property customfields