Author Topic: Call to undefined method VirtuemartViewUser::vmValidator  (Read 129 times)

barbara

  • Jr. Member
  • **
  • Posts: 142
Call to undefined method VirtuemartViewUser::vmValidator
« on: October 09, 2018, 23:24:17 pm »
just upgraded to joomla 3.8.13 / vm 3.4.2.9966

when in the cart if I go to edit the shipping / billing or add oa new I I am sent to page mywebsite.com/vm/user/editaddresscartBT where I get an error

 '0 - Call to undefined method VirtuemartViewUser::vmValidator()'

any suggestions on how I can fix this would be greatly appreciated

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8183
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Call to undefined method VirtuemartViewUser::vmValidator
« Reply #1 on: October 10, 2018, 00:21:46 am »
prob out of date template

open   templates\your template\html\com_virtuemart\user\edit_address.php

and see if you have

 vmJsApi::vmValidator();

maybe also here is   $this->vmValidator(); etc get rid of those

if template is old perhaps also u need to replace

JHtml::stylesheet ('vmpanels.css', JURI::root () . 'components/com_virtuemart/assets/css/');

with


vmJsApi::css('vmpanels');
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

barbara

  • Jr. Member
  • **
  • Posts: 142
Re: Call to undefined method VirtuemartViewUser::vmValidator
« Reply #2 on: October 10, 2018, 18:35:58 pm »
BINGO!!!!

thank you so much!

RobertL

  • Beginner
  • *
  • Posts: 44
Re: Call to undefined method VirtuemartViewUser::vmValidator
« Reply #3 on: October 11, 2018, 18:46:26 pm »
Good stuff. Just had the issue and solved in 2 minutes.

thanks