News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM 2.6.18: vmERROR: related product is missing

Started by stawebnice, November 15, 2015, 17:52:34 PM

Previous topic - Next topic

stawebnice

Hi, please advise how to remove this error from front end. I don't see it, but client does ( I suspect that only logged in admin does and on Mac, because I don't see it logged in on PC), however, there are not related products assigned and we get this on category page...

http://imtp.me/acw102lj3

GJC Web Design

#1
comes from  administrator\components\com_virtuemart\models\customfields.php line 1128

/* related */
            case 'R':
               $pModel = VmModel::getModel('product');
               $related = $pModel->getProduct((int)$value,TRUE,TRUE,TRUE,1,FALSE);
               if(!$related){
                  vmError('related product is missing, maybe unpublished '.$product->product_name.' id: '.$product->virtuemart_product_id);
                  return false;
               }
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation