News:

Looking for documentation? Take a look on our wiki

Main Menu

VirtueMart 3.0.17.6 search error

Started by sandomatyas, August 31, 2016, 18:21:42 PM

Previous topic - Next topic

sandomatyas

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

Milbo

I deactivated it. The feature is at the moment only useful for String and Property customfields
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/