Author Topic: Problem with User Registration after VM update  (Read 1129 times)

Tryer

  • Jr. Member
  • **
  • Posts: 74
Problem with User Registration after VM update
« on: January 03, 2020, 21:08:24 pm »
I have just updated to Joomla 3.9.14 with PHP 7.2.25.
Having updated to the current version of VM (as above) I find that users can no longer register on my site (create a new account). When they attemp to do so, they see the following error (I have turned on debug):
 Call to a member function get() on null
/home/sites/mysite.co.uk/public_html/components/com_virtuemart/views/user/view.html.php:282
Call stack
#    Function    Location
1    ()    JROOT/components/com_virtuemart/views/user/view.html.php:282
2    VirtuemartViewUser->shopper()    JROOT/components/com_virtuemart/views/user/view.html.php:142
3    VirtuemartViewUser->display()    JROOT/components/com_virtuemart/controllers/user.php:59
4    VirtueMartControllerUser->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:710
5    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/components/com_virtuemart/virtuemart.php:120
6    require_once()    JROOT/libraries/src/Component/ComponentHelper.php:402
7    Joomla\CMS\Component\ComponentHelper::executeComponent()    JROOT/libraries/src/Component/ComponentHelper.php:377
8    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/SiteApplication.php:194
9    Joomla\CMS\Application\SiteApplication->dispatch()    JROOT/libraries/src/Application/SiteApplication.php:233
10    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:196
11    Joomla\CMS\Application\CMSApplication->execute()    JROOT/index.php:49

No errors appear in the site error log.

When clicking on "Forgot your username" users are directed to ../component/users/?view=remind&Itemid=195
When clicking on "Forgot your username" users are directed to ../component/users/?view=reset&Itemid=195
When clicking on "Create an account" users are directed to ../component/virtuemart/user?Itemid=0

If I disable all the VM component/modules/plugins, the characteristics of the error change. Users are then directed to the error 404 page.

Any ideas or suggestions would be very welome.

Thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9729
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Problem with User Registration after VM update
« Reply #1 on: January 03, 2020, 22:18:18 pm »
what version of VM?

appears to be the shopper group list function
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

Tryer

  • Jr. Member
  • **
  • Posts: 74
Re: Problem with User Registration after VM update
« Reply #2 on: January 04, 2020, 11:22:19 am »
Sorry about the omission. I have updated to VM3.6.10. Am I correct in suspecting this is a bug in the new version?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3656
  • using Matomo instead of Google Analytics
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Tryer

  • Jr. Member
  • **
  • Posts: 74
Re: Problem with User Registration after VM update
« Reply #4 on: January 05, 2020, 12:32:55 pm »
Brilliant! Problem fixed.

Thank you for your assistance.

jankoo

  • Jr. Member
  • **
  • Posts: 67
Re: Problem with User Registration after VM update
« Reply #5 on: February 29, 2020, 16:36:10 pm »
hi. i got the same error.
creating the menu item for account maintenance dont solve the issue, because on the "login page" there is a link - "Don't have an account?"

how to get this to work? all of my stores have this issue after latest update..
and will the update cover this issue too?

el_gonza

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: Problem with User Registration after VM update
« Reply #6 on: June 29, 2020, 19:16:00 pm »
Hello, sorry if I make a wrong statement or something like that, I am new in virtuemart and joomla.

I've applied this patch on my store and the user registration page started to work, but somehow the "register" button dissapeared. Maybe Im looking in the wrong file.

Updating to VirtueMart 3.8.4 didn't fix it either. This is the link to the store www.sdselectronica.com.ar

Maybe someone can help me about this? Or which file I have to change for this to start working again?